Closed Caption on Brightscript

Hello! Does anybody know how to create a Roku channel using Brightscript and how to add subtitles (closed caption) in format SRT?

I’ve been trying to learn how to Roku won’t show, they don’t have any sample.

I need help.

Thanks!