|
Pepper needs to repeatedly call enumeration API in order to get a synchronous up-to-date device list. This heavily loads the IO thread since the enumeration is done on IO thread.
This patch moves the device thread from VideoCaptureManager to MediaStreamManager, so that audio and video can share one device thread, and also allow running audio device API on this shared device thread.
BUG= 132701, 130113
TEST=content_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145584
Total comments: 21
Total comments: 1
Total comments: 15
Total comments: 26
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+365 lines, -390 lines) |
Patch |
 |
M |
content/browser/browser_main_loop.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+46 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_renderer_host.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_renderer_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_device_settings.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+13 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+32 lines, -54 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+31 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+26 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_provider.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+30 lines, -49 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+11 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
23 chunks |
+31 lines, -39 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
13 chunks |
+21 lines, -52 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/video/capture/win/video_capture_device_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/video/capture/win/video_capture_device_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
11 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|