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

Side by Side Diff: remoting/protocol/webrtc_video_stream.cc

Issue 1745923002: Remove use of deprecated methods to cricket::VideoCapturer in WebrtcVideoCapturerAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/webrtc_video_capturer_adapter.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/webrtc_video_stream.h" 5 #include "remoting/protocol/webrtc_video_stream.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/protocol/webrtc_video_capturer_adapter.h" 8 #include "remoting/protocol/webrtc_video_capturer_adapter.h"
9 #include "third_party/webrtc/api/mediastreaminterface.h" 9 #include "third_party/webrtc/api/mediastreaminterface.h"
10 #include "third_party/webrtc/api/peerconnectioninterface.h" 10 #include "third_party/webrtc/api/peerconnectioninterface.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 stream_ = nullptr; 61 stream_ = nullptr;
62 connection_ = nullptr; 62 connection_ = nullptr;
63 return false; 63 return false;
64 } 64 }
65 65
66 return true; 66 return true;
67 } 67 }
68 68
69 void WebrtcVideoStream::Pause(bool pause) { 69 void WebrtcVideoStream::Pause(bool pause) {
70 if (capturer_adapter_) 70 if (capturer_adapter_)
71 capturer_adapter_->Pause(pause); 71 capturer_adapter_->PauseCapturer(pause);
72 } 72 }
73 73
74 void WebrtcVideoStream::OnInputEventReceived(int64_t event_timestamp) { 74 void WebrtcVideoStream::OnInputEventReceived(int64_t event_timestamp) {
75 NOTIMPLEMENTED(); 75 NOTIMPLEMENTED();
76 } 76 }
77 77
78 void WebrtcVideoStream::SetLosslessEncode(bool want_lossless) { 78 void WebrtcVideoStream::SetLosslessEncode(bool want_lossless) {
79 NOTIMPLEMENTED(); 79 NOTIMPLEMENTED();
80 } 80 }
81 81
82 void WebrtcVideoStream::SetLosslessColor(bool want_lossless) { 82 void WebrtcVideoStream::SetLosslessColor(bool want_lossless) {
83 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
84 } 84 }
85 85
86 void WebrtcVideoStream::SetSizeCallback(const SizeCallback& size_callback) { 86 void WebrtcVideoStream::SetSizeCallback(const SizeCallback& size_callback) {
87 if (capturer_adapter_) 87 if (capturer_adapter_)
88 capturer_adapter_->SetSizeCallback(size_callback); 88 capturer_adapter_->SetSizeCallback(size_callback);
89 } 89 }
90 90
91 } // namespace protocol 91 } // namespace protocol
92 } // namespace remoting 92 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_video_capturer_adapter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698