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: 
EnTerr
Roku Guru

Re: How can a channel cause Roku to crash?

"scorpiontahir02" wrote:
@ EnTerr:
I have had exceptions in my apps before but these unhandled exceptions always were shown on telnet session and just the application crashed not the whole Roku restarted. So can you please elaborate about what exceptions you are exactly talking about? And when we are not handling an event, it just does nothing and is wasted but how does it cause Roku to crash?

I am not sure how to elaborate further. Does a hands-on example like this viewtopic.php?f=34&t=69434 help?
It is just that Roku VM is not 100% rock solid, fact of life. I am reminded of a case over a dozen years ago, we were working on some web app, using J2EE container - and after running for a long time (hours), the Sun Java VM will just poop and die. With a C++ stack trace in the logs, mind you - not Java exception. Nothing we could do (i am not sure if Sun even had way for public to report bugs then) but prepare for it.
0 Kudos

Re: How can a channel cause Roku to crash?

"RokuJoel" wrote:
Have you used ifVideoPlayer.SetMaxVideoDecodeResolution?

- Joel


Yes I have used this.

I tested it with different devices and found that it is varying device to device. Here is the result after testing on different devices:

Roku 1 (An older device): Playing everything fine (even some 1080p videos which i suppose it should not play as on all other devices 1080p videos are skipped due to use with 2d api)
Roku 1 (A newer device): Crashes at random videos (after trying to load them for quiet a time that seems to be 10 minute)
Roku Streaming Stick: Same behaviour as Roku 1 (A newer device)
Roku 2: Works perfectly fine (although 1080p videos are skipped)

So why same application is behaving differently on different devices?
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.