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

Issue 1202553002: Implement navigator.mediaDevices.getUserMedia() (Closed)

Created:
5 years, 6 months ago by hta - Chromium
Modified:
5 years, 6 months ago
CC:
blink-reviews, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement navigator.mediaDevices.getUserMedia() This makes a promise-based API for acquiring media available. The implementation is still hidden behind the flag that guards MediaDevices (EnumerateDevices), so is not immediately available to users. R=tommi BUG=503227 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197920

Patch Set 1 #

Patch Set 2 : Review comments (cleanup) #

Total comments: 18

Patch Set 3 : Review comments #

Total comments: 4

Patch Set 4 : HTML style issues in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -1 line) Patch
A LayoutTests/fast/mediastream/getusermedia-promise.html View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M Source/modules/mediastream/MediaDevices.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/mediastream/MediaDevices.cpp View 1 2 2 chunks +68 lines, -0 lines 0 comments Download
M Source/modules/mediastream/MediaDevices.idl View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
hta - Chromium
Early review....
5 years, 6 months ago (2015-06-23 08:58:15 UTC) #2
Guido Urdaneta
https://codereview.chromium.org/1202553002/diff/20001/Source/modules/mediastream/MediaDevices.cpp File Source/modules/mediastream/MediaDevices.cpp (right): https://codereview.chromium.org/1202553002/diff/20001/Source/modules/mediastream/MediaDevices.cpp#newcode70 Source/modules/mediastream/MediaDevices.cpp:70: NavigatorUserMediaErrorCallback* errorCallback = new PromiseErrorCallback(resolver); Are you deleting these ...
5 years, 6 months ago (2015-06-23 10:57:02 UTC) #3
Peter Beverloo
Mostly nits, thanks :) In your CLs description, it mentions that it makes a Promise-based ...
5 years, 6 months ago (2015-06-23 12:44:16 UTC) #4
hta - Chromium
All issues addressed, I think. Some questions (verifications) on memory management-related issues. https://codereview.chromium.org/1202553002/diff/20001/LayoutTests/fast/mediastream/getusermedia-promise.html File LayoutTests/fast/mediastream/getusermedia-promise.html ...
5 years, 6 months ago (2015-06-26 09:29:00 UTC) #5
hta - Chromium
Somehow my changes in patchset 2 to getusermedia-promise.html (the test) aren't visible in Rietveld. If ...
5 years, 6 months ago (2015-06-26 09:46:26 UTC) #6
hta - Chromium
On 2015/06/26 09:46:26, hta - Chromium wrote: > Somehow my changes in patchset 2 to ...
5 years, 6 months ago (2015-06-26 12:15:06 UTC) #7
Peter Beverloo
lgtm, thanks! Is there a plan to switch existing gUM() tests over to the Promise-based ...
5 years, 6 months ago (2015-06-26 12:36:55 UTC) #8
Guido Urdaneta
lgtm
5 years, 6 months ago (2015-06-26 12:38:30 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202553002/40001
5 years, 6 months ago (2015-06-26 12:46:34 UTC) #11
tommi (sloooow) - chröme
lgtm
5 years, 6 months ago (2015-06-26 12:54:59 UTC) #12
hta - Chromium
Fixed the style issues in HTML. There's no specific plan to convert (=copy functionality of) ...
5 years, 6 months ago (2015-06-26 13:28:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202553002/60001
5 years, 6 months ago (2015-06-26 13:29:12 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-26 14:31:47 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197920

Powered by Google App Engine
This is Rietveld 408576698