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

Issue 1255873002: MediaRecorder Blink part (Closed)

Created:
5 years, 5 months ago by mcasas
Modified:
5 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

MediaRecorder Blink part This CL adds the Blink classes needed for implementing MediaRecorder API and two tests.This API allows for recording a MediaStream, i.e. a local or remote feed of live media(s). This CL does not include a BlobEvent to communicate recorded data to JS. See DD @ https://goo.gl/vSjzC5 (*) for the plan and https://codereview.chromium.org/1211973012/ for a hack of all Chrome parts. (*) Used to be https://goo.gl/kreaQj BUG=262211 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201727

Patch Set 1 : perkj@s original patch http://crrev.com/596653005 #

Patch Set 2 : #

Total comments: 42

Patch Set 3 : peter@ and guidou@ comments #

Total comments: 6

Patch Set 4 : tommi@s comments. Added dummy Source/platform/exported/WebMediaRecorderHandlerClient.cpp #

Total comments: 30

Patch Set 5 : esprehn@ comments #

Total comments: 30

Patch Set 6 : mlamouri@ comments #

Total comments: 2

Patch Set 7 : 4 spaces indentation and rebased. #

Total comments: 42

Patch Set 8 : esprehn@ comments #

Total comments: 12

Patch Set 9 : peter@ comments. Removed BlobEvent, moved MediaRecorder* to Source/modules/mediarecorder #

Total comments: 30

Patch Set 10 : peter@ comments and nits #

Total comments: 8

Patch Set 11 : peter@ nits and tried removing WebMediaRecorderHandlerClient.cpp #

Total comments: 6

Patch Set 12 : added peter@ to mediarecorder/OWNERS #

