/* * Copyright 2020 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 PC_TRANSCEIVER_LIST_H_ #define PC_TRANSCEIVER_LIST_H_ #include <stddef.h> #include <algorithm> #include <map> #include <string> #include <vector> #include "absl/types/optional.h" #include "api/media_types.h" #include "api/rtc_error.h" #include "api/rtp_parameters.h" #include "api/rtp_sender_interface.h" #include "api/scoped_refptr.h" #include "api/sequence_checker.h" #include "pc/rtp_transceiver.h" #include "rtc_base/checks.h" #include "rtc_base/system/no_unique_address.h" #include "rtc_base/thread_annotations.h" namespace webrtc { RtpTransceiverProxyRefPtr; // Captures partial state to be used for rollback. Applicable only in // Unified Plan. class TransceiverStableState { … }; // This class encapsulates the active list of transceivers on a // PeerConnection, and offers convenient functions on that list. // It is a single-thread class; all operations must be performed // on the same thread. class TransceiverList { … }; } // namespace webrtc #endif // PC_TRANSCEIVER_LIST_H_