|
Add a 'remote' property to MediaSourceInterface. Also adding an implementation to the relevant sources we have (audio/video) and an extra check where we're casting a source into a local audio source :(
Additionally:
* Moving all implementation inside RemoteAudioTrack into AudioTrack and remove RemoteAudioTrack.
* AddSink/RemoveSink are now on all audio sources (like they are for video sources).
While doing this I found that some of our tests are broken :) and fixed them. They were broken because AudioTrack didn't previously do much such as updating its state.
BUG= chromium:569526
Committed: https://crrev.com/6eca7e3c371383020095ba346e1ac70f38a8c0fd
Cr-Commit-Position: refs/heads/master@{#11026}
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+192 lines, -203 lines) |
Patch |
|
M |
talk/app/webrtc/audiotrack.h
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -18 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/audiotrack.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+64 lines, -9 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/localaudiosource.h
|
View
|
1
2
3
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/mediastream_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/mediastreaminterface.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/peerconnection.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/peerconnectionfactory.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/remoteaudiosource.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/remoteaudiosource.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/remoteaudiotrack.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -50 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/remoteaudiotrack.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -68 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/rtpreceiver.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/rtpsender.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
View
|
1
2
3
4
5
|
13 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource.h
|
View
|
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource.cc
|
View
|
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosourceproxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videotrack_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
talk/libjingle.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 22 (6 generated)
|