| Index: remoting/protocol/ice_connection_to_host.h
|
| diff --git a/remoting/protocol/ice_connection_to_host.h b/remoting/protocol/ice_connection_to_host.h
|
| index fea50882c9008a5eff9e07ea994680b4d48b5190..36320dccb4aa9a9bdbf32f30361b7675f1fdb464 100644
|
| --- a/remoting/protocol/ice_connection_to_host.h
|
| +++ b/remoting/protocol/ice_connection_to_host.h
|
| @@ -27,6 +27,7 @@
|
| namespace remoting {
|
| namespace protocol {
|
|
|
| +class AudioDecodeScheduler;
|
| class AudioReader;
|
| class ClientControlDispatcher;
|
| class ClientEventDispatcher;
|
| @@ -45,7 +46,9 @@ class IceConnectionToHost : public ConnectionToHost,
|
| void set_client_stub(ClientStub* client_stub) override;
|
| void set_clipboard_stub(ClipboardStub* clipboard_stub) override;
|
| void set_video_renderer(VideoRenderer* video_renderer) override;
|
| - void set_audio_stub(AudioStub* audio_stub) override;
|
| + void InitializeAudio(
|
| + scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner,
|
| + base::WeakPtr<AudioStub> audio_stub) override;
|
| void Connect(std::unique_ptr<Session> session,
|
| scoped_refptr<TransportContext> transport_context,
|
| HostEventCallback* event_callback) override;
|
| @@ -84,7 +87,8 @@ class IceConnectionToHost : public ConnectionToHost,
|
| ClientStub* client_stub_ = nullptr;
|
| ClipboardStub* clipboard_stub_ = nullptr;
|
| VideoRenderer* video_renderer_ = nullptr;
|
| - AudioStub* audio_stub_ = nullptr;
|
| +
|
| + std::unique_ptr<AudioDecodeScheduler> audio_decode_scheduler_;
|
|
|
| std::unique_ptr<Session> session_;
|
| std::unique_ptr<IceTransport> transport_;
|
|
|