Patch Set 13 : esprehn@ last comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+746 lines, -2 lines) Patch
A LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html View 1 2 3 4 5 6 7 8 9 1 chunk +49 lines, -0 lines 0 comments Download
A LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html View 1 2 3 4 5 6 7 8 9 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType-expected.txt View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
M Source/core/events/EventTypeNames.in View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M Source/modules/EventTargetModules.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/EventTargetModulesFactory.in View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/mediarecorder/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorder.h View 1 2 3 4 5 6 7 8 9 1 chunk +105 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorder.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +291 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorder.idl View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorderErrorEvent.h View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/MediaRecorderErrorEvent.idl View 1 2 3 4 5 6 7 8 9 1 chunk +23 lines, -0 lines 0 comments Download
A Source/modules/mediarecorder/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -1 line 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebRuntimeFeatures.cpp View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M public/platform/Platform.h View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
A public/platform/WebMediaRecorderHandler.h View 1 2 3 4 5 6 7 8 9 1 chunk +39 lines, -0 lines 0 comments Download
A public/platform/WebMediaRecorderHandlerClient.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 73 (35 generated)
mcasas
guidou@ PTAL
5 years, 4 months ago (2015-07-27 17:02:32 UTC) #14
Guido Urdaneta
https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html File LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html (right): https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html#newcode16 LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html:16: shouldBe('MediaRecorder.canRecordMimeType("video/webm;codecs="vp8")', '"maybe"'); You should fix the syntax error here ...
5 years, 4 months ago (2015-07-28 12:28:26 UTC) #15
Guido Urdaneta
Hi Peter, can you take a look at this CL?
5 years, 4 months ago (2015-07-29 08:08:46 UTC) #17
Peter Beverloo
https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode1 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> nit: We generally use ...
5 years, 4 months ago (2015-07-29 16:54:23 UTC) #18
mcasas
peter@ PTAL https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/250001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode1 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> On 2015/07/29 ...
5 years, 4 months ago (2015-07-30 13:20:37 UTC) #20
mcasas
peter@ ping
5 years, 4 months ago (2015-08-10 07:15:04 UTC) #21
mlamouri (slow - plz ping)
Peter is on holidays, you might want to find another reviewer.
5 years, 4 months ago (2015-08-10 15:15:46 UTC) #23
mcasas
philipj@ PTAL Mounir: thanks!
5 years, 4 months ago (2015-08-11 07:09:43 UTC) #25
philipj_slow
On 2015/08/11 07:09:43, mcasas (slow to review) wrote: > philipj@ PTAL I'm afraid I don't ...
5 years, 4 months ago (2015-08-11 08:35:56 UTC) #26
tommi (sloooow) - chröme
looks generally good but I'll wait for Peter's comments https://codereview.chromium.org/1255873002/diff/290001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/290001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode21 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:21: ...
5 years, 4 months ago (2015-08-11 08:46:50 UTC) #28
mcasas
https://codereview.chromium.org/1255873002/diff/290001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/290001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode21 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:21: { On 2015/08/11 08:46:50, tommi wrote: > nit: consistent ...
5 years, 4 months ago (2015-08-12 06:47:50 UTC) #29
esprehn
Can you write a better description, linking to a goo.gl link is not enough. What ...
5 years, 4 months ago (2015-08-12 22:27:34 UTC) #33
mcasas
esprehn@ PTAL https://codereview.chromium.org/1255873002/diff/350001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/350001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode3 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:3: <head> On 2015/08/12 22:27:34, esprehn wrote: > ...
5 years, 4 months ago (2015-08-13 09:31:51 UTC) #34
mlamouri (slow - plz ping)
I didn't look into the details of the MediaRecorder implementation but left a few comments. ...
5 years, 4 months ago (2015-08-13 13:31:48 UTC) #35
mcasas
PTAL https://codereview.chromium.org/1255873002/diff/370001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/370001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode1 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:1: <script src="../../resources/js-test.js"></script> On 2015/08/13 13:31:47, Mounir Lamouri wrote: ...
5 years, 4 months ago (2015-08-13 18:42:17 UTC) #37
Guido Urdaneta
https://codereview.chromium.org/1255873002/diff/410001/Source/modules/mediastream/MediaRecorder.cpp File Source/modules/mediastream/MediaRecorder.cpp (right): https://codereview.chromium.org/1255873002/diff/410001/Source/modules/mediastream/MediaRecorder.cpp#newcode188 Source/modules/mediastream/MediaRecorder.cpp:188: m_dispatchScheduledEventRunner.suspend(); 4-space indentation?
5 years, 4 months ago (2015-08-14 08:33:01 UTC) #38
esprehn
Looking better! I'll make sure to look this over tomorrow. To unsubscribe from this group ...
5 years, 4 months ago (2015-08-14 08:56:37 UTC) #39
mcasas
On 2015/08/14 08:56:37, esprehn wrote: > Looking better! I'll make sure to look this over ...
5 years, 4 months ago (2015-08-18 01:08:19 UTC) #41
mcasas
ping, anyone? https://codereview.chromium.org/1255873002/diff/410001/Source/modules/mediastream/MediaRecorder.cpp File Source/modules/mediastream/MediaRecorder.cpp (right): https://codereview.chromium.org/1255873002/diff/410001/Source/modules/mediastream/MediaRecorder.cpp#newcode188 Source/modules/mediastream/MediaRecorder.cpp:188: m_dispatchScheduledEventRunner.suspend(); On 2015/08/14 08:33:01, Guido Urdaneta wrote: ...
5 years, 4 months ago (2015-08-19 22:28:05 UTC) #42
esprehn
I'll make sure to look this over today. Large patches in general take a long ...
5 years, 4 months ago (2015-08-20 08:19:21 UTC) #43
esprehn
Your Google doc is not public, it needs to be public before this can land. ...
5 years, 4 months ago (2015-08-21 08:46:13 UTC) #44
mcasas
esprehn@ thanks for the review, PTAL. I moved the DD to my chromium.org account, so ...
5 years, 4 months ago (2015-08-21 18:50:05 UTC) #45
mcasas
reviewers friendly ping.
5 years, 4 months ago (2015-08-25 16:56:41 UTC) #46
Peter Beverloo
Sorry for the delays - I'm back from holiday now. I'll take a more detailed ...
5 years, 3 months ago (2015-08-28 17:18:24 UTC) #47
mcasas
Removed BlobEvent to ease reviewing. Moved MediaRecorder* to its own folder Source/modules/mediarecorder since it's an ...
5 years, 3 months ago (2015-08-29 01:12:57 UTC) #50
esprehn
For the changes I asked that don't match the spec, have you made bugs against ...
5 years, 3 months ago (2015-08-29 23:54:40 UTC) #51
mcasas
Filed four W3C bugs: Bug 29102 - MediaStream Recording API: remove RecordingErrorNameEnum and use DomException ...
5 years, 3 months ago (2015-08-31 19:56:57 UTC) #53
mcasas
On 2015/08/31 19:56:57, mcasas wrote: > Filed four W3C bugs: > > Bug 29102 - ...
5 years, 3 months ago (2015-08-31 22:21:51 UTC) #54
Peter Beverloo
Hi Miguel - thanks for the update, and thank you for filing these issues. I ...
5 years, 3 months ago (2015-09-01 17:17:12 UTC) #55
Peter Beverloo
On 2015/09/01 17:17:12, Peter Beverloo wrote: > I think we're nearly there, and left mostly ...
5 years, 3 months ago (2015-09-01 17:18:12 UTC) #56
mcasas
peter@ PTAL. LGTM %nits pretty please? https://codereview.chromium.org/1255873002/diff/540001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html (right): https://codereview.chromium.org/1255873002/diff/540001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html#newcode18 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video.html:18: recorder = null ...
5 years, 3 months ago (2015-09-02 03:10:18 UTC) #59
Peter Beverloo
lgtm % nits :) I would really prefer to see the WebMediaRecorderHandlerClient linking error resolved ...
5 years, 3 months ago (2015-09-02 16:39:38 UTC) #60
mcasas
peter@ thanks, I managed to get rid of the loathsome .cpp :) esprehn@ can you ...
5 years, 3 months ago (2015-09-02 21:01:47 UTC) #63
Nico
stampy lgtm (but I'm not an OWNER in public/ for example) https://codereview.chromium.org/1255873002/diff/640001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt (right): ...
5 years, 3 months ago (2015-09-03 01:47:07 UTC) #65
esprehn
lgtm, make sure to follow up on the bugs we need to make sure Edge ...
5 years, 3 months ago (2015-09-03 04:26:21 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1255873002/700001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1255873002/700001
5 years, 3 months ago (2015-09-03 16:35:43 UTC) #71
mcasas
https://codereview.chromium.org/1255873002/diff/640001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt File LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt (right): https://codereview.chromium.org/1255873002/diff/640001/LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt#newcode2 LayoutTests/fast/mediarecorder/MediaRecorder-basic-video-expected.txt:2: FAIL checks the video-only MediaRecorder API. assert_unreached: Exception while ...
5 years, 3 months ago (2015-09-03 16:35:52 UTC) #72
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 17:51:49 UTC) #73
Message was sent while issue was closed.
Committed patchset #13 (id:700001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201727

Powered by Google App Engine
This is Rietveld 408576698