Requesting Sample code for rendering subtitles (TTML)

Hi,

We are using Dash and HLS video protocols, as we see from “https://sdkdocs.roku.com/display/sdkdoc/Closed+Caption+Support#ClosedCaptionSupport-ClosedCaptionSupportSummary” , the subtitles need to provide externally.

We are using screen graph video element. Requesting for sample code for rendering TTML subtitles in video element of screen graph

Thanks and Regards
BHARATH SN

my sample code

<?xml version = "1.0" encoding = "utf-8" ?>