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 a4f6f3923b87c5ff4c6eaaf172f8b1509b9b4bb1..3412d6ec6da3e796cb485479a09af6c00fc8625f 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
@@ -27,6 +27,7 @@ |
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" |
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" |
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" |
+#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" |
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
@@ -474,8 +475,7 @@ rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildSR(const RtcpContext& ctx) { |
rtcp::SenderReport* report = new rtcp::SenderReport(); |
report->From(ssrc_); |
- report->WithNtpSec(ctx.ntp_sec_); |
- report->WithNtpFrac(ctx.ntp_frac_); |
+ report->WithNtp(NtpTime(ctx.ntp_sec_, ctx.ntp_frac_)); |
report->WithRtpTimestamp(rtp_timestamp); |
report->WithPacketCount(ctx.feedback_state_.packets_sent); |
report->WithOctetCount(ctx.feedback_state_.media_bytes_sent); |