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.

About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.