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

Issue 15796004: [MediaStream API] Adding MediaStreamTrack::getSourceInfos (Closed)

Created:
7 years, 7 months ago by Tommy Widenflycht
Modified:
7 years, 6 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, eae+blinkwatch, jeez, jamesr, abarth-chromium
Visibility:
Public.

Description

[MediaStream API] Adding MediaStreamTrack::getSourceInfos This patch adds the functionality to list which webcams/micophones are available. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151839

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added #

Patch Set 3 : Fixed tests #

Patch Set 4 : Test flakiness removed #

Total comments: 6

Patch Set 5 : Fixed review comments and merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -134 lines) Patch
A + LayoutTests/fast/mediastream/MediaStreamTrack-getSourceInfos.html View 1 2 3 1 chunk +16 lines, -17 lines 0 comments Download
A + LayoutTests/fast/mediastream/MediaStreamTrack-getSourceInfos-expected.txt View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + Source/core/platform/chromium/support/WebSourceInfo.cpp View 1 2 3 4 1 chunk +60 lines, -43 lines 0 comments Download
M Source/core/platform/mediastream/MediaStreamCenter.h View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download
M Source/core/platform/mediastream/chromium/MediaStreamCenterChromium.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M Source/core/platform/mediastream/chromium/MediaStreamCenterChromium.cpp View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.idl View 1 2 chunks +2 lines, -1 line 0 comments Download
A + Source/modules/mediastream/SourceInfo.h View 1 2 3 4 1 chunk +19 lines, -12 lines 0 comments Download
A + Source/modules/mediastream/SourceInfo.cpp View 1 1 chunk +34 lines, -32 lines 0 comments Download
A + Source/modules/mediastream/SourceInfo.idl View 1 chunk +6 lines, -4 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.cpp View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M public/platform/WebMediaStreamCenter.h View 1 chunk +4 lines, -1 line 0 comments Download
A + public/platform/WebSourceInfo.h View 1 1 chunk +40 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Tommy Widenflycht
Hi, This patch is missing tests but I wanted a early review to make sure ...
7 years, 7 months ago (2013-05-24 14:07:24 UTC) #1
abarth-chromium
Yeah, generally looks like the right approach. https://codereview.chromium.org/15796004/diff/1/Source/modules/mediastream/MediaStreamTrack.idl File Source/modules/mediastream/MediaStreamTrack.idl (right): https://codereview.chromium.org/15796004/diff/1/Source/modules/mediastream/MediaStreamTrack.idl#newcode41 Source/modules/mediastream/MediaStreamTrack.idl:41: [CallWith=ScriptExecutionContext, RaisesException] ...
7 years, 7 months ago (2013-05-24 16:53:50 UTC) #2
Tommy Widenflycht
https://codereview.chromium.org/15796004/diff/1/Source/modules/mediastream/MediaStreamTrack.idl File Source/modules/mediastream/MediaStreamTrack.idl (right): https://codereview.chromium.org/15796004/diff/1/Source/modules/mediastream/MediaStreamTrack.idl#newcode41 Source/modules/mediastream/MediaStreamTrack.idl:41: [CallWith=ScriptExecutionContext, RaisesException] static sequence<SourceInfo> getSourceInfos(); On 2013/05/24 16:53:50, abarth ...
7 years, 7 months ago (2013-05-27 14:17:50 UTC) #3
Tommy Widenflycht
abarth: Could you please take another look?
7 years, 6 months ago (2013-05-31 12:51:18 UTC) #4
abarth-chromium
LGTM https://codereview.chromium.org/15796004/diff/21001/Source/core/platform/chromium/support/WebSourceInfo.cpp File Source/core/platform/chromium/support/WebSourceInfo.cpp (right): https://codereview.chromium.org/15796004/diff/21001/Source/core/platform/chromium/support/WebSourceInfo.cpp#newcode41 Source/core/platform/chromium/support/WebSourceInfo.cpp:41: WebString id() const { return m_id; } These ...
7 years, 6 months ago (2013-05-31 17:30:08 UTC) #5
Tommy Widenflycht
https://codereview.chromium.org/15796004/diff/21001/Source/core/platform/chromium/support/WebSourceInfo.cpp File Source/core/platform/chromium/support/WebSourceInfo.cpp (right): https://codereview.chromium.org/15796004/diff/21001/Source/core/platform/chromium/support/WebSourceInfo.cpp#newcode41 Source/core/platform/chromium/support/WebSourceInfo.cpp:41: WebString id() const { return m_id; } On 2013/05/31 ...
7 years, 6 months ago (2013-06-05 11:51:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommyw@chromium.org/15796004/28001
7 years, 6 months ago (2013-06-05 11:52:01 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-05 13:26:21 UTC) #8
Message was sent while issue was closed.
Change committed as 151839

Powered by Google App Engine
This is Rietveld 408576698