| 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);
|
|
|