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

Unified Diff: remoting/protocol/webrtc_connection_to_client.cc

Issue 2329653002: Add WebrtcVideoEncoder interface (Closed)
Patch Set: win 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/video_frame_pump_unittest.cc ('k') | remoting/protocol/webrtc_dummy_video_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_connection_to_client.cc
diff --git a/remoting/protocol/webrtc_connection_to_client.cc b/remoting/protocol/webrtc_connection_to_client.cc
index bb7fa3cb74deed6172060cbb355e135ea6f6d07c..8d93ef63c83fbc2ae736c03bfa0fe5fcfd877188 100644
--- a/remoting/protocol/webrtc_connection_to_client.cc
+++ b/remoting/protocol/webrtc_connection_to_client.cc
@@ -79,12 +79,9 @@ void WebrtcConnectionToClient::OnInputEventReceived(int64_t timestamp) {
std::unique_ptr<VideoStream> WebrtcConnectionToClient::StartVideoStream(
std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer) {
- // TODO(isheriff): make this codec independent
- std::unique_ptr<VideoEncoder> video_encoder =
- WebrtcVideoEncoderVpx::CreateForVP8();
std::unique_ptr<WebrtcVideoStream> stream(new WebrtcVideoStream());
if (!stream->Start(std::move(desktop_capturer), transport_.get(),
- video_encode_task_runner_, std::move(video_encoder))) {
+ video_encode_task_runner_)) {
return nullptr;
}
return std::move(stream);
« no previous file with comments | « remoting/protocol/video_frame_pump_unittest.cc ('k') | remoting/protocol/webrtc_dummy_video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698