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: 
vjani
Visitor

roCaptionRenderer bug in Roku 4

On Roku 4, TTML based captions have stopped showing in my app. The same code works fine on the older Rokus(e.g. 1, 2, 3, stick)

I use the roImageCanvas approach to display captions in my app using mode 1:

m.captions = m.player.getCaptionRenderer()
m.captions.setMode(1)
m.captions.setScreen(m.canvas)
m.captions.setMessagePort(m.port)
m.captions.ShowSubtitle(true)


The content metadata for the video has the SubtitleConfig set up as this:

{
Stream: {URL: "<hls video url>"},
SubtitleConfig: {TrackName: "<ttml url>"},
StreamFormat: "hls"
}


Is this a known issue? I am seeing this with firmware version 7.0, build 8792
The Rokus where this works are having the version 7.0, build 9021. This works fine with version 6.2 as well.
0 Kudos
4 REPLIES 4
vjani
Visitor

Re: roCaptionRenderer bug in Roku 4

Anybody else seeing this issue?
0 Kudos
vjani
Visitor

Re: roCaptionRenderer bug in Roku 4

Realized that this happens on 1080p/4k display modes only on Roku 4. Works fine on 720p display mode. Anybody have any ideas?
0 Kudos
RokuJoel
Binge Watcher

Re: roCaptionRenderer bug in Roku 4

What is the firmware release and build on your Roku 4?

- Joel
0 Kudos
vjani
Visitor

Re: roCaptionRenderer bug in Roku 4

Thanks, @RokuJoel for finally replying! Firmware version is 7.0 and build version is 8901.

Thanks,
Vivek
0 Kudos