Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
sujithdb
Level 7

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
Highlighted
sujithdb
Level 7

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
Level 9

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

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