unDEFER
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011
06:06 AM
roVideoPlayer and GetInfo() for it's events
Hello!
I use roVideoPlayer to get more flexible control to it's interface, and I want also display dots as in roVideoScreen to show quality of selected stream for adaptive bitrate.
According to SDK there must be "Stream Started" event with Info field with necessary information. But this event never occurs.
And even if I try to use the event handler like this:
So, how I can to get bitrate of selected stream?
I use roVideoPlayer to get more flexible control to it's interface, and I want also display dots as in roVideoScreen to show quality of selected stream for adaptive bitrate.
According to SDK there must be "Stream Started" event with Info field with necessary information. But this event never occurs.
And even if I try to use the event handler like this:
There never occurs events with not invalid info field.
while true
msg = wait(interval, port)
while msg <> invalid
if type(msg) = "roVideoPlayerEvent" then
info = msg.GetInfo()
if info <> invalid
videoBitrate = info.StreamBitrate
print "Bitrate: " + Stri(videoBitrate) + "; Event: " + msg.GetType() + "; msg: " + msg.GetMessage()
end if
end if
end while
end while
So, how I can to get bitrate of selected stream?
1 REPLY 1

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011
03:49 PM
Re: roVideoPlayer and GetInfo() for it's events
I've confirmed we don't seem to be firing the StreamStarted event. Thanks for the bug report.
--Kevin
--Kevin