/* * Copyright (c) 2019 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.
*/
// Creates list of capabilities, which can be set on RtpTransceiverInterface via // RtpTransceiverInterface::SetCodecPreferences(...) to negotiate use of codecs // from list of `supported_codecs` which will match `video_codecs`. If flags // `ulpfec` or `flexfec` set to true corresponding FEC codec will be added. // FEC and RTX codecs will be added after required codecs. // // All codecs will be added only if they exists in the list of // `supported_codecs`. If multiple codecs from this list will match // `video_codecs`, then all of them will be added to the output // vector and they will be added in the same order, as they were in // `supported_codecs`.
std::vector<RtpCodecCapability> FilterVideoCodecCapabilities(
rtc::ArrayView<const VideoCodecConfig> video_codecs, bool use_rtx, bool use_ulpfec, bool use_flexfec,
rtc::ArrayView<const RtpCodecCapability> supported_codecs);
// Sdp, that should be as local description on the peer, that created it.
std::unique_ptr<SessionDescriptionInterface> local_sdp; // Sdp, that should be set as remote description on the peer opposite to the // one, who created it.
std::unique_ptr<SessionDescriptionInterface> remote_sdp;
};
private: // Contains information about simulcast section, that is required to perform // modified offer/answer and ice candidates exchange. struct SimulcastSectionInfo {
SimulcastSectionInfo(const std::string& mid,
cricket::MediaProtocolType media_protocol_type, const std::vector<cricket::RidDescription>& rids_desc);
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.