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

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

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 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/rtp_sender.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender.cc
index 0c67c6920f87059c348ee855cc34a6a39a90a7f5..2ddc3564161ca1e1195eeb9f8b02b293871c4e67 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.cc
@@ -672,8 +672,8 @@ size_t RTPSender::SendPadData(size_t bytes,
break;
if (using_transport_seq && transport_feedback_observer_) {
- transport_feedback_observer_->OnPacketSent(PacketInfo(
- 0, now_ms, options.packet_id, length, true));
+ transport_feedback_observer_->OnSentPacket(
+ PacketInfo(0, now_ms, options.packet_id, length, true));
}
bytes_sent += padding_bytes_in_packet;
@@ -934,7 +934,7 @@ bool RTPSender::PrepareAndSendPacket(uint8_t* buffer,
media_has_been_sent_ = true;
}
if (using_transport_seq && transport_feedback_observer_) {
- transport_feedback_observer_->OnPacketSent(
+ transport_feedback_observer_->OnSentPacket(
PacketInfo(0, now_ms, options.packet_id, length, true));
}
UpdateRtpStats(buffer_to_send_ptr, length, rtp_header, send_over_rtx,

Powered by Google App Engine
This is Rietveld 408576698