Index: webrtc/api/peerconnection.h |
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h |
index e4fcdf075a0dc025f337e14f473d7c9eeb6203d5..8b9d05f49812789d7c2c78f25c6ad5d8008e2387 100644 |
--- a/webrtc/api/peerconnection.h |
+++ b/webrtc/api/peerconnection.h |
@@ -27,6 +27,7 @@ namespace webrtc { |
class MediaStreamObserver; |
class RemoteMediaStreamFactory; |
+class VideoRtpReceiver; |
// Populates |session_options| from |rtc_options|, and returns true if options |
// are valid. |
@@ -167,9 +168,8 @@ class PeerConnection : public PeerConnectionInterface, |
void CreateAudioReceiver(MediaStreamInterface* stream, |
AudioTrackInterface* audio_track, |
uint32_t ssrc); |
- void CreateVideoReceiver(MediaStreamInterface* stream, |
- VideoTrackInterface* video_track, |
- uint32_t ssrc); |
+ VideoRtpReceiver* CreateVideoReceiver(const std::string& track_id, |
+ uint32_t ssrc); |
pthatcher1
2016/03/09 18:16:49
Can you add a comment explaining that this is the
|
void DestroyAudioReceiver(MediaStreamInterface* stream, |
AudioTrackInterface* audio_track); |
void DestroyVideoReceiver(MediaStreamInterface* stream, |