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

Issue 2956063003: Add support for echoCancellation and deviceId to MediaStreamTrack.getSettings (Closed)

Created:
3 years, 5 months ago by Guido Urdaneta
Modified:
3 years, 5 months ago
Reviewers:
haraken, hbos_chromium
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, Srirama, imcheng+watch_chromium.org, kinuko+watch, feature-media-reviews_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, blink-reviews, jam, dglazkov+blink, eric.carlson_apple.com, blink-reviews-api_chromium.org, avayvod+watch_chromium.org, tommyw+watchlist_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, haraken, xjz+watch_chromium.org, mlamouri+watch-blink_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for echoCancellation and deviceId to MediaStreamTrack.getSettings This CL adds support for the echoCancellation and deviceId properties to MediaStreamTrack.getSettings() for audio tracks created with getUserMedia(). The deviceId support for audio tracks was broken due to a placeholder implementation of MediaStreamAudioTrack::GetSettings, which masked the existing correct implementation in WebMediaStreamSource. deviceId was already supported for video tracks. BUG=734078 Review-Url: https://codereview.chromium.org/2956063003 Cr-Commit-Position: refs/heads/master@{#484600} Committed: https://chromium.googlesource.com/chromium/src/+/43855d4106b745fa975172372ece8b0492be5fda

Patch Set 1 #

Total comments: 14

Patch Set 2 : rebase and address hbos comments #

Patch Set 3 : fix DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -22 lines) Patch
M content/browser/renderer_host/media/media_devices_dispatcher_host.cc View 1 2 5 chunks +14 lines, -7 lines 0 comments Download
M content/browser/webrtc/webrtc_getusermedia_browsertest.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_audio_track.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_audio_track.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/media/user_media_client_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 5 chunks +28 lines, -3 lines 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/test/data/media/getusermedia.html View 1 1 chunk +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp View 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h View 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaStreamSource.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaStreamTrack.h View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
Guido Urdaneta
hbos@chromium.org: Please review changes in content/ haraken@chromium.org: Please review changes in WebKit
3 years, 5 months ago (2017-06-29 12:39:04 UTC) #13
Guido Urdaneta
-mkwst@. I intended to have hbos@ as reviewer.
3 years, 5 months ago (2017-06-29 14:56:55 UTC) #19
haraken
LGTM
3 years, 5 months ago (2017-07-02 00:58:35 UTC) #20
hbos_chromium
Looking good! https://codereview.chromium.org/2956063003/diff/40001/content/browser/renderer_host/media/media_devices_dispatcher_host.cc File content/browser/renderer_host/media/media_devices_dispatcher_host.cc (right): https://codereview.chromium.org/2956063003/diff/40001/content/browser/renderer_host/media/media_devices_dispatcher_host.cc#newcode522 content/browser/renderer_host/media/media_devices_dispatcher_host.cc:522: current_audio_input_capabilities_.size(); Hmm.. DCHECK num_pending_audio_input_parameters_ is 0 before ...
3 years, 5 months ago (2017-07-04 15:26:49 UTC) #21
Guido Urdaneta
hbos@: PTAL https://codereview.chromium.org/2956063003/diff/40001/content/browser/renderer_host/media/media_devices_dispatcher_host.cc File content/browser/renderer_host/media/media_devices_dispatcher_host.cc (right): https://codereview.chromium.org/2956063003/diff/40001/content/browser/renderer_host/media/media_devices_dispatcher_host.cc#newcode522 content/browser/renderer_host/media/media_devices_dispatcher_host.cc:522: current_audio_input_capabilities_.size(); On 2017/07/04 15:26:48, hbos_chromium wrote: > ...
3 years, 5 months ago (2017-07-05 09:23:37 UTC) #22
hbos_chromium
lgtm
3 years, 5 months ago (2017-07-06 12:57:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2956063003/80001
3 years, 5 months ago (2017-07-06 13:04:10 UTC) #30
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 15:18:14 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/43855d4106b745fa975172372ece...

Powered by Google App Engine
This is Rietveld 408576698