| Index: remoting/protocol/webrtc_video_stream.h
|
| diff --git a/remoting/protocol/webrtc_video_stream.h b/remoting/protocol/webrtc_video_stream.h
|
| index 376eec02025d520b12943797e651a8537d7d6120..6d1d1c67250ee704937d3843fb9d888ec1e5cb4a 100644
|
| --- a/remoting/protocol/webrtc_video_stream.h
|
| +++ b/remoting/protocol/webrtc_video_stream.h
|
| @@ -52,8 +52,8 @@
|
| void SetObserver(Observer* observer) override;
|
|
|
| private:
|
| - struct FrameStats;
|
| - struct EncodedFrameWithStats;
|
| + struct FrameTimestamps;
|
| + struct EncodedFrameWithTimestamps;
|
|
|
| // webrtc::DesktopCapturer::Callback interface.
|
| void OnCaptureResult(webrtc::DesktopCapturer::Result result,
|
| @@ -67,12 +67,12 @@
|
| void CaptureNextFrame();
|
|
|
| // Task running on the encoder thread to encode the |frame|.
|
| - static EncodedFrameWithStats EncodeFrame(
|
| + static EncodedFrameWithTimestamps EncodeFrame(
|
| WebrtcVideoEncoder* encoder,
|
| std::unique_ptr<webrtc::DesktopFrame> frame,
|
| WebrtcVideoEncoder::FrameParams params,
|
| - std::unique_ptr<WebrtcVideoStream::FrameStats> stats);
|
| - void OnFrameEncoded(EncodedFrameWithStats frame);
|
| + std::unique_ptr<WebrtcVideoStream::FrameTimestamps> timestamps);
|
| + void OnFrameEncoded(EncodedFrameWithTimestamps frame);
|
|
|
| // Capturer used to capture the screen.
|
| std::unique_ptr<webrtc::DesktopCapturer> capturer_;
|
| @@ -90,8 +90,8 @@
|
|
|
| HostVideoStatsDispatcher video_stats_dispatcher_;
|
|
|
| - // Stats of the frame that's being captured.
|
| - std::unique_ptr<FrameStats> captured_frame_stats_;
|
| + // Timestamps for the frame that's being captured.
|
| + std::unique_ptr<FrameTimestamps> captured_frame_timestamps_;
|
|
|
| std::unique_ptr<WebrtcFrameScheduler> scheduler_;
|
|
|
|
|