title: Localized Video Resources in HTTP Live Streaming
body: <p>I'm trying to create a VOD using HTTP Live Streaming technology. Everything works fine so far <strong>except delivering localized video resources</strong>.</p>
  <p>I want to show a (powerpoint) presentation (as video) via HTTP Live Streaming. The <strong>slides are available in English and German</strong>. Their is also an audio part available in English and German.</p>
  <p>For testing purposes I've embedded this in a simple web page and tried to view it on my iPhone and this works, <strong>except switching (or show by default) the correct language of video</strong>. I'm only able to switch the audio resource to German. (German as my default iPhone language is also not detected.)</p>
  <p>I've read almost the whole draft on HTTP Live Streaming but their is no information about that if it should work and I'm doing something wrong or if this shouldn't work. In paragraph <a href="https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-11#section-3.4.10" rel="nofollow noreferrer">3.4.10 and 3.4.10.1</a> there is something written about multiple groups and it seems that i can apply the LANGUAGE key to the VIDEO resource. (Usually it should also be possible to provide multiple video streams for different camera angles for instance, so why not for different languages)</p>
  <p>So now here is my <code>*.m3u8</code> master playlist file:</p>
  <pre><code>#EXTM3U
  #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=&quot;audio-all&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/audio/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=&quot;audio-all&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/audio/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-low&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/low/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-low&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/low/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-medium&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/medium/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-medium&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/medium/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-high&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/high/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-high&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/high/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-720p&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/720p/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-720p&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/720p/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-1080p&quot;,LANGUAGE=&quot;en&quot;,NAME=&quot;English&quot;,AUTOSELECT=YES,URI=&quot;en/1080p/prog_index.m3u8&quot;
  #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=&quot;video-1080p&quot;,LANGUAGE=&quot;de&quot;,NAME=&quot;German&quot;,AUTOSELECT=YES,URI=&quot;de/1080p/prog_index.m3u8&quot;
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=128000,CODECS=&quot;mp4a.40.2&quot;,AUDIO=&quot;audio-all&quot;
  de/audio/prog_index.m3u8
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=660000,CODECS=&quot;mp4a.40.2,avc1.42e015&quot;,AUDIO=&quot;audio-all&quot;,VIDEO=&quot;video-low&quot;
  de/low/prog_index.m3u8
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000,CODECS=&quot;mp4a.40.2,avc1.42e01e&quot;,AUDIO=&quot;audio-all&quot;,VIDEO=&quot;video-medium&quot;
  de/medium/prog_index.m3u8
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1070000,CODECS=&quot;mp4a.40.2,avc1.4d401f&quot;,AUDIO=&quot;audio-all&quot;,VIDEO=&quot;video-high&quot;
  de/high/prog_index.m3u8
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1728000,CODECS=&quot;mp4a.40.2,avc1.4d401f&quot;,AUDIO=&quot;audio-all&quot;,VIDEO=&quot;video-720p&quot;
  de/720p/prog_index.m3u8
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3300000,CODECS=&quot;mp4a.40.2,avc1.4d4029&quot;,AUDIO=&quot;audio-all&quot;,VIDEO=&quot;video-1080p&quot;
  de/1080p/prog_index.m3u8
  </code></pre>
  <p>According to the draft and the docs of Apple it should be possible to provide multiple video streams.</p>
  <p>I also removed the LANGUAGE keys and tried to  do it as in <a href="https://developer.apple.com/library/ios/#technotes/tn2288/_index.html#//apple_ref/doc/uid/DTS40012238-CH1-SOURCECODE13" rel="nofollow noreferrer">this example from Apple</a>. But i'm also not able to choose different video streams.</p>
  <ol>
  <li>What am i doing wrong?</li>
  <li>Is it possible to provide multiple streams related to the language? (As possible with AUDIO and SUBTITLE)</li>
  </ol>