shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Out of band subtitles support #108

Closed jgongo closed 4 years ago

jgongo commented 4 years ago

I can see you have a method addTextTrack in the original Javascript Shaka Player to provide out of band subtitles (subtitles not included in the MPD itself), but you only have a (NSArray<ShakaTrack *> *)getTextTracks method in the embedded player.

Is there any way to provide out of band subtitles to the embedded player? If not, will this be supported in the 1.0 release?

TheModMaker commented 4 years ago

We could expose that method. It should work the same as other captions, so I think the only thing that needs to be done is to wire the Objective-C/C++ method to the JavaScript method.