title: Live playlist, must #EXT-X-TARGETDURATION and #EXTINF be equal?
body: <p>I have this m3u8 file. #EXT-X-TARGETDURATION is 8. the #EXTINF of first segment is 6. When the avplayer switched to this m3u8, it gave the following error.</p>
  
  <blockquote>
    <p>Error Domain=CoreMediaErrorDomain Code=-12312 \"Media Entry time value
    does not match previous playlist for MEDIA-SEQUENCE 477000: 8.000000
    vs 6.000000\" UserInfo={NSDescription=Media Entry time value does not
    match previous playlist for MEDIA-SEQUENCE 477000: 8.000000 vs
    6.000000}"</p>
  </blockquote>
  
  <pre><code> #EXTM3U
   #EXT-X-MEDIA-SEQUENCE:477000
  #EXT-X-ALLOW-CACHE:NO
      #EXT-X-VERSION:2
      #EXT-X-FAXS-CM:URI="xxxxxxxx"
      #EXT-X-KEY:METHOD=xxxxxxx
      #EXT-X-TARGETDURATION:8
      #EXTINF:6,
      477000.ts
      #EXTINF:8,
      477001.ts
      #EXTINF:8,
      477002.ts
      #EXTINF:8,
      477003.ts
      #EXTINF:8,
      477004.ts
      #EXTINF:8,
      477005.ts
      #EXTINF:8,
      477006.ts
  </code></pre>
  
  <p>The question is
           in a live playlist, must #EXT-X-TARGETDURATION and #EXTINF of each segment be equal?! I can't find any document from Apple to define this rule. In this document, <a href="https://developer.apple.com/library/ios/technotes/tn2288/_index.html" rel="nofollow">https://developer.apple.com/library/ios/technotes/tn2288/_index.html</a><br>
      the Lie Playlist sample, they are all same.</p>