#include "third_party/blink/renderer/modules/peerconnection/transceiver_state_surfacer.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/webrtc/api/rtp_transceiver_interface.h"
#include "third_party/webrtc/api/sctp_transport_interface.h"
namespace blink {
namespace {
Vector<webrtc::RtpHeaderExtensionCapability> GetNegotiatedHeaderExtensions(
const webrtc::RtpTransceiverInterface* webrtc_transceiver) { … }
}
TransceiverStateSurfacer::TransceiverStateSurfacer(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> signaling_task_runner)
: … { … }
TransceiverStateSurfacer::TransceiverStateSurfacer(
TransceiverStateSurfacer&& other)
: … { … }
TransceiverStateSurfacer::~TransceiverStateSurfacer() { … }
void TransceiverStateSurfacer::Initialize(
rtc::scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection,
scoped_refptr<blink::WebRtcMediaStreamTrackAdapterMap> track_adapter_map,
std::vector<rtc::scoped_refptr<webrtc::RtpTransceiverInterface>>
webrtc_transceivers) { … }
blink::WebRTCSctpTransportSnapshot
TransceiverStateSurfacer::SctpTransportSnapshot() { … }
std::vector<blink::RtpTransceiverState>
TransceiverStateSurfacer::ObtainStates() { … }
}