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

Unified Diff: remoting/host/client_session.h

Issue 866863004: Replace AudioScheduler with AudioPump. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mouse_cursor_pipe
Patch Set: Created 5 years, 10 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/host/audio_scheduler.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index e4f79552433b54f2ddf082e448c9184b2b4f7abd..a70fd3b5c5fb42d78216630a35557fc5a6a93a54 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -35,14 +35,12 @@ class SingleThreadTaskRunner;
namespace remoting {
-class AudioEncoder;
-class AudioScheduler;
+class AudioPump;
class DesktopEnvironment;
class DesktopEnvironmentFactory;
class InputInjector;
class MouseShapePump;
class ScreenControls;
-class VideoEncoder;
class VideoFramePump;
// A ClientSession keeps a reference to a connection to a client, and maintains
@@ -153,14 +151,6 @@ class ClientSession
// Creates a proxy for sending clipboard events to the client.
scoped_ptr<protocol::ClipboardStub> CreateClipboardProxy();
- // Creates an audio encoder for the specified configuration.
- static scoped_ptr<AudioEncoder> CreateAudioEncoder(
- const protocol::SessionConfig& config);
-
- // Creates a video encoder for the specified configuration.
- static scoped_ptr<VideoEncoder> CreateVideoEncoder(
- const protocol::SessionConfig& config);
-
EventHandler* event_handler_;
// The connection to the client.
@@ -219,10 +209,10 @@ class ClientSession
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
- // Schedulers for audio and video capture.
- // |video_frame_pump_| may be nullptr if the video channel is not required -
- // see ResetVideoPipeline().
- scoped_refptr<AudioScheduler> audio_scheduler_;
+ // Pumps for audio, video and mouse shape.
+ // |video_frame_pump_| and |mouse_shape_pump_| may be nullptr if the video
+ // stream is handled by an extension, see ResetVideoPipeline().
+ scoped_ptr<AudioPump> audio_pump_;
scoped_ptr<VideoFramePump> video_frame_pump_;
scoped_ptr<MouseShapePump> mouse_shape_pump_;
« no previous file with comments | « remoting/host/audio_scheduler.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698