<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 - [EME][GStreamer] Add a handler for GStreamer protection event"
   href="https://bugs.webkit.org/show_bug.cgi?id=185245">185245</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[EME][GStreamer] Add a handler for GStreamer protection event
          </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>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Media Elements
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned@lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bandou.yacine@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>calvaris@igalia.com, olivier.blin@softathome.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Qtdemux send the protection event when encountered a new PSSH box (encrypted content).

The Decryptor is moved from AppendPipeline to PlaybackPipeline (see <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [EME][GStreamer] Move the decryptor from AppendPipeline to PlaybackPipeline."
   href="show_bug.cgi?id=181855">https://bugs.webkit.org/show_bug.cgi?id=181855</a>),
thus the protection event is no longer handled because the Decryptor is not in the same pipeline as qtdemux.

AppendPipeline: httpsrc-->qtdemux-->appsink
PlaybackPipeline: appsrc-->parser--> decryptor-->decoder-->sink

In order to handle the event we should dispatch the event from the AppendPipeline to the application.
For that we need this patch in GStreamer (gst-plugins-base) <a href="https://bugzilla.gnome.org/show_bug.cgi?id=785531">https://bugzilla.gnome.org/show_bug.cgi?id=785531</a></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>