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

Issue 1486623004: MediaStreamRecorder: enable in Android (including linking libwebm) (Closed)

Created:
5 years ago by mcasas
Modified:
5 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, esprehn, Miguel Garcia
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaStreamRecorder: enable in Android (including linking libwebm) This follows a conversation in the Intent-To-Ship [1]. The added code means: - third_party/libwebm - media::WebmMuxer - content::AudioTrackRecorder - content::VideoTrackRecorder - content::MediaRecorderHandler. third_party/libwebm size: 10154B Increase in ChromePublic-unsigned.apk: 54673026 - 54651438 = 21588B ~= 21KB ----- Note: Modified code in webm_muxer.cc due to complaint from arm-linux-androideabi-4.9: ../../media/capture/webm_muxer.cc:49:76: error: array subscript is above array bounds [-Werror=array-bounds] kOpusVorbisChannelMap[params.channels() - 1], params.channels()); ------ BUG=262211, 561068 TEST=Same as for desktop platform: https://rawgit.com/Miguelao/demos/master/mediarecorder.html Results of running it can be found under [2] and [3] [1] https://groups.google.com/a/chromium.org/d/msg/blink-dev/76HB0BIxk_o/LtZYZWvVBQAJ [2] https://drive.google.com/file/d/0B82Jhdx0kSTVS3E4bFZwZUxSSTQ/view?usp=sharing [3] https://drive.google.com/file/d/0B82Jhdx0kSTVM3lfR2N0RFlwNzg/view?usp=sharing Committed: https://crrev.com/f683b07078e7fba476ef33625b0b41fd6161772c Cr-Commit-Position: refs/heads/master@{#362536}

Patch Set 1 #

Patch Set 2 : Rewritten code in webm_muxer.cc:WriteOpusHeader() #

Patch Set 3 : Connect RendererBlinkPlatformImpl::createMediaRecorderHandler() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -73 lines) Patch
M content/content_renderer.gypi View 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +0 lines, -8 lines 0 comments Download
M content/renderer/media/media_recorder_handler.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 chunk +1 line, -4 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/BUILD.gn View 8 chunks +5 lines, -19 lines 0 comments Download
M media/capture/webm_muxer.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M media/media.gyp View 6 chunks +5 lines, -26 lines 0 comments Download
M media/media_options.gni View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
mcasas
dalecurtis@ PTAL (plz see for context the linked Intent To Ship) CC: esprehn@, miguelg@ and ...
5 years ago (2015-12-01 01:19:42 UTC) #11
DaleCurtis
Presumably this is all still behind a runtime flag? As I don't see any approvals ...
5 years ago (2015-12-01 01:23:57 UTC) #12
mcasas
On 2015/12/01 01:23:57, DaleCurtis wrote: > Presumably this is all still behind a runtime flag? ...
5 years ago (2015-12-01 01:29:09 UTC) #13
DaleCurtis
I don't think that's how this works :) Can you confirm that this works for ...
5 years ago (2015-12-01 01:32:31 UTC) #14
Rick Byers
On 2015/12/01 01:29:09, mcasas wrote: > On 2015/12/01 01:23:57, DaleCurtis wrote: > > Presumably this ...
5 years ago (2015-12-01 17:28:20 UTC) #15
mcasas
PS3 added a missing piece that was overlooked by the careless developer of this CL. ...
5 years ago (2015-12-01 18:38:15 UTC) #18
DaleCurtis
I think before a CL titled enable in Android is landed, at least some confirmation ...
5 years ago (2015-12-01 18:39:31 UTC) #19
mcasas
avi@ RS for content/renderer/BUILD.gn content/renderer/renderer_blink_platform_impl.cc (basically removing #ifdef(OS_ANDROID) parts)
5 years ago (2015-12-01 19:50:45 UTC) #21
Avi (use Gerrit)
lgtm stampity stamp
5 years ago (2015-12-01 20:56:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486623004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486623004/140001
5 years ago (2015-12-01 22:12:41 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:140001)
5 years ago (2015-12-01 22:42:26 UTC) #28
commit-bot: I haz the power
5 years ago (2015-12-01 22:44:24 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f683b07078e7fba476ef33625b0b41fd6161772c
Cr-Commit-Position: refs/heads/master@{#362536}

Powered by Google App Engine
This is Rietveld 408576698