- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edit: Ignore this one since it has been flagged as having a solution.
In the VideoAds sample here, video ads are successfully displayed, however at the end of the Ad the content does not start playing. Nothing was changed to the workspace outside of providing a launch.json file to run it from VS Code.
From what we observed, the ad starts playing when PlayerTask.brs calls
keepPlay = RAF.renderStitchedStream(csasStream, parentNode)
but the function call never returns so it doesn't continue on in the while loop.
Here is the end part of the VS Code output window if it helps:
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are posting this on the user side of the forum. You should instead post on the developer's side of the house. Look at the options higher up on the page and you will see the selection for Developers over on the right end.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee, just another user.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are posting this on the user side of the forum. You should instead post on the developer's side of the house. Look at the options higher up on the page and you will see the selection for Developers over on the right end.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee, just another user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RAF.renderStitchedStream() not returning in scenegraph-master-sample/VideoAds
Well look at that. Thanks for calling this out. Link to Developer's post here.