Roku Developer Program

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

Unexpected Event Type 20

I just tried to make a custom channel for home use and got this from the Debug panel:

showHomeScreen | msg = Stream started. | index = 3
Unexpected event type: 20
showHomeScreen | msg = An unexpected problem (but not server timeout or HTTP error) has been detected. | index = -3
Video request failure: -3 0
showHomeScreen | msg = | index = 0
Screen closed
Button pressed: 2 0
Screen closed
list item updated | new show = 0
showPosterScreen | msg = | index = 0
showPosterScreen | msg = | index = 0
Note: GC - Found 13 orphaned objects (objects in a circular ref loop).

I thought it might be related to the way I encoded the video. The video is a news stream online that I saved using VLC Player. This is the Code information that VLC gives me when I play the video:

Stream 0
Type: Audio
Codec: MPEG Audio Layer 1/2/3 (mpga)
Language: Francais
Channels: Stereo
Sample rate: 44100 Hz
Bitrate: 128 kb/s

Stream 1
Type: Video
Codex: H264 - MPEG-4 AVC (part 10) (avc1)
Language: Francais
Resolution: 640x360
Frame rate: 24.991397
Decoded format: Planar 4:2:0 YUV

The Input bitrate from VLC says it's 1245 kb/s
content bitrate is 1062 kb/s

Can someone point me in the right direction?

Thank you!!
0 Kudos
Roku Employee
Roku Employee

Re: Unexpected Event Type 20

What firmware is you device running? Firmware 3.x devices won't play video with mp3 audio tracks, only AAC audio.

- Joel
0 Kudos
Level 7

Re: Unexpected Event Type 20

Thanks RokuJoel!

That was the problem. I tested by playing some MP4 files from YouTube and they were working so I reconverted my captured stream. Works perfectly now! Thank you for the tip!
0 Kudos