This article describes how to set/ switch subtitles on when casting to Chromecast device.

Get Subtitles

Make sure you impliment KCastProviderDelegate

To get subtitles dictionary you should impliment the following delegate method:

- (void)castProvider:(KCastProvider *)provider availableTextTracks:(NSDictionary *)subtitles {
    // here you get subtitles

Set/ Switch Subtitle

To set/ switch chosen subtitle from your menu on Chromecast device please use:

[_player.castProvider switchTextTrack:{selected_index}];