Has anyone run in to this?
This question is for a non-scenegraph application. We have VOD content with embedded captions and server side ads stitched in. So far so good.
Recently we integrated Roku Ad Framework. Now thew captions fail to render. None of the caption logic was touched with the RAF integration. The roImageCanvas instance we provide in SetCaptionScreen is visible on screen during playback, it’s the same instance we draw the scrubber in.
Here’s a summary of our code to generate captions:
videoScreen = CreateObject("roVideoScreen")
uiScreen = CreateObject("roImageCanvas")
CaptionRenderer = videoScreen.GetCaptionRenderer()
CaptionRenderer.ShowSubtitle(true)
videoScreen.SetMode(1)
videoScreen.SetCaptionScreen(uiScreen)
I narrowed it down to one thing. If I comment out the stitchedAdHandledEvent call in the video loop, captions work as expected.
Is this a known issue with RAF and SSAI? Is there something I missed in the integration docs?
In what format are the captions? EIA-608 embedded in H.264 user data? WebVTT or TTML?
EIA-608 embedded in HLS. We opened a ticket, #3971. Thanks!
We have preroll, so I can’t speak to what happens before an ad is rendered.
During ads I never see captions, though I cannot guarantee they should be present.
During content the captions do not render at all.
Did you guys make any over-the-air changes to the RAF library? Suddenly captions work again. I have not touched our code (been working on another branch).
The plot thickens… captions started to work after scrubbing. But once we exit a midroll pod, they are gone again.
I am going to abandon this thread and keep communicating with you guys through our open ticket. Once we find a resolution I’ll update this thread.