Index: remoting/protocol/video_stream.h |
diff --git a/remoting/protocol/video_stream.h b/remoting/protocol/video_stream.h |
index 06045b2c31e087cabc6438fb5b4c4ebf21e7b396..e97bf23642e3acfbf797421e6b1b01887d5068f2 100644 |
--- a/remoting/protocol/video_stream.h |
+++ b/remoting/protocol/video_stream.h |
@@ -10,6 +10,7 @@ |
#include <cstdint> |
#include "base/callback_forward.h" |
+#include "remoting/protocol/input_event_timestamps.h" |
namespace webrtc { |
class DesktopSize; |
@@ -33,13 +34,14 @@ class VideoStream { |
VideoStream() {} |
virtual ~VideoStream() {} |
+ // Sets event timestamps source to be used for the video stream. |
+ virtual void SetEventTimestampsSource( |
+ scoped_refptr<InputEventTimestampsSource> event_timestamps_source) = 0; |
+ |
// Pauses or resumes scheduling of frame captures. Pausing/resuming captures |
// only affects capture scheduling and does not stop/start the capturer. |
virtual void Pause(bool pause) = 0; |
- // Should be called whenever an input event is received. |
- virtual void OnInputEventReceived(int64_t event_timestamp) = 0; |
- |
// Sets whether the video encoder should be requested to encode losslessly, |
// or to use a lossless color space (typically requiring higher bandwidth). |
virtual void SetLosslessEncode(bool want_lossless) = 0; |