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: 
siftikha
Visitor

[SOLVED] Inconsistent playback failure

I have a roku app playing videos over dash with playready drm. The playback works about 90% of the time, but the 10% of the time it fails with the message 

"An unexpected problem (but not server timeout or HTTP error) has been detected."

The error code is "-3"

The non deterministic nature of the error makes me think it isn't an error with the video encoding or anything like that. Do any of you have any recommendations for troubleshooting this error?
0 Kudos
2 REPLIES 2
siftikha
Visitor

Re: Inconsistent playback failure

I added an additional "print m.videoPlayer.completedStreamInfo" in my error logging and the issue, which had persisted for several days, stopped happening entirely. I remove it and it starts happening again. Excellent developer experience.
0 Kudos
tim_beynart
Channel Surfer

Re: [SOLVED] Inconsistent playback failure

Your logging "fix" is unreal! I wonder if that works in a production channel.
It is very difficult to get any useful diagnostics for video failures. For example, one issue was our segment requests were returning HTTP 403 errors, but Roku surfaces it as that useless -3 error code. Only by sniffing packets with Wireshark and Charles are we able to figure out what is broken.  Without external tools it would be impossible to figure out what was wrong.
Good luck.
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.