Index: remoting/protocol/webrtc_transport.h |
diff --git a/remoting/protocol/webrtc_transport.h b/remoting/protocol/webrtc_transport.h |
index a54be6ef811c1eecf0ad24c402bfc68f51c36060..8a7f43bdadbdd26d34ff50ce7b28f4ba16037cfc 100644 |
--- a/remoting/protocol/webrtc_transport.h |
+++ b/remoting/protocol/webrtc_transport.h |
@@ -45,6 +45,12 @@ class WebrtcTransport : public Transport, |
// Called when there is an error connecting the session. |
virtual void OnWebrtcTransportError(ErrorCode error) = 0; |
+ |
+ // Called when an incoming media stream is added or removed. |
+ virtual void OnWebrtcTransportMediaStreamAdded( |
+ scoped_refptr<webrtc::MediaStreamInterface> stream) = 0; |
+ virtual void OnWebrtcTransportMediaStreamRemoved( |
+ scoped_refptr<webrtc::MediaStreamInterface> stream) = 0; |
}; |
WebrtcTransport(rtc::Thread* worker_thread, |
@@ -125,9 +131,6 @@ class WebrtcTransport : public Transport, |
ScopedVector<webrtc::IceCandidateInterface> pending_incoming_candidates_; |
- std::list<rtc::scoped_refptr<webrtc::MediaStreamInterface>> |
- unclaimed_streams_; |
- |
WebrtcDataStreamAdapter outgoing_data_stream_adapter_; |
WebrtcDataStreamAdapter incoming_data_stream_adapter_; |