diff options
Diffstat (limited to 'modules/rtp_rtcp/source/rtp_sender_video.cc')
-rw-r--r-- | modules/rtp_rtcp/source/rtp_sender_video.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/rtp_rtcp/source/rtp_sender_video.cc b/modules/rtp_rtcp/source/rtp_sender_video.cc index 4d819a80a9..ebca7aaa75 100644 --- a/modules/rtp_rtcp/source/rtp_sender_video.cc +++ b/modules/rtp_rtcp/source/rtp_sender_video.cc @@ -118,7 +118,7 @@ absl::optional<VideoPlayoutDelay> LoadVideoPlayoutDelayOverride( // Some packets can be skipped and the stream can still be decoded. Those // packets are less likely to be retransmitted if they are lost. -bool PacketWillLikelyBeRequestedForRestransmitionIfLost( +bool PacketWillLikelyBeRequestedForRestransmissionIfLost( const RTPVideoHeader& video_header) { return IsBaseLayer(video_header) && !(video_header.generic.has_value() @@ -442,7 +442,7 @@ void RTPSenderVideo::AddRtpHeaderExtensions(const RTPVideoHeader& video_header, first_packet && send_allocation_ != SendVideoLayersAllocation::kDontSend && (video_header.frame_type == VideoFrameType::kVideoFrameKey || - PacketWillLikelyBeRequestedForRestransmitionIfLost(video_header))) { + PacketWillLikelyBeRequestedForRestransmissionIfLost(video_header))) { VideoLayersAllocation allocation = allocation_.value(); allocation.resolution_and_frame_rate_is_valid = send_allocation_ == SendVideoLayersAllocation::kSendWithResolution; @@ -548,10 +548,10 @@ bool RTPSenderVideo::SendVideo(int payload_type, if (video_header.absolute_capture_time.has_value()) { video_header.absolute_capture_time = absolute_capture_time_sender_.OnSendPacket( - AbsoluteCaptureTimeSender::GetSource(single_packet->Ssrc(), - single_packet->Csrcs()), + AbsoluteCaptureTimeSender::GetSource(single_packet->Ssrc(), csrcs), single_packet->Timestamp(), kVideoPayloadTypeFrequency, - video_header.absolute_capture_time->absolute_capture_timestamp, + NtpTime( + video_header.absolute_capture_time->absolute_capture_timestamp), video_header.absolute_capture_time->estimated_capture_clock_offset); } @@ -733,7 +733,7 @@ bool RTPSenderVideo::SendVideo(int payload_type, } if (video_header.frame_type == VideoFrameType::kVideoFrameKey || - PacketWillLikelyBeRequestedForRestransmitionIfLost(video_header)) { + PacketWillLikelyBeRequestedForRestransmissionIfLost(video_header)) { // This frame will likely be delivered, no need to populate playout // delay extensions until it changes again. playout_delay_pending_ = false; |