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

Unified Diff: remoting/protocol/webrtc_transport.h

Issue 1580823003: Implement client-side video stream support for WebRTC-based protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@packet_options_rem
Patch Set: Created 4 years, 11 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
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.cc ('k') | remoting/protocol/webrtc_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.cc ('k') | remoting/protocol/webrtc_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698