|
Cleaned up the WebRtcAudioCapturer a bit.
This CL cleaned up the capturer a bit by moving the initialize() method to private and do NOT allow re-initializing the capturer when a new getUserMedia is called.
Instead, it creates a new capturer for each getUserMedia.
BUG= 333285
TEST=content_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245205
Total comments: 21
Total comments: 8
Total comments: 9
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+352 lines, -322 lines) |
Patch |
 |
M |
content/browser/media/webrtc_browsertest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dependency_factory.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dependency_factory.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -41 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_impl.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_dependency_factory.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_dependency_factory.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_peer_connection_handler.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_capturer.h
|
View
|
1
2
3
4
5
6
|
11 chunks |
+49 lines, -52 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_capturer.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+94 lines, -84 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_capturer_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_device_impl.h
|
View
|
1
2
3
|
2 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_device_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+31 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_device_unittest.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+30 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_track_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+26 lines, -58 lines |
0 comments
|
Download
|
 |
M |
content/test/data/media/getusermedia.html
|
View
|
1
2
3
4
5
6
|
2 chunks |
+52 lines, -7 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|