Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cdkelly
Level 8

Finding Current Bitrate On HLS

When playing m3u8 HLS content with the SwitchingStrategy set to full-adaptaion, I know I should only specify 1 StreamURL and set the StreamBitrate to 0 so the player can pick the appropriate stream based on connection speeds.

My question is how can I tell what the bitrate is of the currently playing stream? Also, how can I tell when the bitrate switches due to connection speed changes?

Thank you for any help.
0 Kudos
1 REPLY 1\
RokuMarkn
Level 8

Re: Finding Current Bitrate On HLS

See the isStreamSegmentInfo event documented in roVideoPlayerEvent.

--Mark
0 Kudos