Delete setting of unused variable nack_window_ms
Dead code accidentally kept in cl https://webrtc-review.googlesource.com/c/src/+/103640 Bug: webrtc:9801 Change-Id: Id7a8a8282e4eeeabc7e95486f4f96d4594711a26 Reviewed-on: https://webrtc-review.googlesource.com/c/117563 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26263}
This commit is contained in:
parent
173d198020
commit
36faf0b397
@ -52,8 +52,6 @@ namespace voe {
|
||||
namespace {
|
||||
|
||||
constexpr double kAudioSampleDurationSeconds = 0.01;
|
||||
constexpr int64_t kMaxRetransmissionWindowMs = 1000;
|
||||
constexpr int64_t kMinRetransmissionWindowMs = 30;
|
||||
|
||||
// Video Sync.
|
||||
constexpr int kVoiceEngineMinMinPlayoutDelayMs = 0;
|
||||
@ -697,13 +695,6 @@ bool ChannelReceive::ReceivedRTCPPacket(const uint8_t* data, size_t length) {
|
||||
return true;
|
||||
}
|
||||
|
||||
int64_t nack_window_ms = rtt;
|
||||
if (nack_window_ms < kMinRetransmissionWindowMs) {
|
||||
nack_window_ms = kMinRetransmissionWindowMs;
|
||||
} else if (nack_window_ms > kMaxRetransmissionWindowMs) {
|
||||
nack_window_ms = kMaxRetransmissionWindowMs;
|
||||
}
|
||||
|
||||
uint32_t ntp_secs = 0;
|
||||
uint32_t ntp_frac = 0;
|
||||
uint32_t rtp_timestamp = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user