Index: remoting/protocol/webrtc_video_stream.h |
diff --git a/remoting/protocol/webrtc_video_stream.h b/remoting/protocol/webrtc_video_stream.h |
index fc0177083330d8eb128c276bcd855807d886dd1c..4f5b1a82cfa808791e634a6cd9f06ba647f7065d 100644 |
--- a/remoting/protocol/webrtc_video_stream.h |
+++ b/remoting/protocol/webrtc_video_stream.h |
@@ -46,8 +46,9 @@ class WebrtcVideoStream : public VideoStream, |
scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner); |
// VideoStream interface. |
+ void SetEventTimestampsSource(scoped_refptr<InputEventTimestampsSource> |
+ event_timestamps_source) override; |
void Pause(bool pause) override; |
- void OnInputEventReceived(int64_t event_timestamp) override; |
void SetLosslessEncode(bool want_lossless) override; |
void SetLosslessColor(bool want_lossless) override; |
void SetObserver(Observer* observer) override; |
@@ -87,14 +88,13 @@ class WebrtcVideoStream : public VideoStream, |
// Used to encode captured frames. Always accessed on the encode thread. |
std::unique_ptr<WebrtcVideoEncoder> encoder_; |
+ scoped_refptr<InputEventTimestampsSource> event_timestamps_source_; |
+ |
scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; |
scoped_refptr<webrtc::MediaStreamInterface> stream_; |
HostVideoStatsDispatcher video_stats_dispatcher_; |
- // Timestamps for the frame to be captured next. |
- std::unique_ptr<FrameTimestamps> next_frame_timestamps_; |
- |
// Timestamps for the frame that's being captured. |
std::unique_ptr<FrameTimestamps> captured_frame_timestamps_; |