selina_lai
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2013
12:27 AM
unexpected event (message type 31) in roVideoScreenEvent
Hi,
I set up a video player channel (modified from videoplayer example codes) and have a web site streaming video via hls
the streaming url is like http://server.com/?video=xxx&audio=xxx&stream=xxx
But when I press 'play' I got the messages below and the video is not playing. It got stuck at retrieving black screen.
The message 1 is caught by msg.isStreamStarted() and after waiting for a while message 2 appears 'unexpected event type'
Can anyone point out what may cause the problem? Thanks a lot.
1.
'msg.isStreamStarted
showVideoScreen | msg = Stream started. | index = 0
Stream Started: 0 StreamBitrate: 0
MeasuredBitrate: 54258
Url: http://server.com/?video=xxx&audio=xxx&stream=xxx
IsUnderrun: false
2.
showVideoScreen | msg = Download segment info | index = 0
Unexpected event type: 31 getinfo: Sequence: 0
Status: 0
DownloadDuration: 1
SegUrl: http://server.com/?video=xxx&audio=xxx&stream=xxx
SegSize: 236
BufferSize: 67108864
BufferLevel: 236
I set up a video player channel (modified from videoplayer example codes) and have a web site streaming video via hls
the streaming url is like http://server.com/?video=xxx&audio=xxx&stream=xxx
But when I press 'play' I got the messages below and the video is not playing. It got stuck at retrieving black screen.
The message 1 is caught by msg.isStreamStarted() and after waiting for a while message 2 appears 'unexpected event type'
Can anyone point out what may cause the problem? Thanks a lot.
1.
'msg.isStreamStarted
showVideoScreen | msg = Stream started. | index = 0
Stream Started: 0 StreamBitrate: 0
MeasuredBitrate: 54258
Url: http://server.com/?video=xxx&audio=xxx&stream=xxx
IsUnderrun: false
2.
showVideoScreen | msg = Download segment info | index = 0
Unexpected event type: 31 getinfo: Sequence: 0
Status: 0
DownloadDuration: 1
SegUrl: http://server.com/?video=xxx&audio=xxx&stream=xxx
SegSize: 236
BufferSize: 67108864
BufferLevel: 236
1 REPLY 1

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2013
12:57 AM
Re: unexpected event (message type 31) in roVideoScreenEvent
Message type 31 isn't an error. It's a new event that was added in the latest firmware. isDownloadSegmentInfo(), I believe. Double check your code to make sure it's not dying if it receives an event it's not expecting, because if you're getting those two events, that would suggest that it's playing back fine.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)