iOS: Choosing specific Closed Captions EIA-608
<p>There is lot of mystery around CC608 usage under iOS.</p>

<p>Apple's <a href="https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html" rel="noreferrer">UsingHLS</a> offers to declare them in the manifest like this:</p>

<pre><code>#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,GROUP-ID="cc",NAME="CC1",LANGUAGE="en",DEFAULT=YES,AUTOSELECT=YES,INSTREAM-ID="CC1"
#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,GROUP-ID="cc",NAME="CC2",LANGUAGE="sp",AUTOSELECT=YES,INSTREAM-ID="CC2"
#EXT-X-STREAM-INF:BANDWIDTH=1000000,SUBTITLES="subs",CLOSED-CAPTIONS="cc" x.m3u8
</code></pre>

<p>But Apple's <a href="https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8" rel="noreferrer">official sample stream</a> do include CC608 embedded into the MPEG, and still they didn't list them in their manifest!</p>

<p>On that sample stream, I can turn CC608 <strong>on</strong> using <strong>closedCaptionDisplayEnabled=YES</strong>, but this method does not allow selection of a specific language.</p>

<p>In Apple's dev forum I have found <a href="https://forums.developer.apple.com/thread/19976" rel="noreferrer">this question</a> with a promising answer:</p>

<blockquote>
  <p>Are you still calling "player?.closedCaptionDisplayEnabled=true"?</p>
  
  <p>There's no need to do that.   If you author your HLS playlist properly
  with the appropriate language tags, the user can enable captions in
  the language of their choice, or disable them completely as well.</p>
</blockquote>

<p>I was failing to find API in iOS which will allow me to:</p>

<ol>
<li>Read the list of available CC608 streams</li>
<li>Activate CC for a specific language</li>
</ol>

<p>Would appreciate your help with this! </p>