chromium/third_party/webrtc/media/base/media_constants.cc

/*
 *  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.
 */

#include "media/base/media_constants.h"

namespace cricket {

const int kVideoCodecClockrate =;

const int kVideoMtu =;
const int kVideoRtpSendBufferSize =;
const int kVideoRtpRecvBufferSize =;

const float kHighSystemCpuThreshold =;
const float kLowSystemCpuThreshold =;
const float kProcessCpuThreshold =;

const char kRedCodecName[] =;
const char kUlpfecCodecName[] =;

// TODO(brandtr): Change this to 'flexfec' when we are confident that the
// header format is not changing anymore.
const char kFlexfecCodecName[] =;

// draft-ietf-payload-flexible-fec-scheme-02.txt
const char kFlexfecFmtpRepairWindow[] =;

// RFC 4588 RTP Retransmission Payload Format
const char kRtxCodecName[] =;
const char kCodecParamRtxTime[] =;
const char kCodecParamAssociatedPayloadType[] =;

const char kCodecParamAssociatedCodecName[] =;
// Parameters that do not follow the key-value convention
// are treated as having the empty string as key.
const char kCodecParamNotInNameValueFormat[] =;

const char kOpusCodecName[] =;
const char kL16CodecName[] =;
const char kG722CodecName[] =;
const char kIlbcCodecName[] =;
const char kPcmuCodecName[] =;
const char kPcmaCodecName[] =;
const char kCnCodecName[] =;
const char kDtmfCodecName[] =;

// draft-spittka-payload-rtp-opus-03.txt
const char kCodecParamPTime[] =;
const char kCodecParamMaxPTime[] =;
const char kCodecParamMinPTime[] =;
const char kCodecParamSPropStereo[] =;
const char kCodecParamStereo[] =;
const char kCodecParamUseInbandFec[] =;
const char kCodecParamUseDtx[] =;
const char kCodecParamMaxAverageBitrate[] =;
const char kCodecParamMaxPlaybackRate[] =;

const char kParamValueTrue[] =;
const char kParamValueEmpty[] =;

const int kOpusDefaultMaxPTime =;
const int kOpusDefaultPTime =;
const int kOpusDefaultMinPTime =;
const int kOpusDefaultSPropStereo =;
const int kOpusDefaultStereo =;
const int kOpusDefaultUseInbandFec =;
const int kOpusDefaultUseDtx =;
const int kOpusDefaultMaxPlaybackRate =;

const int kPreferredMaxPTime =;
const int kPreferredMinPTime =;
const int kPreferredSPropStereo =;
const int kPreferredStereo =;
const int kPreferredUseInbandFec =;

const char kPacketizationParamRaw[] =;

const char kRtcpFbParamLntf[] =;
const char kRtcpFbParamNack[] =;
const char kRtcpFbNackParamPli[] =;
const char kRtcpFbParamRemb[] =;
const char kRtcpFbParamTransportCc[] =;

const char kRtcpFbParamCcm[] =;
const char kRtcpFbCcmParamFir[] =;
const char kRtcpFbParamRrtr[] =;
const char kCodecParamMaxBitrate[] =;
const char kCodecParamMinBitrate[] =;
const char kCodecParamStartBitrate[] =;
const char kCodecParamMaxQuantization[] =;
const char kCodecParamPerLayerPictureLossIndication[] =;

const char kComfortNoiseCodecName[] =;

const char kVp8CodecName[] =;
const char kVp9CodecName[] =;
const char kAv1CodecName[] =;
const char kH264CodecName[] =;
const char kH265CodecName[] =;

// RFC 6184 RTP Payload Format for H.264 video
const char kH264FmtpProfileLevelId[] =;
const char kH264FmtpLevelAsymmetryAllowed[] =;
const char kH264FmtpPacketizationMode[] =;
const char kH264FmtpSpropParameterSets[] =;
const char kH264FmtpSpsPpsIdrInKeyframe[] =;
const char kH264ProfileLevelConstrainedBaseline[] =;
const char kH264ProfileLevelConstrainedHigh[] =;

// RFC 7798 RTP Payload Format for H.265 video
const char kH265FmtpProfileSpace[] =;
const char kH265FmtpTierFlag[] =;
const char kH265FmtpProfileId[] =;
const char kH265FmtpLevelId[] =;
const char kH265FmtpProfileCompatibilityIndicator[] =;
const char kH265FmtpInteropConstraints[] =;
const char kH265FmtpTxMode[] =;

// draft-ietf-payload-vp9
const char kVP9ProfileId[] =;

// https://aomediacodec.github.io/av1-rtp-spec/
const char kAv1FmtpProfile[] =;
const char kAv1FmtpLevelIdx[] =;
const char kAv1FmtpTier[] =;

const int kDefaultVideoMaxFramerate =;
// Max encode quantizer for VP8/9 and AV1 encoders assuming libvpx/libaom API
// range [0, 63]
const int kDefaultVideoMaxQpVpx =;
// Max encode quantizer for H264/5 assuming the bitstream range [0, 51].
const int kDefaultVideoMaxQpH26x =;

const size_t kConferenceMaxNumSpatialLayers =;
const size_t kConferenceMaxNumTemporalLayers =;
const size_t kConferenceDefaultNumTemporalLayers =;

// RFC 3556 and RFC 3890
const char kApplicationSpecificBandwidth[] =;
const char kTransportSpecificBandwidth[] =;
}  // namespace cricket