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

Unified Diff: remoting/protocol/webrtc_dummy_video_encoder.h

Issue 2335923002: Add WebrtcCaptureScheduler interface. (Closed)
Patch Set: include <algorithm> Created 4 years, 3 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/protocol/BUILD.gn ('k') | remoting/protocol/webrtc_dummy_video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_dummy_video_encoder.h
diff --git a/remoting/protocol/webrtc_dummy_video_encoder.h b/remoting/protocol/webrtc_dummy_video_encoder.h
index 51426d8bc7d801508d5caf6b57f36dc2caf7314d..0f1a7344d761f76fdb0fea2208e9686e1a3d81e3 100644
--- a/remoting/protocol/webrtc_dummy_video_encoder.h
+++ b/remoting/protocol/webrtc_dummy_video_encoder.h
@@ -45,7 +45,7 @@ class WebrtcDummyVideoEncoder : public webrtc::VideoEncoder {
int32_t SetRates(uint32_t bitrate, uint32_t framerate) override;
webrtc::EncodedImageCallback::Result SendEncodedFrame(
- std::unique_ptr<WebrtcVideoEncoder::EncodedFrame> frame,
+ const WebrtcVideoEncoder::EncodedFrame& frame,
base::TimeTicks capture_time);
void SetKeyFrameRequestCallback(const base::Closure& key_frame_request);
void SetTargetBitrateCallback(const TargetBitrateCallback& target_bitrate_cb);
@@ -81,7 +81,7 @@ class WebrtcDummyVideoEncoderFactory
void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override;
webrtc::EncodedImageCallback::Result SendEncodedFrame(
- std::unique_ptr<WebrtcVideoEncoder::EncodedFrame> packet,
+ const WebrtcVideoEncoder::EncodedFrame& packet,
base::TimeTicks capture_time);
void SetKeyFrameRequestCallback(const base::Closure& key_frame_request);
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/webrtc_dummy_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698