How do I know if my media is random access?

John Zukowski

You can get the SourceStream associated with the DataSource and ask for its seek type via getSeekType(). This will return one of NOT_SEEKABLE, RANDOM_ACCESSIBLE, or SEEKABLE_TO_START.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.