dandev
10 years agoVisitor
Avoiding HLS bitrate streams that are > 1080p?
Hi,
I'm working with HLS streams that have bitrate streams with 2k and 4k resolutions. On the Roku 3, if there's enough bandwidth, it will try to play these streams and since its max resolution is 1080p, it displays a bunch of digital noise.
My current solution for avoiding this is to set the content's MaxBandwidth var to be low enough to not hit the >1080p streams, however the BANDWIDTH settings are different for each video I play, so I'll probably hit an edge case one day that screws up the playback again.
Is there another solution for this? The .m3u8 files I'm working with do have the RESOLUTION set for each bitrate stream, but I'd like to avoid writing a separate parser. Note that setting SetMaxVideoDecodeResolution on the video player does not work.
Cheers,
dandev
I'm working with HLS streams that have bitrate streams with 2k and 4k resolutions. On the Roku 3, if there's enough bandwidth, it will try to play these streams and since its max resolution is 1080p, it displays a bunch of digital noise.
My current solution for avoiding this is to set the content's MaxBandwidth var to be low enough to not hit the >1080p streams, however the BANDWIDTH settings are different for each video I play, so I'll probably hit an edge case one day that screws up the playback again.
Is there another solution for this? The .m3u8 files I'm working with do have the RESOLUTION set for each bitrate stream, but I'd like to avoid writing a separate parser. Note that setting SetMaxVideoDecodeResolution on the video player does not work.
Cheers,
dandev