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?!

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.