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: 
bosborne
Visitor

Download segment event, event type 31

I noticed this event type, which appears with message "Download segment info" and includes an associative array with data like this:

---- AA ----
Sequence: 84812
Status: 0
SegBitrate: 0
DownloadDuration: 5
SegUrl: ***obfuscated***
SegSize: 3597380
BufferSize: 67108864
BufferLevel: 18627040
SegType: 0
------------

I guess this is fired every time the Roku has finished downloading a segment. This seems to pair nicely with isStreamSegmentInfo() which is fired when the player begins playback of a specific segment.

I'm wondering when this will be added to the documentation and if it can be relied upon (meaning, it won't be removed from the API or something in the future). I'm not really sure what the units are for many of those numbers or what some of the keys mean, like Status.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.