Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DadOfTwo
Visitor

StreamInfo streamBitrate is not valid for ABR or hardcoded?

Hi all

Our Roku SG application is using a Smooth Streaming manifest file with 8 video profiles to populate the Video node.

When I query the streamInfo Object on the Video object (live or VOD) the streamInfo.measuredBitrate is valid and is changing whenever a new manifest/ video is loaded however when querying streamInfo.streamBitrate it's always the same value: 128000. This is the case when connecting to known slow networks (500Kbps) via wifi or Ethernet or 80Mbps networks. And throttling network speed via Mac's Link conditioner or Wondershaper on a Linux box has no impact on the streamBitrate value.

Also our manifest file does not contain that bitrate.

Profile 8 6780 1920x1080p/50 
Profile 7 4988 1280x720p/50 
Profile 6 3000 1280x720p/25 
Profile 5 1380 960x540p/25 
Profile 4 672 704x396p/25 
Profile 3 448 512x288p/25 
Profile 2 288 384x216p/25 
Profile 1 112 192x108p/25

Is this a known issue? Aside from baking in each Profiles bitrate into the video is there a way to determine the current Bitrate when playing out a multibitrate manifest?


Thanks

Charlie
0 Kudos
1 REPLY 1
DadOfTwo
Visitor

Re: StreamInfo streamBitrate is not valid for ABR or hardcoded?

Found the answer for this. 

For DASH and HLS you need to use the streamingSegment object to determine the currently playing video asset's bitrate from the Manifest file.

To test this you can point your video contentNode.url to "http://playready.directtaps.net/smoothstreaming/SSWSS720H264PR/SuperSpeedway_720.ism/Manifest"

More public Smooth streaming manifest playlists here: http://playready.directtaps.net/smoothstreaming/ 
0 Kudos