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

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

Issue 1247293002: Add support for transport wide sequence numbers (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Moved SendTimeHistory, comment Created 5 years, 5 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_rtcp_impl.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
index b92ac5920f1e1c72343dab498fedee9e1f2381bc..1ac1b489fe1aa88d43a098d8c3065a0d438159d1 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
@@ -30,19 +30,20 @@ RtpRtcp::Configuration::Configuration()
: id(-1),
audio(false),
receiver_only(false),
- clock(NULL),
+ clock(nullptr),
receive_statistics(NullObjectReceiveStatistics()),
- outgoing_transport(NULL),
- intra_frame_callback(NULL),
- bandwidth_callback(NULL),
- rtt_stats(NULL),
- rtcp_packet_type_counter_observer(NULL),
+ outgoing_transport(nullptr),
+ intra_frame_callback(nullptr),
+ bandwidth_callback(nullptr),
+ rtt_stats(nullptr),
+ rtcp_packet_type_counter_observer(nullptr),
audio_messages(NullObjectRtpAudioFeedback()),
- remote_bitrate_estimator(NULL),
- paced_sender(NULL),
- send_bitrate_observer(NULL),
- send_frame_count_observer(NULL),
- send_side_delay_observer(NULL) {
+ remote_bitrate_estimator(nullptr),
+ paced_sender(nullptr),
+ packet_router(nullptr),
+ send_bitrate_observer(nullptr),
+ send_frame_count_observer(nullptr),
+ send_side_delay_observer(nullptr) {
}
RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) {
@@ -65,6 +66,8 @@ ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration)
configuration.outgoing_transport,
configuration.audio_messages,
configuration.paced_sender,
+ configuration.packet_router,
+ configuration.send_time_callback,
configuration.send_bitrate_observer,
configuration.send_frame_count_observer,
configuration.send_side_delay_observer),

Powered by Google App Engine
This is Rietveld 408576698