<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Audio HLS + WebVTT player error"
   href="https://bugs.webkit.org/show_bug.cgi?id=160959">160959</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Audio HLS + WebVTT player error
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>OS X 10.11
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>francesco.dambrosio&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=286370" name="attach_286370" title="player error">attachment 286370</a> <a href="attachment.cgi?id=286370&amp;action=edit" title="player error">[details]</a></span>
player error

We have a problem with audio files streamed by Wowza 4 using HLS protocol, when we add VTT file. It doesn't works with Safari on Mac and iOS. 
The file is an .m4a with aac codec. 

1. create html page with video tag, add HLS with m4a source
2. add crossorigin=&quot;anonymous&quot; properties
3. add track tag with vtt file
demo: <a href="http://www.fdambrosio.net/test/player7/safari-bug.html">http://www.fdambrosio.net/test/player7/safari-bug.html</a>

We expect that it play audio with subtitles control button but player return &quot;error&quot; message, don't play audio and don't show subtitles. There's no error on Safari Console. 

Tested with: 
latest webKit release (11601.6.17, r204592) and Safari 9.1.1 on OSX 10.11.5
Safari on iOS 9.3.4 (iPhone 5S / iPhone6S)

Note: there's no issue using HLS stream with mp4 video file and vtt. Problem occurs only with audio HLS stream.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>