[Webkit-unassigned] [Bug 185948] [GStreamer] Handle changes in the "drm-preferred-decryption-system-id" NEED_CONTEXT message.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 25 09:13:38 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185948
--- Comment #13 from Yacine Bandou <bandou.yacine at gmail.com> ---
> (In reply to Yacine Bandou from comment #8)
> > IMHO, we don't need to use
> > "gst_protection_filter_systems_by_available_decryptors" when we dispatch the
> > GstContext, we simply send all the systemIDs present in the media to the
> > application and let it select any systemID, the application know if this
> > system is supported or not.
>
> The thing is that maybe in WebKit we know but it might not be the case in
> other apps, I think it makes the API sensibly simpler to use.
This API simply used in order to set the "protection-system" field in padsrc caps of qtdemux.
There are 3 cases :
1.The application knows the supported systems.
2.The application doesn't know.
3.The application doesn't respond to the GstContext.
For 1 and 3 there is no problem to dispatch all systemIds, no change.
For 2 the risk that we can set caps with a default systemID which isn't supported, but in this case the pipeline send an error that no plugin supports these caps and I don't see the problem with this behavior.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180525/ca73b924/attachment.html>
More information about the webkit-unassigned
mailing list