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: 
Tasevski
Binge Watcher

CSAS - Recover playback after malformed ad

It seems that sometimes the stream fails to reinitialize/recover after an error happens while trying to play an ad from the ad pod. When this happens, the video seems to be stuck and the user can only close the app. Is there any way that we can detect and do something to recover the playback from an error?

[RAF.err] renderStitchedStream(): error-ignored event received in ad
[RAF.err] handleAdError(); render failure -5: Media error; the media format is unknown or unsupported
*** tracking event Error fired.
*****   Error message: Problem displaying MediaFile
*****  Ad Index: 1
*****  Ad Title: In-Stream Video
*** tracking event AdStateChange fired.
*****  Ad Index: 1
*****  Ad Title: In-Stream Video
[RAF.err] renderStitchedStream(): error-ignored - unexpected event: "buffering"
*** tracking event AdStateChange fired.
*****  Ad Index: 1
*****  Ad Title: In-Stream Video
[RAF.err] renderStitchedStream(): error-ignored event received in ad
[RAF.err] handleAdError(); render failure -5: Media error; the media format is unknown or unsupported
*** tracking event Error fired.
*****   Error message: Problem displaying MediaFile
*****  Ad Index: 1
*****  Ad Title: In-Stream Video
*** tracking event AdStateChange fired.
*****  Ad Index: 1
*****  Ad Title: In-Stream Video
Tags (2)
0 Kudos