Index: chrome/renderer/media/cast_session_delegate.h |
diff --git a/chrome/renderer/media/cast_session_delegate.h b/chrome/renderer/media/cast_session_delegate.h |
index 2c728f4985ad80ddb2a456add9f92e01c8632c66..1f964430ccfda298ede9132630aa2062fc73d1b2 100644 |
--- a/chrome/renderer/media/cast_session_delegate.h |
+++ b/chrome/renderer/media/cast_session_delegate.h |
@@ -32,6 +32,10 @@ class CastTransportSender; |
} // namespace cast |
} // namespace media |
+namespace cast { |
+class CastIPCDispatcher; |
+}; |
+ |
// This class hosts CastSender and connects it to audio/video frame input |
// and network socket. |
// This class is created on the render thread and destroyed on the IO |
@@ -51,6 +55,8 @@ class CastSessionDelegate { |
const FrameInputAvailableCallback& callback); |
void StartVideo(const media::cast::VideoSenderConfig& config, |
const FrameInputAvailableCallback& callback); |
+ void StartUDP(const net::IPEndPoint& local_endpoint, |
+ const net::IPEndPoint& remote_endpoint); |
private: |
// Start encoding threads and configure CastSender. It is ready to accept |
@@ -77,6 +83,9 @@ class CastSessionDelegate { |
media::cast::VideoSenderConfig video_config_; |
bool audio_configured_; |
bool video_configured_; |
+ net::IPEndPoint local_endpoint_; |
+ net::IPEndPoint remote_endpoint_; |
+ bool transport_configured_; |
std::vector<FrameInputAvailableCallback> frame_input_available_callbacks_; |
// Proxy to the IO message loop. |