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: 

Unexpected Event Type 20

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

ButtonPressed
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
2 REPLIES 2
RokuJoel
Binge Watcher

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

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
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.