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

Unified Diff: remoting/protocol/webrtc_transport.cc

Issue 1580823003: Implement client-side video stream support for WebRTC-based protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@packet_options_rem
Patch Set: Created 4 years, 11 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/webrtc_transport.h ('k') | remoting/protocol/webrtc_transport_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_transport.cc
diff --git a/remoting/protocol/webrtc_transport.cc b/remoting/protocol/webrtc_transport.cc
index cf3235e38addeb1e45118184933dd44f3cf8840f..76336cc7e4c5f2bd170d3b3792d4237b9485a38d 100644
--- a/remoting/protocol/webrtc_transport.cc
+++ b/remoting/protocol/webrtc_transport.cc
@@ -348,12 +348,12 @@ void WebrtcTransport::OnSignalingChange(
void WebrtcTransport::OnAddStream(webrtc::MediaStreamInterface* stream) {
DCHECK(thread_checker_.CalledOnValidThread());
- LOG(ERROR) << "Stream added " << stream->label();
+ event_handler_->OnWebrtcTransportMediaStreamAdded(stream);
}
void WebrtcTransport::OnRemoveStream(webrtc::MediaStreamInterface* stream) {
DCHECK(thread_checker_.CalledOnValidThread());
- LOG(ERROR) << "Stream removed " << stream->label();
+ event_handler_->OnWebrtcTransportMediaStreamRemoved(stream);
}
void WebrtcTransport::OnDataChannel(
« no previous file with comments | « remoting/protocol/webrtc_transport.h ('k') | remoting/protocol/webrtc_transport_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698