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..9b4623d030e3590bf7180da88a1e3498a55ecdba 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 SetEventTimestampSource( |
+ scoped_refptr<InputEventTimestampSource> event_timestamp_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<InputEventTimestampSource> event_timestamp_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_; |