/* * Copyright 2024 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.
*/
// Comparison used in the PayloadTypePicker bool MatchesForSdp(const cricket::Codec& codec_1, const cricket::Codec& codec_2);
// Comparison used for the Codec::Matches function bool MatchesWithCodecRules(const cricket::Codec& left_codec, const cricket::Codec& codec);
// Finds a codec in `codecs2` that matches `codec_to_match`, which is // a member of `codecs1`. If `codec_to_match` is an RED or RTX codec, both // the codecs themselves and their associated codecs must match. // The purpose of this function is that codecs1 and codecs2 are different // PT numbering spaces, and it is trying to find the codec in codecs2 // that has the same functionality as `codec_to_match` so that its PT // can be used in place of the original.
std::optional<cricket::Codec> FindMatchingCodec( const std::vector<cricket::Codec>& codecs1, const std::vector<cricket::Codec>& codecs2, const cricket::Codec& codec_to_match);
// Similar to `Codec::MatchesRtpCodec` but not an exact match of parameters. // Unspecified parameters are treated as default. bool IsSameRtpCodec(const cricket::Codec& codec, const RtpCodec& rtp_codec);
} // namespace webrtc
#endif// MEDIA_BASE_CODEC_COMPARATORS_H_
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.