HI all - I'm implementing closed captioning in my app, but they're appearing in the middle of the screen. I don't see an obvious way with the roVideoScreen to position the captions. Here's my code:
subtitle_config = {
TrackName: episode.ccURL
}
metadata = {
Stream: {
Url: episode.stream
},
StreamFormat: "hls",
SubtitleConfig: subtitle_config
}
screen.SetContent(metadata)
The captions are TTML and include the following:
<layout>
<region xml:id="subtitleArea" style="s1" tts:extent="560px 62px" tts:padding="5px 3px" tts:backgroundColor="black" tts:displayAlign="after"/>
</layout>
So there's nothing in there about positioning. Any advice is appreciated. Thanks!