Closed
Bug 1176989
Opened 10 years ago
Closed 10 years ago
New MSE doesn't handle changing encryption keys.
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
4.42 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
The MediaFormatReader handles EME keys during the ReadMetadata() ; however, with MSE multiple init segment may be found in the TrackBuffer.
We need to handle all keys for each init segment and fire the associated encrypted event.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Assignee | ||
Updated•10 years ago
|
Summary: New MSE doesn't handle changing encryption key. → New MSE doesn't handle changing encryption keys.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8625586 -
Flags: review?(cpearce)
Comment 2•10 years ago
|
||
Comment on attachment 8625586 [details] [diff] [review]
Inform MediaSourceDecoder about new encryption keys inside TrackBuffersManager.
Review of attachment 8625586 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/mediasource/TrackBuffersManager.cpp
@@ +1016,5 @@
> }
> #endif // MOZ_EME
> info.mCrypto = *crypto;
> + // We clear our crypto init data array, so the MediaFormatReader will
> + // not emit the encrypted event again.
// not emit an encrypted event for the same init data again.
Attachment #8625586 -
Flags: review?(cpearce) → review+
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•