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: 
Momchilos
Newbie

RAF ad events - How to properly handle RAF ad events in channel.

Can anyone show me example how to properly handle Ad events triggered by RAF? ieg. how to pass evtType and ctx to the rest of the app?!

0 Kudos
1 REPLY 1
RokuJonathanD
Community Moderator
Community Moderator

Re: RAF ad events - How to properly handle RAF ad events in channel.

Hi @Momchilos,

You can take a look at our Master Sample channel on GitHub for a great example of how to integrate RAF in your channel. The sample is here: https://github.com/rokudev/scenegraph-master-sample/tree/master/VideoAds. This sample uses client-side ad stitching for the implementation. 

You can also look at samples demonstrating how to implement RAF via client-side ad insertion (CSAI) and server-side ad insertion (SSAI) implementations here: https://github.com/rokudev/samples/tree/master/advertising.

 

 

 

0 Kudos