Forum Discussion

sujithdb's avatar
sujithdb
Visitor
7 years ago

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.

2 Replies

  • 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.
  • Are you reinitialising the player/RAF everytime for every video?