[wmfme] fix issues for connecting CDM to the media engine
Categories
(Core :: Audio/Video: Playback, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(4 files)
MFMediaEngineStream::IsEncrypted() didn't return the correct result, because we didn't serialize the crypto information. This bug will fix some issues related with that.
| Assignee | ||
Comment 1•2 years ago
|
||
This patch makes MFMediaEngineStream::IsEncrypted() return correct
result by checking the serialized crypto information.
| Assignee | ||
Comment 2•2 years ago
|
||
Once we set the media source to the media engine, if it's an encrypted
content, MFMediaSource::GetInputTrustAuthority will be called by the
media engine.
There is no return code [1] indicating the CDM proxy would be set later,
so we can't set the source too early. Otherwise, media engine would
treat an encrypted content as a clear content, which results in errors.
Depends on D172486
| Assignee | ||
Comment 3•2 years ago
|
||
The ctor for the nsTArray only sets the capacity, not size, so we need
to set it explicitly.
Depends on D172487
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D172488
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
•
|
||
Backed out 4 changesets (Bug 1821803) for build bustages on MFMediaEngineParent.cpp.
Backout link
Push with failures <--> B
Failure Log
Comment 9•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/33243f7459b8
https://hg.mozilla.org/mozilla-central/rev/e30242a2764c
https://hg.mozilla.org/mozilla-central/rev/05ff31b997f9
https://hg.mozilla.org/mozilla-central/rev/51fc535f06ec
Description
•