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

Unified Diff: remoting/protocol/webrtc_connection_to_host.h

Issue 2384063004: Move audio decoding to protocol layer (Closed)
Patch Set: Created 4 years, 2 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
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 8a497329d382cd5d007f80f4aeb726b86a12d0b5..06a22d9bea39251da6c563fd7e2d205769db6883 100644
--- a/remoting/protocol/webrtc_connection_to_host.h
+++ b/remoting/protocol/webrtc_connection_to_host.h
@@ -37,7 +37,9 @@ class WebrtcConnectionToHost : 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;

Powered by Google App Engine
This is Rietveld 408576698