Disable pacer disabling.
Since the pacer is always enabled, removing enable/disable which makes all packet queueing succeed. Also renaming one of the ::SendPackets ::InsertPacket to avoid confusion. BUG=webrtc:1695, webrtc:2629 R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1392513002 . Cr-Commit-Position: refs/heads/master@{#10211}
This commit is contained in:
@ -93,7 +93,7 @@ ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration)
|
||||
nack_last_time_sent_full_(0),
|
||||
nack_last_time_sent_full_prev_(0),
|
||||
nack_last_seq_number_sent_(0),
|
||||
key_frame_req_method_(kKeyFrameReqFirRtp),
|
||||
key_frame_req_method_(kKeyFrameReqPliRtcp),
|
||||
remote_bitrate_(configuration.remote_bitrate_estimator),
|
||||
rtt_stats_(configuration.rtt_stats),
|
||||
critical_section_rtt_(CriticalSectionWrapper::CreateCriticalSection()),
|
||||
@ -811,8 +811,6 @@ int32_t ModuleRtpRtcpImpl::SetKeyFrameRequestMethod(
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::RequestKeyFrame() {
|
||||
switch (key_frame_req_method_) {
|
||||
case kKeyFrameReqFirRtp:
|
||||
return rtp_sender_.SendRTPIntraRequest();
|
||||
case kKeyFrameReqPliRtcp:
|
||||
return SendRTCP(kRtcpPli);
|
||||
case kKeyFrameReqFirRtcp:
|
||||
|
||||
Reference in New Issue
Block a user