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