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

RAF.err handleAdError(); render failure 0: failed to create media player

Hello,

I am implementing RAF [using this sample: https://github.com/rokudev/SceneGraphDeveloperExtensions/tree/master/samples/Roku_Recommends]. When playing back to back videos automatically, I am randomly getting the following error and then the video does NOT appear.

[RAF] showAds(): rendering preroll pod of 1 ads
[RAF] render.renderTypeChanged("client-inserted")
[RAF.err] handleAdError(); render failure 0: failed to create media player


Any help on fixing this is really appreciated.

Thanks.
0 Kudos
2 REPLIES 2
sujithdb
Visitor

Re: RAF.err handleAdError(); render failure 0: failed to create media player

Update:
I noticed that when you are playing a group of videos (example Comedy category where each video play one after the other), the error happens ONLY for the first video. There would be sound, but no visuals. If we just press BACK in remote and play again, it will work perfectly for the entire group of videos along with showing the Ads before each video.
0 Kudos
gomad
Roku Guru

Re: RAF.err handleAdError(); render failure 0: failed to create media player

Are you reinitialising the player/RAF everytime for every video?
0 Kudos