LeviLamina
Loading...
Searching...
No Matches
SdpOfferAnswerHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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/CreateSessionDescriptionObserver.h"
11#include "mc/external/webrtc/PeerConnectionInterface.h"
12#include "mc/external/webrtc/RTCErrorOr.h"
13#include "mc/external/webrtc/RTCErrorType.h"
14#include "mc/external/webrtc/RtpTransceiverDirection.h"
15#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
16#include "mc/external/webrtc/SdpStateProvider.h"
17#include "mc/external/webrtc/SdpType.h"
18#include "mc/external/webrtc/SetLocalDescriptionObserverInterface.h"
19#include "mc/external/webrtc/SetRemoteDescriptionObserverInterface.h"
20#include "mc/external/webrtc/scoped_refptr.h"
21
22// auto generated forward declare list
23// clang-format off
24namespace cricket { class AudioContentDescription; }
25namespace cricket { class Candidate; }
26namespace cricket { class ContentGroup; }
27namespace cricket { class ContentInfo; }
28namespace cricket { class SessionDescription; }
29namespace cricket { class VideoContentDescription; }
30namespace cricket { struct MediaSessionOptions; }
31namespace cricket { struct StreamParams; }
32namespace webrtc { class ConnectionContext; }
33namespace webrtc { class IceCandidateInterface; }
34namespace webrtc { class JsepIceCandidate; }
35namespace webrtc { class MediaStreamInterface; }
36namespace webrtc { class PeerConnectionSdpMethods; }
37namespace webrtc { class RTCError; }
38namespace webrtc { class RtpReceiverInternal; }
39namespace webrtc { class RtpTransceiver; }
40namespace webrtc { class RtpTransceiverInterface; }
41namespace webrtc { class SessionDescriptionInterface; }
42namespace webrtc { class SetSessionDescriptionObserver; }
43namespace webrtc { class StreamCollection; }
44namespace webrtc { class StreamCollectionInterface; }
45namespace webrtc { class TransceiverList; }
46namespace webrtc { struct PeerConnectionDependencies; }
47// clang-format on
48
49namespace webrtc {
50
51class SdpOfferAnswerHandler : public ::webrtc::SdpStateProvider {
52public:
53 // SdpOfferAnswerHandler inner types declare
54 // clang-format off
59 // clang-format on
60
61 // SdpOfferAnswerHandler inner types define
62 enum class SessionError : int {
63 KNone = 0,
64 KContent = 1,
65 KTransport = 2,
66 };
67
68 class ImplicitCreateSessionDescriptionObserver : public ::webrtc::CreateSessionDescriptionObserver {
69 public:
70 // member variables
71 // NOLINTBEGIN
76 // NOLINTEND
77
78 public:
79 // prevent constructor by default
80 ImplicitCreateSessionDescriptionObserver& operator=(ImplicitCreateSessionDescriptionObserver const&);
81 ImplicitCreateSessionDescriptionObserver(ImplicitCreateSessionDescriptionObserver const&);
82 ImplicitCreateSessionDescriptionObserver();
83
84 public:
85 // virtual functions
86 // NOLINTBEGIN
87 virtual ~ImplicitCreateSessionDescriptionObserver() /*override*/;
88
89 virtual void OnSuccess(::webrtc::SessionDescriptionInterface* desc_ptr) /*override*/;
90
91 virtual void OnFailure(::webrtc::RTCError error) /*override*/;
92 // NOLINTEND
93
94 public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCNAPI void $dtor();
98 // NOLINTEND
99
100 public:
101 // virtual function thunks
102 // NOLINTBEGIN
104
105 MCNAPI void $OnFailure(::webrtc::RTCError error);
106
107
108 // NOLINTEND
109
110 public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftable();
114 // NOLINTEND
115 };
116
117 class LocalIceCredentialsToReplace {
118 public:
119 // member variables
120 // NOLINTBEGIN
122 // NOLINTEND
123
124 public:
125 // prevent constructor by default
126 LocalIceCredentialsToReplace& operator=(LocalIceCredentialsToReplace const&);
127 LocalIceCredentialsToReplace(LocalIceCredentialsToReplace const&);
128 LocalIceCredentialsToReplace();
129
130 public:
131 // member functions
132 // NOLINTBEGIN
134
135 MCNAPI void ClearIceCredentials();
136
137 MCNAPI bool SatisfiesIceRestart(::webrtc::SessionDescriptionInterface const& local_description) const;
138 // NOLINTEND
139 };
140
141 class RemoteDescriptionOperation {
142 public:
143 // member variables
144 // NOLINTBEGIN
154 // NOLINTEND
155
156 public:
157 // prevent constructor by default
158 RemoteDescriptionOperation& operator=(RemoteDescriptionOperation const&);
159 RemoteDescriptionOperation(RemoteDescriptionOperation const&);
160 RemoteDescriptionOperation();
161
162 public:
163 // member functions
164 // NOLINTBEGIN
165 MCNAPI bool HaveSessionError();
166
167 MCNAPI void InvalidParam(::std::string message);
168
169 MCNAPI bool MaybeRollback();
170
173 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
175 ::std::function<void()> operations_chain_callback
176 );
177
178 MCNAPI void SetAsSessionError();
179
180 MCNAPI void SetError(::webrtc::RTCErrorType type, ::std::string message);
181
182 MCNAPI void SignalCompletion();
183 // NOLINTEND
184
185 public:
186 // constructor thunks
187 // NOLINTBEGIN
188 MCNAPI void* $ctor(
190 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
192 ::std::function<void()> operations_chain_callback
193 );
194 // NOLINTEND
195 };
196
197 class SetSessionDescriptionObserverAdapter : public ::webrtc::SetLocalDescriptionObserverInterface,
199 public:
200 // member variables
201 // NOLINTBEGIN
204 // NOLINTEND
205
206 public:
207 // prevent constructor by default
208 SetSessionDescriptionObserverAdapter& operator=(SetSessionDescriptionObserverAdapter const&);
209 SetSessionDescriptionObserverAdapter(SetSessionDescriptionObserverAdapter const&);
210 SetSessionDescriptionObserverAdapter();
211
212 public:
213 // virtual functions
214 // NOLINTBEGIN
215 virtual void OnSetLocalDescriptionComplete(::webrtc::RTCError error) /*override*/;
216
217 virtual void OnSetRemoteDescriptionComplete(::webrtc::RTCError error) /*override*/;
218
219 virtual ~SetSessionDescriptionObserverAdapter() /*override*/ = default;
220 // NOLINTEND
221
222 public:
223 // member functions
224 // NOLINTBEGIN
226 // NOLINTEND
227
228 public:
229 // virtual function thunks
230 // NOLINTBEGIN
232
234
235
236 // NOLINTEND
237
238 public:
239 // vftables
240 // NOLINTBEGIN
242
244 // NOLINTEND
245 };
246
247public:
248 // member variables
249 // NOLINTBEGIN
281 // NOLINTEND
282
283public:
284 // prevent constructor by default
285 SdpOfferAnswerHandler& operator=(SdpOfferAnswerHandler const&);
286 SdpOfferAnswerHandler(SdpOfferAnswerHandler const&);
287 SdpOfferAnswerHandler();
288
289public:
290 // virtual functions
291 // NOLINTBEGIN
292 virtual ~SdpOfferAnswerHandler() /*override*/;
293
294 virtual ::webrtc::PeerConnectionInterface::SignalingState signaling_state() const /*override*/;
295
296 virtual ::webrtc::SessionDescriptionInterface const* local_description() const /*override*/;
297
298 virtual ::webrtc::SessionDescriptionInterface const* remote_description() const /*override*/;
299
300 virtual ::webrtc::SessionDescriptionInterface const* current_local_description() const /*override*/;
301
302 virtual ::webrtc::SessionDescriptionInterface const* current_remote_description() const /*override*/;
303
304 virtual ::webrtc::SessionDescriptionInterface const* pending_local_description() const /*override*/;
305
306 virtual ::webrtc::SessionDescriptionInterface const* pending_remote_description() const /*override*/;
307
308 virtual bool NeedsIceRestart(::std::string const& content_name) const /*override*/;
309
310 virtual bool IceRestartPending(::std::string const& content_name) const /*override*/;
311
312 virtual ::std::optional<::rtc::SSLRole> GetDtlsRole(::std::string const& mid) const /*override*/;
313 // NOLINTEND
314
315public:
316 // member functions
317 // NOLINTBEGIN
318 MCNAPI bool AddIceCandidate(::webrtc::IceCandidateInterface const* ice_candidate);
319
320 MCNAPI void AddIceCandidate(
321 ::std::unique_ptr<::webrtc::IceCandidateInterface> candidate,
322 ::std::function<void(::webrtc::RTCError)> callback
323 );
324
325 MCNAPI ::webrtc::AddIceCandidateResult
326 AddIceCandidateInternal(::webrtc::IceCandidateInterface const* ice_candidate);
327
328 MCNAPI void AddLocalIceCandidate(::webrtc::JsepIceCandidate const* candidate);
329
330 MCNAPI bool AddStream(::webrtc::MediaStreamInterface* local_stream);
331
332 MCNAPI void AddUpToOneReceivingTransceiverOfType(::cricket::MediaType media_type);
333
334 MCNAPI void AllocateSctpSids();
335
337 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
338 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
339 );
340
341 MCNAPI void
342 ApplyRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation> operation);
343
344 MCNAPI void ApplyRemoteDescriptionUpdateTransceiverState(::webrtc::SdpType sdp_type);
345
346 MCNAPI ::webrtc::RTCErrorOr<
347 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
349 ::cricket::ContentSource source,
350 ::webrtc::SdpType type,
351 uint64 mline_index,
352 ::cricket::ContentInfo const& content,
353 ::cricket::ContentInfo const* old_local_content,
354 ::cricket::ContentInfo const* old_remote_content
355 );
356
357 MCNAPI void ChangeSignalingState(::webrtc::PeerConnectionInterface::SignalingState signaling_state);
358
360
361 MCNAPI void Close();
362
363 MCNAPI void CreateAnswer(
364 ::webrtc::CreateSessionDescriptionObserver* observer,
365 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options
366 );
367
368 MCNAPI ::webrtc::RTCError CreateChannels(::cricket::SessionDescription const& desc);
369
370 MCNAPI void CreateOffer(
371 ::webrtc::CreateSessionDescriptionObserver* observer,
372 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options
373 );
374
375 MCNAPI void DestroyMediaChannels();
376
377 MCNAPI void DoCreateAnswer(
378 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options,
379 ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver> observer
380 );
381
382 MCNAPI void DoCreateOffer(
383 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options,
384 ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver> observer
385 );
386
388 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
389 ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface> observer
390 );
391
392 MCNAPI void
393 DoSetRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation> operation);
394
395 MCNAPI void EnableSending();
396
397 MCNAPI void FillInMissingRemoteMids(::cricket::SessionDescription* new_remote_description);
398
399 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
400 FindAvailableTransceiverToReceive(::cricket::MediaType media_type) const;
401
402 MCNAPI ::webrtc::RTCErrorOr<::cricket::ContentInfo const*> FindContentInfo(
403 ::webrtc::SessionDescriptionInterface const* description,
404 ::webrtc::IceCandidateInterface const* candidate
405 );
406
407 MCNAPI ::cricket::ContentInfo const* FindMediaSectionForTransceiver(
408 ::webrtc::RtpTransceiver const* transceiver,
409 ::webrtc::SessionDescriptionInterface const* sdesc
410 ) const;
411
413 ::webrtc::SessionDescriptionInterface const* session_desc,
414 ::webrtc::RtpTransceiverDirection audio_direction,
415 ::webrtc::RtpTransceiverDirection video_direction,
416 ::std::optional<uint64>* audio_index,
417 ::std::optional<uint64>* video_index,
418 ::std::optional<uint64>* data_index,
419 ::cricket::MediaSessionOptions* session_options
420 );
421
423
425 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
426 ::cricket::MediaSessionOptions* session_options
427 );
428
430 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
431 ::cricket::MediaSessionOptions* session_options
432 );
433
435 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
436 ::cricket::MediaSessionOptions* session_options
437 );
438
440 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
441 ::cricket::MediaSessionOptions* session_options
442 );
443
445 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
446 ::cricket::MediaSessionOptions* session_options
447 );
448
450 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
451 ::cricket::MediaSessionOptions* session_options
452 );
453
454 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
455 GetReceivingTransceiversOfType(::cricket::MediaType media_type);
456
457 MCNAPI ::std::string GetSessionErrorMsg();
458
459 MCNAPI ::std::optional<::rtc::SSLRole> GuessSslRole() const;
460
461 MCNAPI ::webrtc::RTCError
462 HandleLegacyOfferOptions(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options);
463
464 MCNAPI void Initialize(
465 ::webrtc::PeerConnectionInterface::RTCConfiguration const& configuration,
466 ::webrtc::PeerConnectionDependencies& dependencies,
467 ::webrtc::ConnectionContext* context
468 );
469
471 ::cricket::ContentInfo const* audio_content,
472 ::cricket::AudioContentDescription const* audio_desc,
473 ::cricket::ContentInfo const* video_content,
474 ::cricket::VideoContentDescription const* video_desc
475 );
476
477 MCNAPI void PrepareForShutdown();
478
480 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>> transceiver,
481 ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface>>* remove_list,
482 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
483 );
484
486 ::webrtc::SdpType type,
487 ::cricket::ContentSource source,
488 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
489 );
490
491 MCNAPI ::webrtc::RTCError PushdownTransportDescription(::cricket::ContentSource source, ::webrtc::SdpType type);
492
494 ::webrtc::IceCandidateInterface const* candidate,
495 ::webrtc::SessionDescriptionInterface const* remote_desc,
496 bool* valid
497 );
498
499 MCNAPI bool RemoveIceCandidates(::std::vector<::cricket::Candidate> const& candidates);
500
501 MCNAPI void RemoveLocalIceCandidates(::std::vector<::cricket::Candidate> const& candidates);
502
503 MCNAPI void RemoveRecvDirectionFromReceivingTransceiversOfType(::cricket::MediaType media_type);
504
506 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>> const& remote_streams,
507 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
508 );
509
510 MCNAPI void RemoveSenders(::cricket::MediaType media_type);
511
513
514 MCNAPI void RemoveStream(::webrtc::MediaStreamInterface* local_stream);
515
516 MCNAPI void RemoveUnusedChannels(::cricket::SessionDescription const* desc);
517
519 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
520 ::webrtc::SdpType sdp_type,
521 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>* replaced_description
522 );
523
524 MCNAPI void RestartIce();
525
526 MCNAPI ::webrtc::RTCError Rollback(::webrtc::SdpType desc_type);
527
528 MCNAPI SdpOfferAnswerHandler(::webrtc::PeerConnectionSdpMethods* pc, ::webrtc::ConnectionContext* context);
529
531 ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver,
532 ::std::vector<::std::string> const& stream_ids,
533 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* added_streams,
534 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
535 );
536
537 MCNAPI void SetLocalDescription(::webrtc::SetSessionDescriptionObserver* observer);
538
540
542 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
543 ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface> observer
544 );
545
547 ::webrtc::SetSessionDescriptionObserver* observer,
548 ::webrtc::SessionDescriptionInterface* desc_ptr
549 );
550
552 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
553 ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface> observer
554 );
555
557 ::webrtc::SetSessionDescriptionObserver* observer,
558 ::webrtc::SessionDescriptionInterface* desc_ptr
559 );
560
561 MCNAPI bool ShouldFireNegotiationNeededEvent(uint event_id);
562
564 ::cricket::ContentSource source,
565 ::cricket::ContentInfo const& content,
566 ::cricket::ContentGroup const* bundle_group
567 );
568
570
571 MCNAPI void
572 UpdateLocalSenders(::std::vector<::cricket::StreamParams> const& streams, ::cricket::MediaType media_type);
573
575
577 ::cricket::ContentSource source,
578 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
579 );
580
582 ::std::vector<::cricket::StreamParams> const& streams,
583 bool default_sender_needed,
584 ::cricket::MediaType media_type,
585 ::webrtc::StreamCollection* new_streams
586 );
587
588 MCNAPI ::webrtc::RTCError UpdateSessionState(
589 ::webrtc::SdpType type,
590 ::cricket::ContentSource source,
591 ::cricket::SessionDescription const* description,
592 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
593 );
594
596 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>> transceiver,
597 ::cricket::ContentInfo const& content,
598 ::cricket::ContentGroup const* bundle_group
599 );
600
602 ::cricket::ContentSource source,
603 ::webrtc::SessionDescriptionInterface const& new_session,
604 ::webrtc::SessionDescriptionInterface const* old_local_description,
605 ::webrtc::SessionDescriptionInterface const* old_remote_description,
606 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
607 );
608
609 MCNAPI bool UseCandidate(::webrtc::IceCandidateInterface const* candidate);
610
612
614 ::webrtc::SessionDescriptionInterface const* sdesc,
615 ::cricket::ContentSource source,
616 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
617 );
618
620
622
623 MCNAPI ::webrtc::TransceiverList* transceivers();
624 // NOLINTEND
625
626public:
627 // static functions
628 // NOLINTBEGIN
629 MCNAPI static ::std::unique_ptr<::webrtc::SdpOfferAnswerHandler> Create(
630 ::webrtc::PeerConnectionSdpMethods* pc,
631 ::webrtc::PeerConnectionInterface::RTCConfiguration const& configuration,
632 ::webrtc::PeerConnectionDependencies& dependencies,
633 ::webrtc::ConnectionContext* context
634 );
635 // NOLINTEND
636
637public:
638 // constructor thunks
639 // NOLINTBEGIN
640 MCNAPI void* $ctor(::webrtc::PeerConnectionSdpMethods* pc, ::webrtc::ConnectionContext* context);
641 // NOLINTEND
642
643public:
644 // destructor thunk
645 // NOLINTBEGIN
646 MCNAPI void $dtor();
647 // NOLINTEND
648
649public:
650 // virtual function thunks
651 // NOLINTBEGIN
652 MCNAPI ::webrtc::PeerConnectionInterface::SignalingState $signaling_state() const;
653
654 MCNAPI ::webrtc::SessionDescriptionInterface const* $local_description() const;
655
656 MCNAPI ::webrtc::SessionDescriptionInterface const* $remote_description() const;
657
659
661
663
665
666 MCNAPI bool $NeedsIceRestart(::std::string const& content_name) const;
667
668 MCNAPI bool $IceRestartPending(::std::string const& content_name) const;
669
670 MCNAPI ::std::optional<::rtc::SSLRole> $GetDtlsRole(::std::string const& mid) const;
671
672
673 // NOLINTEND
674
675public:
676 // vftables
677 // NOLINTBEGIN
678 MCNAPI static void** $vftable();
679 // NOLINTEND
680};
681
682} // namespace webrtc
Definition AudioContentDescription.h:11
Definition Candidate.h:15
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition SessionDescription.h:18
Definition VideoContentDescription.h:11
Definition ConnectionContext.h:17
Definition CreateSessionDescriptionObserver.h:16
Definition IceCandidateInterface.h:12
Definition JsepIceCandidate.h:15
Definition MediaStreamInterface.h:18
Definition PeerConnectionInterface.h:44
Definition PeerConnectionSdpMethods.h:38
Definition RTCErrorOr.h:8
Definition RTCError.h:10
Definition RtpReceiverInternal.h:18
Definition RtpTransceiverInterface.h:22
Definition RtpTransceiverProxyWithInternal.h:8
Definition RtpTransceiver.h:37
MCAPI void $OnSuccess(::webrtc::SessionDescriptionInterface *desc_ptr)
MCAPI void AppendIceCredentialsFromSessionDescription(::webrtc::SessionDescriptionInterface const &desc)
MCAPI bool SatisfiesIceRestart(::webrtc::SessionDescriptionInterface const &local_description) const
Definition SdpOfferAnswerHandler.h:141
MCAPI void SetError(::webrtc::RTCErrorType type, ::std::string message)
MCAPI RemoteDescriptionOperation(::webrtc::SdpOfferAnswerHandler *handler, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface > observer, ::std::function< void()> operations_chain_callback)
MCAPI void * $ctor(::webrtc::SdpOfferAnswerHandler *handler, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface > observer, ::std::function< void()> operations_chain_callback)
MCAPI void $OnSetLocalDescriptionComplete(::webrtc::RTCError error)
MCAPI void $OnSetRemoteDescriptionComplete(::webrtc::RTCError error)
Definition SdpOfferAnswerHandler.h:51
MCAPI::webrtc::SessionDescriptionInterface const * $pending_local_description() const
MCAPI void SetAssociatedRemoteStreams(::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver, ::std::vector<::std::string > const &stream_ids, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *added_streams, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *removed_streams)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > > GetReceivingTransceiversOfType(::cricket::MediaType media_type)
MCAPI bool UseCandidate(::webrtc::IceCandidateInterface const *candidate)
MCAPI bool ShouldFireNegotiationNeededEvent(uint event_id)
MCAPI void UpdateNegotiationNeeded()
MCAPI::webrtc::SessionDescriptionInterface const * $pending_remote_description() const
MCAPI void RemoveRecvDirectionFromReceivingTransceiversOfType(::cricket::MediaType media_type)
MCAPI void UpdateRemoteSendersList(::std::vector<::cricket::StreamParams > const &streams, bool default_sender_needed, ::cricket::MediaType media_type, ::webrtc::StreamCollection *new_streams)
MCAPI bool RemoveIceCandidates(::std::vector<::cricket::Candidate > const &candidates)
MCAPI::webrtc::AddIceCandidateResult AddIceCandidateInternal(::webrtc::IceCandidateInterface const *ice_candidate)
MCAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > remote_streams()
MCAPI void GetOptionsForPlanBOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI void GetOptionsForUnifiedPlanAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI bool CheckIfNegotiationIsNeeded()
MCAPI void RemoveSenders(::cricket::MediaType media_type)
MCAPI void ApplyRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation > operation)
MCAPI::webrtc::RTCError PushdownMediaDescription(::webrtc::SdpType type, ::cricket::ContentSource source, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI void * $ctor(::webrtc::PeerConnectionSdpMethods *pc, ::webrtc::ConnectionContext *context)
MCAPI void SetRemoteDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface > observer)
MCAPI bool UpdatePayloadTypeDemuxingState(::cricket::ContentSource source, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI void CreateAnswer(::webrtc::CreateSessionDescriptionObserver *observer, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options)
MCAPI void RemoveStoppedTransceivers()
MCAPI void AddLocalIceCandidate(::webrtc::JsepIceCandidate const *candidate)
MCAPI::webrtc::RTCError UpdateSessionState(::webrtc::SdpType type, ::cricket::ContentSource source, ::cricket::SessionDescription const *description, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI::webrtc::RTCError HandleLegacyOfferOptions(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options)
static MCAPI void ** $vftable()
MCAPI bool AddIceCandidate(::webrtc::IceCandidateInterface const *ice_candidate)
MCAPI bool AddStream(::webrtc::MediaStreamInterface *local_stream)
MCAPI::std::string GetSessionErrorMsg()
MCAPI bool $NeedsIceRestart(::std::string const &content_name) const
MCAPI::webrtc::RTCError CreateChannels(::cricket::SessionDescription const &desc)
MCAPI::webrtc::SessionDescriptionInterface const * $remote_description() const
MCAPI void FillInMissingRemoteMids(::cricket::SessionDescription *new_remote_description)
MCAPI void SetLocalDescription(::webrtc::SetSessionDescriptionObserver *observer)
MCAPI::webrtc::RTCError Rollback(::webrtc::SdpType desc_type)
static MCAPI ::std::unique_ptr<::webrtc::SdpOfferAnswerHandler > Create(::webrtc::PeerConnectionSdpMethods *pc, ::webrtc::PeerConnectionInterface::RTCConfiguration const &configuration, ::webrtc::PeerConnectionDependencies &dependencies, ::webrtc::ConnectionContext *context)
MCAPI void ChangeSignalingState(::webrtc::PeerConnectionInterface::SignalingState signaling_state)
MCAPI void DoSetRemoteDescription(::std::unique_ptr<::webrtc::SdpOfferAnswerHandler::RemoteDescriptionOperation > operation)
MCAPI ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > local_streams()
MCAPI void RemoveUnusedChannels(::cricket::SessionDescription const *desc)
MCAPI void GenerateNegotiationNeededEvent()
MCAPI ::std::optional<::rtc::SSLRole > $GetDtlsRole(::std::string const &mid) const
MCAPI bool $IceRestartPending(::std::string const &content_name) const
MCAPI void Initialize(::webrtc::PeerConnectionInterface::RTCConfiguration const &configuration, ::webrtc::PeerConnectionDependencies &dependencies, ::webrtc::ConnectionContext *context)
MCAPI void GetOptionsForPlanBAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI void UpdateLocalSenders(::std::vector<::cricket::StreamParams > const &streams, ::cricket::MediaType media_type)
MCAPI void RemoveStream(::webrtc::MediaStreamInterface *local_stream)
MCAPI void DoSetLocalDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface > observer)
MCAPI ::webrtc::RTCErrorOr< ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > > AssociateTransceiver(::cricket::ContentSource source, ::webrtc::SdpType type, uint64 mline_index, ::cricket::ContentInfo const &content, ::cricket::ContentInfo const *old_local_content, ::cricket::ContentInfo const *old_remote_content)
MCAPI::webrtc::SessionDescriptionInterface const * $current_remote_description() const
MCAPI void ApplyRemoteDescriptionUpdateTransceiverState(::webrtc::SdpType sdp_type)
MCAPI bool UseCandidatesInRemoteDescription()
MCAPI::cricket::ContentInfo const * FindMediaSectionForTransceiver(::webrtc::RtpTransceiver const *transceiver, ::webrtc::SessionDescriptionInterface const *sdesc) const
MCAPI void PlanBUpdateSendersAndReceivers(::cricket::ContentInfo const *audio_content, ::cricket::AudioContentDescription const *audio_desc, ::cricket::ContentInfo const *video_content, ::cricket::VideoContentDescription const *video_desc)
MCAPI ::webrtc::RTCErrorOr<::cricket::ContentInfo const * > FindContentInfo(::webrtc::SessionDescriptionInterface const *description, ::webrtc::IceCandidateInterface const *candidate)
MCAPI void RemoveLocalIceCandidates(::std::vector<::cricket::Candidate > const &candidates)
MCAPI void GetOptionsForUnifiedPlanOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI::webrtc::RTCError PushdownTransportDescription(::cricket::ContentSource source, ::webrtc::SdpType type)
MCAPI void DoCreateAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options, ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver > observer)
MCAPI::webrtc::RTCError ValidateSessionDescription(::webrtc::SessionDescriptionInterface const *sdesc, ::cricket::ContentSource source, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI::webrtc::RTCError UpdateDataChannelTransport(::cricket::ContentSource source, ::cricket::ContentInfo const &content, ::cricket::ContentGroup const *bundle_group)
MCAPI void GetOptionsForOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI void GetOptionsForAnswer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &offer_answer_options, ::cricket::MediaSessionOptions *session_options)
MCAPI void ProcessRemovalOfRemoteTrack(::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > transceiver, ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > *remove_list, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *removed_streams)
MCAPI::webrtc::PeerConnectionInterface::SignalingState $signaling_state() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > FindAvailableTransceiverToReceive(::cricket::MediaType media_type) const
MCAPI void UpdateEndedRemoteMediaStreams()
MCAPI bool ReadyToUseRemoteCandidate(::webrtc::IceCandidateInterface const *candidate, ::webrtc::SessionDescriptionInterface const *remote_desc, bool *valid)
MCAPI::webrtc::RTCError ApplyLocalDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI::webrtc::RTCError UpdateTransceiversAndDataChannels(::cricket::ContentSource source, ::webrtc::SessionDescriptionInterface const &new_session, ::webrtc::SessionDescriptionInterface const *old_local_description, ::webrtc::SessionDescriptionInterface const *old_remote_description, ::std::map<::std::string, ::cricket::ContentGroup const * > const &bundle_groups_by_mid)
MCAPI void DoCreateOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options, ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver > observer)
MCAPI void RemoveRemoteStreamsIfEmpty(::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &remote_streams, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > *removed_streams)
MCAPI::webrtc::RTCError UpdateTransceiverChannel(::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > transceiver, ::cricket::ContentInfo const &content, ::cricket::ContentGroup const *bundle_group)
MCAPI ::std::optional<::rtc::SSLRole > GuessSslRole() const
MCAPI::webrtc::TransceiverList * transceivers()
MCAPI::webrtc::RTCError ReplaceRemoteDescription(::std::unique_ptr<::webrtc::SessionDescriptionInterface > desc, ::webrtc::SdpType sdp_type, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > *replaced_description)
MCAPI void CreateOffer(::webrtc::CreateSessionDescriptionObserver *observer, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options)
MCAPI::webrtc::SessionDescriptionInterface const * $current_local_description() const
MCAPI void GenerateMediaDescriptionOptions(::webrtc::SessionDescriptionInterface const *session_desc, ::webrtc::RtpTransceiverDirection audio_direction, ::webrtc::RtpTransceiverDirection video_direction, ::std::optional< uint64 > *audio_index, ::std::optional< uint64 > *video_index, ::std::optional< uint64 > *data_index, ::cricket::MediaSessionOptions *session_options)
MCAPI::webrtc::SessionDescriptionInterface const * $local_description() const
MCAPI void AddUpToOneReceivingTransceiverOfType(::cricket::MediaType media_type)
Definition SdpStateProvider.h:16
Definition SessionDescriptionInterface.h:18
Definition SetLocalDescriptionObserverInterface.h:15
Definition SetRemoteDescriptionObserverInterface.h:15
Definition SetSessionDescriptionObserver.h:15
Definition StreamCollectionInterface.h:16
Definition StreamCollection.h:17
Definition TransceiverList.h:18
Definition scoped_refptr.h:8
STL namespace.
Definition ContentSource.h:5
Definition context.h:5
Definition MediaSessionOptions.h:7
Definition StreamParams.h:12
Definition Alias.h:14
Definition PeerConnectionDependencies.h:12