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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_sender.cc

Issue 1369263002: Unify Transport and newapi::Transport interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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
Index: webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
index 8b7bbb3d023cf66dfc3ac925d6cb560390e6481e..fac712dbbff89d43c252d2a1029ea0d71df12017 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
@@ -1117,7 +1117,7 @@ bool RTCPSender::PrepareReport(const FeedbackState& feedback_state,
int32_t RTCPSender::SendToNetwork(const uint8_t* dataBuffer, size_t length) {
CriticalSectionScoped lock(critical_section_transport_.get());
if (cbTransport_) {
- if (cbTransport_->SendRTCPPacket(dataBuffer, length) > 0)
+ if (cbTransport_->SendRtcp(dataBuffer, length) > 0)
stefan-webrtc 2015/09/28 13:37:34 Returns bool
return 0;
}
return -1;
@@ -1220,7 +1220,7 @@ bool RTCPSender::SendFeedbackPacket(const rtcp::TransportFeedback& packet) {
: transport_(transport), send_failure_(false) {}
void OnPacketReady(uint8_t* data, size_t length) override {
- if (transport_->SendRTCPPacket(data, length) <= 0)
+ if (transport_->SendRtcp(data, length) <= 0)
stefan-webrtc 2015/09/28 13:37:34 Returns bool
send_failure_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698