Closed
Bug 1314530
Opened 9 years ago
Closed 9 years ago
[EME][Fennec] Instantiate MediaDrmCDMProxy and pass MediaPrefs::PDMAndroidRemoteCodecEnabled() to MediaCDMProxy to determine RemoteMediaDrmBridge or LocalMediaDrmBridge
Categories
(Firefox for Android Graveyard :: Audio/Video, defect, P2)
Firefox for Android Graveyard
Audio/Video
Tracking
(firefox52 fixed)
RESOLVED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: JamesCheng, Unassigned)
References
Details
Attachments
(3 files)
Once bug 1306196, bug 1306185, bug 1306572 got landed, we need to create the MediaDrmBrige instance by the preference to determine it is oop case or non-oop case.
Reporter | ||
Updated•9 years ago
|
Summary: Instantiate RemoteMediaDrmBridge or LocalMediaDrmBridge by MediaPrefs::PDMAndroidRemoteCodecEnabled() → [EME][Fennec] Instantiate RemoteMediaDrmBridge or LocalMediaDrmBridge by MediaPrefs::PDMAndroidRemoteCodecEnabled()
Updated•9 years ago
|
Priority: -- → P2
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Updated•9 years ago
|
Attachment #8808039 -
Flags: review?(cpearce)
Attachment #8808040 -
Flags: review?(cpearce)
Attachment #8808041 -
Flags: review?(cpearce)
Reporter | ||
Updated•9 years ago
|
Summary: [EME][Fennec] Instantiate RemoteMediaDrmBridge or LocalMediaDrmBridge by MediaPrefs::PDMAndroidRemoteCodecEnabled() → [EME][Fennec] Instantiate MediaDrmCDMProxy and pass MediaPrefs::PDMAndroidRemoteCodecEnabled() to MediaCDMProxy to determine RemoteMediaDrmBridge or LocalMediaDrmBridge
Reporter | ||
Comment 4•9 years ago
|
||
Try result attached:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4a8d5dd05e00
Comment 5•9 years ago
|
||
mozreview-review |
Comment on attachment 8808040 [details]
Bug 1314530 Part2 - Add isRemote flag to MediaDrmProxy::Create function to determine if it is oop case.
https://reviewboard.mozilla.org/r/90964/#review90720
::: mobile/android/base/java/org/mozilla/gecko/media/MediaDrmProxy.java:253
(Diff revision 1)
>
> @WrapForJNI(calledFrom = "gecko")
> public static MediaDrmProxy create(String keySystem,
> - Callbacks nativeCallbacks) {
> + Callbacks nativeCallbacks,
> + boolean isRemote) {
> + // TODO: Bug 1307818 wiil implement the instantiate logic by the isRemote flag
1) s/wiil/will
2) (Maybe) rephrase it to
TODO: Will implement {Local,Remote}MediaDrmBridge instantiation by '''isRemote''' flag in Bug XXX.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•9 years ago
|
||
mozreview-review |
Comment on attachment 8808039 [details]
Bug 1314530 Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore.
https://reviewboard.mozilla.org/r/90962/#review90970
Attachment #8808039 -
Flags: review?(cpearce) → review+
Comment 9•9 years ago
|
||
mozreview-review |
Comment on attachment 8808040 [details]
Bug 1314530 Part2 - Add isRemote flag to MediaDrmProxy::Create function to determine if it is oop case.
https://reviewboard.mozilla.org/r/90964/#review90972
Attachment #8808040 -
Flags: review?(cpearce) → review+
Comment 10•9 years ago
|
||
mozreview-review |
Comment on attachment 8808041 [details]
Bug 1314530 Part3 - Instantiate MediaDrmCDMProxy if it is widevine on fennec.
https://reviewboard.mozilla.org/r/90966/#review90974
::: dom/media/eme/MediaKeys.h:137
(Diff revision 2)
> bool IsBoundToMediaElement() const;
>
> private:
>
> + // Instantiate CDMProxy instance.
> + // It could be MediaDrmCDMProxy(Widevine on Fennec) or GMPCDMProxy(the rest).
s/GMPCDMProxy(the rest)/GMPCDMProxy (the rest)/
::: dom/media/eme/MediaKeys.cpp:344
(Diff revision 2)
> + mConfig.mDistinctiveIdentifier == MediaKeysRequirement::Required,
> + mConfig.mPersistentState == MediaKeysRequirement::Required);
> + } else
> +#endif
> + {
> + proxy= new GMPCDMProxy(this,
s/proxy=/proxy =/
Attachment #8808041 -
Flags: review?(cpearce) → review+
Comment hidden (mozreview-request) |
Comment 13•9 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3879ad77bbcf
Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore. r=cpearce
https://hg.mozilla.org/integration/autoland/rev/13f6bd96aa78
Part2 - Add isRemote flag to MediaDrmProxy::Create function to determine if it is oop case. r=cpearce
https://hg.mozilla.org/integration/autoland/rev/971aaa1646ed
Part3 - Instantiate MediaDrmCDMProxy if it is widevine on fennec. r=cpearce
Keywords: checkin-needed
Comment 14•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3879ad77bbcf
https://hg.mozilla.org/mozilla-central/rev/13f6bd96aa78
https://hg.mozilla.org/mozilla-central/rev/971aaa1646ed
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•