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: 
piyushg098
Channel Surfer

Closed caption not appearing on Roku


  1. We are developing a client application which has live linear stream. Now this stream has embedded captions for some specific content stream, ie not all video inside this live linear stream has captions only specific ones. The subtitles are webvtt.

  2. When playing this video on Roku, I am not able to show captions. Client confirmed that captions play on Android and iOS.

  3. To test whether there's any implementation problem, I checked with this dummy link from Kaltura
http://cdnbakmi.kaltura.com/p/243342/sp/24334200/playManifest/entryId/0_uka1msg4/flavorIds/1_vqhfu6uy,1_80sohj7p/format/applehttp/protocol/http/a.m3u8


this when played on Roku, shows captions. In total this video has 7 captions and all of them are visible in track listing on Roku
I am using Video node to play video.


clientVideoContent = {
            streamFormat: "hls",
            description: mediaModel.metaModel.description,
            title: mediaModel.metaModel.name,
            url:  clientVideoURL
         }


    4.  I create this content and assign it to video node.
  1. The client also provided us with their dummy link for VOD content. That specific VOD, when played on Roku, was also showing captions. 

  2. Throughout my testing, my code implementation was same. No changes.

  3. I suppose we don't have to handle captioning for embedded streams in Roku for Video node?

  4. If so, please recommend what additional steps have to be taken!

  5. In regards to this link from forum: https://forums.roku.com/viewtopic.php?f ... tt#p547811
0 Kudos
1 REPLY 1
balbant
Streaming Star

Re: Closed caption not appearing on Roku

You might need to set the subtitle config. Try this
subtitleConfig = {
                 trackName: "eia608/1"
            }

 https://stackoverflow.com/questions/43372244/how-to-display-closed-caption-in-roku
0 Kudos