[Webkit-unassigned] [Bug 180083] [EME] Add support of multi keys from different sessions in CDMinstanceClearKey
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 30 02:09:11 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=180083
--- Comment #3 from Yacine Bandou <bandou.yacine at gmail.com> ---
(In reply to Xabier Rodríguez Calvar from comment #2)
> Comment on attachment 327753 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=327753&action=review
>
> I think in this case we would be duplicating the keys so I'd suggest
> checking for the keys to be inside the Vector before adding a new one.
>
I agree
> Another issue I see is that a little bit below, the vector is cleared and
> probably we don't want to clear the keys that are still associated with a
> session. I think this logic is flawed and needs more work.
>
I'll check
> Maybe Žan can correct me if I am wrong.
>
> > Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp:545
> > + for (auto& key : keyVector)
> > + m_keys.append(key);
>
> If you wanted to do this, which I don't think is what I'd really want, you
> could use appendVector.
--
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/20171130/7e9e267b/attachment-0001.html>
More information about the webkit-unassigned
mailing list