Index: webrtc/api/peerconnection.h |
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h |
index e4fcdf075a0dc025f337e14f473d7c9eeb6203d5..2e9d9b22b81130b94847ac517d26bf0ea8d3af1d 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,8 +168,9 @@ class PeerConnection : public PeerConnectionInterface, |
void CreateAudioReceiver(MediaStreamInterface* stream, |
AudioTrackInterface* audio_track, |
uint32_t ssrc); |
+ |
void CreateVideoReceiver(MediaStreamInterface* stream, |
- VideoTrackInterface* video_track, |
+ const std::string& track_id, |
uint32_t ssrc); |
void DestroyAudioReceiver(MediaStreamInterface* stream, |
AudioTrackInterface* audio_track); |