Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: webrtc/api/peerconnection.h

Issue 1765423005: Change VideoRtpReceiver to create remote VideoTrack and VideoTrackSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/peerconnection.h
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
index e4fcdf075a0dc025f337e14f473d7c9eeb6203d5..dfce8559f06ee9622d026f4d523f80523e577097 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,10 @@ class PeerConnection : public PeerConnectionInterface,
void CreateAudioReceiver(MediaStreamInterface* stream,
AudioTrackInterface* audio_track,
uint32_t ssrc);
- void CreateVideoReceiver(MediaStreamInterface* stream,
- VideoTrackInterface* video_track,
- uint32_t ssrc);
+ // Creates a VideoRtpReceiver and a proxy that implements
+ // RtpReceierInterface. Returns the VideoRtpReceiver, not the proxy.
pthatcher1 2016/03/09 21:29:03 RtpReceiverInterface
+ VideoRtpReceiver* CreateVideoReceiver(const std::string& track_id,
+ uint32_t ssrc);
void DestroyAudioReceiver(MediaStreamInterface* stream,
AudioTrackInterface* audio_track);
void DestroyVideoReceiver(MediaStreamInterface* stream,

Powered by Google App Engine
This is Rietveld 408576698