3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/ContentSource.h"
7#include "mc/external/cricket/MediaType.h"
8#include "mc/external/rtc/SSLRole.h"
9#include "mc/external/webrtc/AddIceCandidateResult.h"
10#include "mc/external/webrtc/PeerConnectionInterface.h"
11#include "mc/external/webrtc/RTCErrorOr.h"
12#include "mc/external/webrtc/RTCErrorType.h"
13#include "mc/external/webrtc/RtpTransceiverDirection.h"
14#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
15#include "mc/external/webrtc/SdpType.h"
16#include "mc/external/webrtc/scoped_refptr.h"
20namespace cricket {
class AudioContentDescription; }
21namespace cricket {
class Candidate; }
22namespace cricket {
class ContentGroup; }
23namespace cricket {
class ContentInfo; }
24namespace cricket {
class MediaEngineInterface; }
25namespace cricket {
class PortAllocator; }
26namespace cricket {
class SessionDescription; }
27namespace cricket {
class VideoContentDescription; }
28namespace cricket {
struct MediaDescriptionOptions; }
29namespace cricket {
struct MediaSessionOptions; }
30namespace cricket {
struct StreamParams; }
31namespace rtc {
class Thread; }
32namespace webrtc {
class AudioTrackInterface; }
33namespace webrtc {
class ConnectionContext; }
34namespace webrtc {
class CreateSessionDescriptionObserver; }
35namespace webrtc {
class DataChannelController; }
36namespace webrtc {
class IceCandidateInterface; }
37namespace webrtc {
class JsepIceCandidate; }
38namespace webrtc {
class JsepTransportController; }
39namespace webrtc {
class MediaStreamInterface; }
40namespace webrtc {
class PeerConnectionSdpMethods; }
41namespace webrtc {
class RTCError; }
42namespace webrtc {
class RtpReceiverInternal; }
43namespace webrtc {
class RtpTransceiver; }
44namespace webrtc {
class RtpTransceiverInterface; }
45namespace webrtc {
class RtpTransmissionManager; }
46namespace webrtc {
class SessionDescriptionInterface; }
47namespace webrtc {
class SetLocalDescriptionObserverInterface; }
48namespace webrtc {
class SetRemoteDescriptionObserverInterface; }
49namespace webrtc {
class SetSessionDescriptionObserver; }
50namespace webrtc {
class StreamCollection; }
51namespace webrtc {
class StreamCollectionInterface; }
52namespace webrtc {
class TransceiverList; }
53namespace webrtc {
class VideoTrackInterface; }
54namespace webrtc {
struct PeerConnectionDependencies; }
69 enum class SessionError : uint {};
99 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
101 ::std::function<
void()>
106 MCNAPI
void SetError(::webrtc::RTCErrorType, ::std::string);
118 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
120 ::std::function<
void()>
164 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
165 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
172 MCNAPI ::webrtc::RTCErrorOr<
175 ::cricket::ContentSource,
216 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
230 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
233 MCNAPI ::webrtc::RTCErrorOr<::cricket::ContentInfo const*>
236 MCNAPI ::cricket::ContentInfo
const*
241 ::webrtc::RtpTransceiverDirection,
242 ::webrtc::RtpTransceiverDirection,
243 ::std::optional<uint64>*,
244 ::std::optional<uint64>*,
245 ::std::optional<uint64>*,
285 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
331 ::cricket::ContentSource,
332 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
363 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
365 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>*
370 MCNAPI ::webrtc::RTCError
Rollback(::webrtc::SdpType);
378 ::std::vector<::std::string>
const&,
390 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
395 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>,
403 MCNAPI
void SetSessionError(::webrtc::SdpOfferAnswerHandler::SessionError, ::std::string
const&);
407 MCNAPI ::webrtc::RTCError
417 ::cricket::ContentSource,
418 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
422 ::std::vector<::cricket::StreamParams>
const&,
424 ::cricket::MediaType,
430 ::cricket::ContentSource,
432 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
442 ::cricket::ContentSource,
446 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
455 ::cricket::ContentSource,
456 ::std::map<::std::string, ::cricket::ContentGroup const*>
const&
463 MCNAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface>
local_streams();
471 MCNAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface>
remote_streams();
489 MCNAPI static ::std::unique_ptr<::webrtc::SdpOfferAnswerHandler>
Create(
Definition AudioContentDescription.h:11
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition SessionDescription.h:18
Definition VideoContentDescription.h:11
Definition AudioTrackInterface.h:18
Definition ConnectionContext.h:17
Definition CreateSessionDescriptionObserver.h:16
Definition IceCandidateInterface.h:12
Definition JsepIceCandidate.h:13
Definition PeerConnectionSdpMethods.h:7
Definition RtpTransceiverProxyWithInternal.h:8
Definition RtpTransceiver.h:35
Definition SdpOfferAnswerHandler.h:71
MCAPI bool SatisfiesIceRestart(::webrtc::SessionDescriptionInterface const &) const
MCAPI void AppendIceCredentialsFromSessionDescription(::webrtc::SessionDescriptionInterface const &)
MCAPI void ClearIceCredentials()
Definition SdpOfferAnswerHandler.h:83
MCAPI void SetError(::webrtc::RTCErrorType, ::std::string)
MCAPI void InvalidParam(::std::string)
MCAPI void SetAsSessionError()
MCAPI RemoteDescriptionOperation(::webrtc::SdpOfferAnswerHandler *, ::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface >, ::std::function< void()>)
MCAPI void SignalCompletion()
MCAPI bool HaveSessionError()
MCAPI bool UpdateChannels()
MCAPI bool MaybeRollback()
MCAPI void * $ctor(::webrtc::SdpOfferAnswerHandler *, ::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface >, ::std::function< void()>)
Definition SdpOfferAnswerHandler.h:125
static MCAPI void ** $vftableForSetLocalDescriptionObserverInterface()
static MCAPI void ** $vftableForSetRemoteDescriptionObserverInterface()
MCAPI void OnSetDescriptionComplete(::webrtc::RTCError)
Definition SdpOfferAnswerHandler.h:59
MCAPI void SetRemoteDescriptionPostProcess(bool)
MCAPI void UpdateLocalSenders(::std::vector<::cricket::StreamParams > const &, ::cricket::MediaType)
MCAPI void OnVideoTrackAdded(::webrtc::VideoTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI bool ExpectSetLocalDescription(::webrtc::SdpType)
MCAPI::webrtc::RTCError UpdateTransceiverChannel(::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > >, ::cricket::ContentInfo const &, ::cricket::ContentGroup const *)
MCAPI::webrtc::RTCError PushdownTransportDescription(::cricket::ContentSource, ::webrtc::SdpType)
MCAPI::webrtc::TransceiverList const * transceivers() const
MCAPI void AllocateSctpSids()
MCAPI void UpdateNegotiationNeeded()
MCAPI void DoSetRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation >)
MCAPI::webrtc::RTCError Rollback(::webrtc::SdpType)
MCAPI void RemoveUnusedChannels(::cricket::SessionDescription const *)
MCAPI::webrtc::RTCError ReplaceRemoteDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::SdpType, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > *)
MCAPI void GetOptionsForPlanBAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI::webrtc::RTCError HandleLegacyOfferOptions(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &)
MCAPI void SetRemoteDescription(::webrtc::SetSessionDescriptionObserver *, ::webrtc::SessionDescriptionInterface *)
MCAPI void GetOptionsForPlanBOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > remote_streams()
MCAPI char const * SessionErrorToString(::webrtc::SdpOfferAnswerHandler::SessionError) const
MCAPI void RemoveRemoteStreamsIfEmpty(::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *)
MCAPI void DoCreateAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver >)
MCAPI::webrtc::DataChannelController * data_channel_controller()
MCAPI bool CheckIfNegotiationIsNeeded()
MCAPI void ChangeSignalingState(::webrtc::PeerConnectionInterface::SignalingState)
MCAPI bool HasNewIceCredentials()
MCAPI void DestroyMediaChannels()
MCAPI::webrtc::RTCError UpdateSessionState(::webrtc::SdpType, ::cricket::ContentSource, ::cricket::SessionDescription const *, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
MCAPI void OnVideoTrackRemoved(::webrtc::VideoTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI void DoSetLocalDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface >)
MCAPI void OnOperationsChainEmpty()
MCAPI void GenerateMediaDescriptionOptions(::webrtc::SessionDescriptionInterface const *, ::webrtc::RtpTransceiverDirection, ::webrtc::RtpTransceiverDirection, ::std::optional< uint64 > *, ::std::optional< uint64 > *, ::std::optional< uint64 > *, ::cricket::MediaSessionOptions *)
MCAPI bool ShouldFireNegotiationNeededEvent(uint)
MCAPI void OnAudioTrackRemoved(::webrtc::AudioTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI bool AddStream(::webrtc::MediaStreamInterface *)
MCAPI::webrtc::RTCError UpdateDataChannelTransport(::cricket::ContentSource, ::cricket::ContentInfo const &, ::cricket::ContentGroup const *)
MCAPI bool AddIceCandidate(::webrtc::IceCandidateInterface const *)
MCAPI void RemoveSenders(::cricket::MediaType)
MCAPI void RemoveStoppedTransceivers()
MCAPI void AddUpToOneReceivingTransceiverOfType(::cricket::MediaType)
MCAPI void RemoveStream(::webrtc::MediaStreamInterface *)
MCAPI void RemoveRecvDirectionFromReceivingTransceiversOfType(::cricket::MediaType)
MCAPI ::webrtc::RTCErrorOr<::cricket::ContentInfo const * > FindContentInfo(::webrtc::SessionDescriptionInterface const *, ::webrtc::IceCandidateInterface const *)
MCAPI void SetSessionError(::webrtc::SdpOfferAnswerHandler::SessionError, ::std::string const &)
static MCAPI void ** $vftable()
MCAPI::std::string GetSessionErrorMsg()
MCAPI void GetOptionsForUnifiedPlanOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI::webrtc::RtpTransmissionManager * rtp_manager()
MCAPI bool IsUnifiedPlan() const
MCAPI::cricket::PortAllocator * port_allocator()
MCAPI::cricket::ContentInfo const * FindMediaSectionForTransceiver(::webrtc::RtpTransceiver const *, ::webrtc::SessionDescriptionInterface const *) const
MCAPI void ProcessRemovalOfRemoteTrack(::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > >, ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > *, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *)
MCAPI void FillInMissingRemoteMids(::cricket::SessionDescription *)
MCAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > local_streams()
MCAPI::webrtc::RTCError ValidateSessionDescription(::webrtc::SessionDescriptionInterface const *, ::cricket::ContentSource, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
MCAPI void EnableSending()
static MCAPI ::std::unique_ptr<::webrtc::SdpOfferAnswerHandler > Create(::webrtc::PeerConnectionSdpMethods *, ::webrtc::PeerConnectionInterface::RTCConfiguration const &, ::webrtc::PeerConnectionDependencies &, ::webrtc::ConnectionContext *)
MCAPI void CreateAnswer(::webrtc::CreateSessionDescriptionObserver *, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > > GetReceivingTransceiversOfType(::cricket::MediaType)
MCAPI void GenerateNegotiationNeededEvent()
MCAPI ::std::optional< bool > is_caller() const
MCAPI SdpOfferAnswerHandler(::webrtc::PeerConnectionSdpMethods *, ::webrtc::ConnectionContext *)
MCAPI void ApplyRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation >)
MCAPI::webrtc::RTCError CreateChannels(::cricket::SessionDescription const &)
MCAPI bool UseCandidatesInRemoteDescription()
MCAPI void SetLocalDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface >)
MCAPI void CreateOffer(::webrtc::CreateSessionDescriptionObserver *, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &)
MCAPI void GetOptionsForOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI void DoCreateOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver >)
MCAPI::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForRejectedData(::std::string const &) const
MCAPI::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForActiveData(::std::string const &) const
MCAPI::webrtc::AddIceCandidateResult AddIceCandidateInternal(::webrtc::IceCandidateInterface const *)
MCAPI void SetAssociatedRemoteStreams(::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *)
MCAPI bool ConfiguredForMedia() const
MCAPI::webrtc::JsepTransportController * transport_controller_n()
MCAPI void PrepareForShutdown()
MCAPI::webrtc::JsepTransportController const * transport_controller_s() const
MCAPI void UpdateEndedRemoteMediaStreams()
MCAPI::webrtc::RTCError UpdateTransceiversAndDataChannels(::cricket::ContentSource, ::webrtc::SessionDescriptionInterface const &, ::webrtc::SessionDescriptionInterface const *, ::webrtc::SessionDescriptionInterface const *, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
MCAPI::webrtc::RTCError PushdownMediaDescription(::webrtc::SdpType, ::cricket::ContentSource, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
MCAPI void SetLocalDescription(::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface >)
MCAPI void PlanBUpdateSendersAndReceivers(::cricket::ContentInfo const *, ::cricket::AudioContentDescription const *, ::cricket::ContentInfo const *, ::cricket::VideoContentDescription const *)
MCAPI void UpdateRemoteSendersList(::std::vector<::cricket::StreamParams > const &, bool, ::cricket::MediaType, ::webrtc::StreamCollection *)
MCAPI::rtc::Thread * network_thread() const
MCAPI void AddLocalIceCandidate(::webrtc::JsepIceCandidate const *)
MCAPI void RemoveLocalIceCandidates(::std::vector<::cricket::Candidate > const &)
MCAPI void Initialize(::webrtc::PeerConnectionInterface::RTCConfiguration const &, ::webrtc::PeerConnectionDependencies &, ::webrtc::ConnectionContext *)
MCAPI void SetRemoteDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface >)
MCAPI ::webrtc::RTCErrorOr< ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > > AssociateTransceiver(::cricket::ContentSource, ::webrtc::SdpType, uint64, ::cricket::ContentInfo const &, ::cricket::ContentInfo const *, ::cricket::ContentInfo const *)
MCAPI::cricket::MediaEngineInterface * media_engine() const
MCAPI void OnAudioTrackAdded(::webrtc::AudioTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI ::std::optional<::rtc::SSLRole > GuessSslRole() const
MCAPI bool UpdatePayloadTypeDemuxingState(::cricket::ContentSource, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
MCAPI void GetOptionsForUnifiedPlanAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI::webrtc::TransceiverList * transceivers()
MCAPI void AddIceCandidate(::std::unique_ptr<::webrtc::IceCandidateInterface >, ::std::function< void(::webrtc::RTCError)>)
MCAPI bool ExpectSetRemoteDescription(::webrtc::SdpType)
MCAPI bool RemoveIceCandidates(::std::vector<::cricket::Candidate > const &)
MCAPI void ApplyRemoteDescriptionUpdateTransceiverState(::webrtc::SdpType)
MCAPI void SetLocalDescription(::webrtc::SetSessionDescriptionObserver *)
MCAPI void SetLocalDescription(::webrtc::SetSessionDescriptionObserver *, ::webrtc::SessionDescriptionInterface *)
MCAPI bool ReadyToUseRemoteCandidate(::webrtc::IceCandidateInterface const *, ::webrtc::SessionDescriptionInterface const *, bool *)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > FindAvailableTransceiverToReceive(::cricket::MediaType) const
MCAPI bool UseCandidate(::webrtc::IceCandidateInterface const *)
MCAPI::webrtc::JsepTransportController * transport_controller_s()
MCAPI void * $ctor(::webrtc::PeerConnectionSdpMethods *, ::webrtc::ConnectionContext *)
MCAPI void GetOptionsForAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &, ::cricket::MediaSessionOptions *)
MCAPI::webrtc::RTCError ApplyLocalDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::std::map<::std::string, ::cricket::ContentGroup const * > const &)
Definition SessionDescriptionInterface.h:18
Definition SetSessionDescriptionObserver.h:15
Definition StreamCollection.h:15
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8
Definition PeerConnectionDependencies.h:12
Definition PeerConnectionInterface.h:193
Definition PeerConnectionInterface.h:279