mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00

This change migrates RTCPSender to use webrtc::Timestamp, preparing for later improvements regarding bugs.webrtc.org/11581. Fixed: webrtc:12873 Change-Id: I1159701dc373883367d9b2c86823f8fb59904d55 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/222324 Commit-Queue: Markus Handell <handellm@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34346}
25 lines
971 B
C++
25 lines
971 B
C++
/*
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_
|
|
#define MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_
|
|
|
|
#include "api/units/time_delta.h"
|
|
|
|
// Configuration file for RTP utilities (RTPSender, RTPReceiver ...)
|
|
namespace webrtc {
|
|
constexpr int kDefaultMaxReorderingThreshold = 5; // In sequence numbers.
|
|
constexpr int kRtcpMaxNackFields = 253;
|
|
|
|
constexpr TimeDelta RTCP_SEND_BEFORE_KEY_FRAME = TimeDelta::Millis(100);
|
|
constexpr int RTCP_MAX_REPORT_BLOCKS = 31; // RFC 3550 page 37
|
|
} // namespace webrtc
|
|
|
|
#endif // MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_
|