saravenkat
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011
06:17 AM
Setting up initial buffer for HLS Stream
I can see that generally the content meta data "StreamBitrates" is usually set to 0 for hls for adaptive bitrate switching. but is there any way I can actually set through brightscript an initial buffer of say, 10 seconds before the video starts playing for a HLS stream?
3 REPLIES 3

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2011
04:35 PM
Re: Setting up initial buffer for HLS Stream
There is no way for you to specify the buffer time. However, if you know what the highest bitrate in your HLS variant list is, you could set it to that. This is currently required as a workaround for a Roku bug if the highest bitrate is less than 1.5 Mbps.
--Kevin
--Kevin
saravenkat
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011
11:52 PM
Re: Setting up initial buffer for HLS Stream
Sorry for asking this elementary question, but how will one know the max bitrate in the HLS list of streams?
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2011
01:47 AM
Re: Setting up initial buffer for HLS Stream
I use mediainfo to figure out what the bitrate of a video is. http://mediainfo.sourceforge.net/en
In their sample picture the bitrate is 1852. Most video encoders (if you encode it yourself) allow you to specify what bitrate the finished file should be.
In their sample picture the bitrate is 1852. Most video encoders (if you encode it yourself) allow you to specify what bitrate the finished file should be.