|
Implicit audio output device selection for getUserMedia.
When a non-default input device is selected, do a best-effort selection of a matching output device.
This is used to switch output of media stream audio tracks to the output device that matches the currently open capture device (microphone).
An typical example is to support switching to USB headsets when in a audio/video call.
This does not affect the audio output of non-webrtc related audio elements and only happens when there's exactly 1 active audio capture device in the page.
BUG= 276894
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222187
Total comments: 28
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+280 lines, -79 lines) |
Patch |
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.cc
|
View
|
1
|
3 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_renderer_host.cc
|
View
|
1
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_messages.h
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_options.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_options.cc
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/common/media_stream_request.h
|
View
|
|
2 chunks |
+46 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/public/common/media_stream_request.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dependency_factory.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dependency_factory_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_impl.h
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_impl.cc
|
View
|
1
|
5 chunks |
+74 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_device_unittest.cc
|
View
|
1
2
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_renderer.h
|
View
|
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_renderer.cc
|
View
|
1
|
6 chunks |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_renderer.h
|
View
|
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_renderer.cc
|
View
|
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.cc
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|