Mime type for stream URL - Android


I’m currently working on chromecast functionality for my Twitch Android app.
When I feed a VideoView a HSL URL I got from a stream, it loads and shows perfectly, but when I feed the same URL to my cast manager for my Chromecast to load, it fails.

I suspect that I am specifying the wrong mime type.

I should also mention that when I give the castmanager an URL for another .m3u8 file(http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8) and specify the mime type “application/x-mpegURL”, then it works perfectly.

So my question is: What Mime type should I use with a HSL URL for a stream?

Sorry if what I am writing is unclear, english is not my native language.

You’re not legally allowed to build players for Twitch, so you will not receive help doing that. Read the API terms of service for more information: http://www.twitch.tv/user/legal?page=api_terms_of_service

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.