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

Unified Diff: webrtc/examples/peerconnection/client/conductor.h

Issue 2505173002: Added a callback function OnAddTrack to PeerConnectionObserver (Closed)
Patch Set: Simple change on java and obj-c. Created 4 years, 1 month 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/examples/peerconnection/client/conductor.h
diff --git a/webrtc/examples/peerconnection/client/conductor.h b/webrtc/examples/peerconnection/client/conductor.h
index 74e5f6c5a2e56b8f35c30ede06c0e9504bdb05f1..1b8006ac944635ac7bfceeea5ecd3fad0c8fecd8 100644
--- a/webrtc/examples/peerconnection/client/conductor.h
+++ b/webrtc/examples/peerconnection/client/conductor.h
@@ -16,6 +16,7 @@
#include <map>
#include <set>
#include <string>
+#include <vector>
#include "webrtc/api/mediastreaminterface.h"
#include "webrtc/api/peerconnectioninterface.h"
@@ -79,6 +80,9 @@ class Conductor
webrtc::PeerConnectionInterface::IceGatheringState new_state) override{};
void OnIceCandidate(const webrtc::IceCandidateInterface* candidate) override;
void OnIceConnectionReceivingChange(bool receiving) override {}
+ void OnAddTrack(rtc::scoped_refptr<webrtc::RtpReceiverInterface> receiver,
+ std::vector<rtc::scoped_refptr<webrtc::MediaStreamInterface>>
+ streams) override {}
//
// PeerConnectionClientObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698