I'm working on a series of new video apps. I've gotten apps published for tvos and fire tv already. I'm now working on a roku app. I having some serious troubles getting captions to work.
Here is a sample of the hls m3u8 manifest provided via the vimeo api.
#EXTM3U
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",LANGUAGE="en",URI="https://23vod-adaptive.akamaized.net/exp=1586693300~acl=%2F3087ab46-6b6c-4036-aec5-d4dd842d34b6%2F%2A~hmac=aed7871b0420cda85a78d85d52d6eada329c247a353debc93310efcef8b60cfe/3087ab46-6b6c-4036-aec5-d4dd842d34b6/subtitles/7773237/playlist.m3u8?d=1849.514325",CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound",AUTOSELECT=YES,DEFAULT=NO
#EXT-X-STREAM-INF:SUBTITLES="subs",BANDWIDTH=383441,AVERAGE-BANDWIDTH=247000,RESOLUTION=426x240,FRAME-RATE=29.970,CODECS="avc1.640015,mp4a.40.2"
https://23vod-adaptive.akamaized.net/exp=1586693300~acl=%2F3087ab46-6b6c-4036-aec5-d4dd842d34b6%2F%2A~hmac=aed7871b0420cda85a78d85d52d6eada329c247a353debc93310efcef8b60cfe/3087ab46-6b6c-4036-aec5-d4dd842d34b6/video/c3144fe6/playlist.m3u8
#EXT-X-STREAM-INF:SUBTITLES="subs",BANDWIDTH=1635802,AVERAGE-BANDWIDTH=1002000,RESOLUTION=960x540,FRAME-RATE=29.970,CODECS="avc1.64001F,mp4a.40.2"
https://23vod-adaptive.akamaized.net/exp=1586693300~acl=%2F3087ab46-6b6c-4036-aec5-d4dd842d34b6%2F%2A~hmac=aed7871b0420cda85a78d85d52d6eada329c247a353debc93310efcef8b60cfe/3087ab46-6b6c-4036-aec5-d4dd842d34b6/video/420e95f2/playlist.m3u8
#EXT-X-STREAM-INF:SUBTITLES="subs",BANDWIDTH=695885,AVERAGE-BANDWIDTH=510000,RESOLUTION=640x360,FRAME-RATE=29.970,CODECS="avc1.64001E,mp4a.40.2"
https://23vod-adaptive.akamaized.net/exp=1586693300~acl=%2F3087ab46-6b6c-4036-aec5-d4dd842d34b6%2F%2A~hmac=aed7871b0420cda85a78d85d52d6eada329c247a353debc93310efcef8b60cfe/3087ab46-6b6c-4036-aec5-d4dd842d34b6/video/4998870b/playlist.m3u8
#EXT-X-STREAM-INF:SUBTITLES="subs",BANDWIDTH=2905149,AVERAGE-BANDWIDTH=1764000,RESOLUTION=1280x720,FRAME-RATE=29.970,CODECS="avc1.640020,mp4a.40.2"
https://23vod-adaptive.akamaized.net/exp=1586693300~acl=%2F3087ab46-6b6c-4036-aec5-d4dd842d34b6%2F%2A~hmac=aed7871b0420cda85a78d85d52d6eada329c247a353debc93310efcef8b60cfe/3087ab46-6b6c-4036-aec5-d4dd842d34b6/video/56edefd3/playlist.m3u8
I've looked at the documentation and added to the subtitleconfig object under tracknames: "webvtt/1". I know this is working because the video node has subtitleTrack: "webvtt/1" property and this is what I get when querying available tracks:
detected subtitle tracks <Component: roAssociativeArray> =
{
Description: ""
Language: "eng"
TrackName: "webvtt/1"
}
However nothing shows up on screen. Global settings are set to always on.
I notice vimeo does not support captions in their roku app, so I don't know if there's some incompatibility with the way they add captions.
Can anyone provide some insight.
Thanks.
Update April 22, 2020:
I don't know if an update go pushed out, but it started working out of the blue. Didn't need to specify subtitleconfig either.