Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Issue 1825763002: media: Enable Unified Media Pipeline for MSE and EME on Android (Closed)

Created:
4 years, 9 months ago by xhwang
Modified:
4 years, 2 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gavinp+loader_chromium.org, gasubic, jam, Nate Chapin, loading-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, nasko+codewatch_chromium.org, philipj_slow, sandersd (OOO until July 31), nessy, Tima Vaisburd, tyoshino+watch_chromium.org, vcarbune.chromium, wolenetz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Enable Unified Media Pipeline for MSE and EME on Android Enables Mojo Media on Android to support EME in the unified media pipeline. This introduces MojoCdm, MojoAudioDecoder and encrytped stream support in AndroidVideoDecodeAccelerator. This CL also enables MSE in the unified media pipeline. The fallback logic for MSE (IsUnifiedMediaPipelineEnabledForMse()) is removed. Also partially reverts f92f4e5c849c028db73fbe06912685a77b978ee4 which added "LoadType" in createMediaPlayer() to implement the fallback logic for MSE. BUG=455905, 521731 TEST=Encrypted audio/video plays in default Chrome for Android build with and without unified media pipeline. Committed: https://crrev.com/92d0fffc36695c099005bf05862145a89d918f28 Cr-Commit-Position: refs/heads/master@{#383331}

Patch Set 1 #

Total comments: 20

Patch Set 2 : comments addressed #

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -60 lines) Patch
M content/renderer/render_frame_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 7 chunks +37 lines, -25 lines 0 comments Download
M media/base/media.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M media/base/media.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
M media/filters/stream_parser_factory.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/media_options.gni View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 3 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
xhwang
This will wait until timav@ land his CL and we finish a thorough test. But ...
4 years, 9 months ago (2016-03-23 16:35:55 UTC) #2
DaleCurtis
\o/ -- lgtm https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode763 content/renderer/render_frame_impl.cc:763: bool UseWebMediaPlayerImpl(const GURL& url) { I ...
4 years, 9 months ago (2016-03-23 17:51:54 UTC) #3
Tima Vaisburd
https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode5906 content/renderer/render_frame_impl.cc:5906: if (media::IsMojoCdmEnabled()) { It looks like if ENABLE_MOJO_CDM is ...
4 years, 9 months ago (2016-03-23 19:27:53 UTC) #5
xhwang
https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode5906 content/renderer/render_frame_impl.cc:5906: if (media::IsMojoCdmEnabled()) { On 2016/03/23 19:27:52, Tima Vaisburd wrote: ...
4 years, 9 months ago (2016-03-23 20:44:06 UTC) #6
ddorwin
https://codereview.chromium.org/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode769 content/renderer/render_frame_impl.cc:769: // software and hardware decoders are not available. s/hardware/platform/ ...
4 years, 9 months ago (2016-03-24 18:05:11 UTC) #7
DaleCurtis
https://codereview.chromium.org/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode774 content/renderer/render_frame_impl.cc:774: } On 2016/03/24 at 18:05:11, ddorwin wrote: > On ...
4 years, 9 months ago (2016-03-24 18:09:10 UTC) #8
xhwang
Thanks! PTAL again! https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode763 content/renderer/render_frame_impl.cc:763: bool UseWebMediaPlayerImpl(const GURL& url) { On ...
4 years, 9 months ago (2016-03-24 21:26:04 UTC) #9
ddorwin
LGTM. Note that this CL means that the unified pipeline must be enabled/disabled for all ...
4 years, 9 months ago (2016-03-24 21:43:50 UTC) #10
wolenetz
lgtm !! To David's point, with this CL, if we need to differentiate unified EME/MSE ...
4 years, 9 months ago (2016-03-24 22:16:26 UTC) #12
xhwang
https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://chromiumcodereview.appspot.com/1825763002/diff/1/content/renderer/render_frame_impl.cc#newcode774 content/renderer/render_frame_impl.cc:774: } > Unencrypted or Clear Key AAC does not ...
4 years, 9 months ago (2016-03-24 22:37:23 UTC) #13
xhwang
pfeldman@chromium.org: Please OWNERS review changes in content/renderer and third_party/WebKit.
4 years, 9 months ago (2016-03-24 22:39:14 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825763002/20001
4 years, 9 months ago (2016-03-25 08:41:43 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/40901)
4 years, 9 months ago (2016-03-25 09:23:48 UTC) #20
pfeldman
lgtm
4 years, 9 months ago (2016-03-25 17:48:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825763002/40001
4 years, 9 months ago (2016-03-25 17:52:37 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-25 19:32:30 UTC) #26
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/92d0fffc36695c099005bf05862145a89d918f28 Cr-Commit-Position: refs/heads/master@{#383331}
4 years, 9 months ago (2016-03-25 19:38:51 UTC) #28
gone
A revert of this CL (patchset #3 id:40001) has been created in https://chromiumcodereview.appspot.com/1840563002/ by dfalcantara@chromium.org. ...
4 years, 9 months ago (2016-03-25 23:43:15 UTC) #29
aayron003
4 years, 2 months ago (2016-10-02 11:40:36 UTC) #31
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698