I try to show subtitle in dash stream with webvtt, but failed.
I have set captionMode to "On" and can get available subtitle by availableSubtitleTracks field.
But, No matter I set by subtitleTrack field, or by remote controller(according to https://developer.roku.com/en-gb/docs/developer-program/media-playback/closed-caption.md), subtitle not shown.
Below is test stream I used from dash.js(http://reference.dashif.org/dash.js/latest/samples/captioning/multi-track-captions.html) :
Below are fields I got from player node:
Thanks,
Klaus
I tried that stream and just enabled captions using the remote while the stream was playing and I got captions. Are you getting captions on any videos in any channels?
Yes, I can see and control caption by merely changing streamFormat to hls and using url below.
I know why this stream not show subtitle.
Subtitle content only exist on the front part of stream.
I have another question, If the subtitle content can't get from server(for example, baseUrl in mpd is not right or resource on server is remove). Would it show any error message?