1 /* 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_ 12 #define MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_ 13 14 #include "api/units/time_delta.h" 15 16 // Configuration file for RTP utilities (RTPSender, RTPReceiver ...) 17 namespace webrtc { 18 constexpr int kDefaultMaxReorderingThreshold = 50; // In sequence numbers. 19 constexpr int kRtcpMaxNackFields = 253; 20 21 constexpr TimeDelta RTCP_SEND_BEFORE_KEY_FRAME = TimeDelta::Millis(100); 22 constexpr int RTCP_MAX_REPORT_BLOCKS = 31; // RFC 3550 page 37 23 } // namespace webrtc 24 25 #endif // MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_ 26