Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
pmpascua
Level 7

How to validate if close caption is available in a content

Hi,

I have a dash + playready contents, both VOD and LIVE, that is claimed to contain close caption tracks and is apparently showing on Android and Web but not on Roku. I am using the Video Scene Graph node for playing these contents. Is there a way to validate if close caption is working on Roku? If not, how to troubleshoot it?

Note this is when close caption options is always on but no subtitle tracks 
0 Kudos
1 Reply
tim_beynart
Level 7

Re: How to validate if close caption is available in a content

Are they embedded captions? You have to explicitly point the Roku to the captions track when you set the content node, for example:
  videoContent = createObject("RoSGNode", "ContentNode")
  videoContent.url = my_media_url
  videoContent.streamformat = "hls"
  videoContent.SubtitleConfig = {TrackName:"eia608/1"}
  m.videoplayer.content = videoContent
0 Kudos