Index: remoting/protocol/webrtc_connection_to_host.h |
diff --git a/remoting/protocol/webrtc_connection_to_host.h b/remoting/protocol/webrtc_connection_to_host.h |
index 030adcc58885388d51f34e8936ce68005e63472d..755e4ce958af4a62b16c3ebe1ee2713fb397245e 100644 |
--- a/remoting/protocol/webrtc_connection_to_host.h |
+++ b/remoting/protocol/webrtc_connection_to_host.h |
@@ -23,6 +23,7 @@ namespace protocol { |
class ClientControlDispatcher; |
class ClientEventDispatcher; |
class SessionConfig; |
+class WebrtcVideoRendererAdapter; |
class WebrtcConnectionToHost : public ConnectionToHost, |
public Session::EventHandler, |
@@ -54,6 +55,10 @@ class WebrtcConnectionToHost : public ConnectionToHost, |
void OnWebrtcTransportConnecting() override; |
void OnWebrtcTransportConnected() override; |
void OnWebrtcTransportError(ErrorCode error) override; |
+ void OnWebrtcTransportMediaStreamAdded( |
+ scoped_refptr<webrtc::MediaStreamInterface> stream) override; |
+ void OnWebrtcTransportMediaStreamRemoved( |
+ scoped_refptr<webrtc::MediaStreamInterface> stream) override; |
// ChannelDispatcherBase::EventHandler interface. |
void OnChannelInitialized(ChannelDispatcherBase* channel_dispatcher) override; |
@@ -70,6 +75,7 @@ class WebrtcConnectionToHost : public ConnectionToHost, |
// Stub for incoming messages. |
ClientStub* client_stub_ = nullptr; |
+ VideoRenderer* video_renderer_ = nullptr; |
ClipboardStub* clipboard_stub_ = nullptr; |
scoped_ptr<Session> session_; |
@@ -80,6 +86,8 @@ class WebrtcConnectionToHost : public ConnectionToHost, |
ClipboardFilter clipboard_forwarder_; |
InputFilter event_forwarder_; |
+ scoped_ptr<WebrtcVideoRendererAdapter> video_adapter_; |
+ |
// Internal state of the connection. |
State state_ = INITIALIZING; |
ErrorCode error_ = OK; |