selectSubtitleTrack

open override fun selectSubtitleTrack(track: SubtitleTrack?)

Selects the subtitle track to use.

To change subtitles on the fly, if the video is playing, we save the current position, force the pipeline to READY state, update the source and the flag, then switch back to PLAYING. A Timer then triggers a seek to the saved position.

For local subtitles, the path is converted to a file URI.