jeremyk
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014
09:30 PM
Trying to understand HLS
We are making the switch from multi-bitrate MP4s to HLS and have all the content ready, but trying to understand the code change in our XML structure. Currently we use the following:
Is the Roku capable of parsing out the variable rates from the HLS much like iOS and Android? Meaning can we just pass it one streamURL and no Bitrates? Something like the following?
Any help is appreciated. Thanks in advance!
<contentQuality>HD</contentQuality>
<media>
<streamFormat>hls</streamFormat>
<streamQuality>HD</streamQuality>
<streamBitrate>3000</streamBitrate>
<streamUrl>http://www.ourserver.com/somevideo_3000.mp4</streamUrl>
</media>
<media>
<streamFormat>hls</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate>1800</streamBitrate>
<streamUrl>http://www.ourserver.com/somevideo_1800.mp4</streamUrl>
</media>
...etc
Is the Roku capable of parsing out the variable rates from the HLS much like iOS and Android? Meaning can we just pass it one streamURL and no Bitrates? Something like the following?
<contentQuality>HD</contentQuality>
<media>
<streamFormat>hls</streamFormat>
<streamUrl>http://www.ourserver.com/somevideo-playlist.m3u8</streamUrl>
</media>
Any help is appreciated. Thanks in advance!
2 REPLIES 2


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2014
09:27 AM
Re: Trying to understand HLS
"jeremyk" wrote:
Is the Roku capable of parsing out the variable rates from the HLS much like iOS and Android? Meaning can we just pass it one streamURL and no Bitrates? Something like the following?
Yes, you should always pass exactly one URL for HLS video. If the content has multiple variants, they should be defined in the HLS manifest, not in the content-meta-data.
jeremyk
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2014
08:53 PM
Re: Trying to understand HLS
Turned out we just needed to pull <streamFormat>hls</streamFormat> out of the <media> block and it worked. Thanks for the help!