greengiant83
14 years agoVisitor
Selecting proper stream from .m3u8
I have video's being hosted on Brightcove. For any given video that provide a master m3u8 playlist pointing to multiple streams of different bandwidths. If I point the roku to this playlist directly, it just takes the first stream in the playlist and plays it. In my case this is a problem because the first stream in the list happens to be the lowest bandwidth stream and it looks terrible on a HD screen. Is there a way to have the Roku choose the right stream?
In the event that isn't possible, I have begun parsing the playlist and pulling out the individual streams and populating the episode object's StreamUrls, StreamQualities ("HD" or "SD"), and StreamBitrates. The problem is that when I give the roku (hooked up to an HD TV via HDMI) an episode with an HD stream and a SD stream, it shows the SD feed instead of the HD one. Why is this?
How can I make the Roku play the appropriate stream?
In the event that isn't possible, I have begun parsing the playlist and pulling out the individual streams and populating the episode object's StreamUrls, StreamQualities ("HD" or "SD"), and StreamBitrates. The problem is that when I give the roku (hooked up to an HD TV via HDMI) an episode with an HD stream and a SD stream, it shows the SD feed instead of the HD one. Why is this?
How can I make the Roku play the appropriate stream?