Momchilos
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2020
09:45 AM
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?!
1 REPLY 1


Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021
08:27 AM
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.