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 MediaEngineInterface; }
29namespace cricket { class PortAllocator; }
30namespace cricket { class SessionDescription; }
31namespace cricket { class VideoContentDescription; }
32namespace cricket { struct MediaDescriptionOptions; }
33namespace cricket { struct MediaSessionOptions; }
34namespace cricket { struct StreamParams; }
35namespace rtc { class Thread; }
36namespace webrtc { class AudioTrackInterface; }
37namespace webrtc { class ConnectionContext; }
38namespace webrtc { class DataChannelController; }
39namespace webrtc { class IceCandidateInterface; }
40namespace webrtc { class JsepIceCandidate; }
41namespace webrtc { class JsepTransportController; }
42namespace webrtc { class MediaStreamInterface; }
43namespace webrtc { class PeerConnectionSdpMethods; }
44namespace webrtc { class RTCError; }
45namespace webrtc { class RtpReceiverInternal; }
46namespace webrtc { class RtpTransceiver; }
47namespace webrtc { class RtpTransceiverInterface; }
48namespace webrtc { class RtpTransmissionManager; }
49namespace webrtc { class SessionDescriptionInterface; }
50namespace webrtc { class SetSessionDescriptionObserver; }
51namespace webrtc { class StreamCollection; }
52namespace webrtc { class StreamCollectionInterface; }
53namespace webrtc { class TransceiverList; }
54namespace webrtc { class VideoTrackInterface; }
55namespace webrtc { struct PeerConnectionDependencies; }
56// clang-format on
57
58namespace webrtc {
59
61public:
62 // SdpOfferAnswerHandler inner types declare
63 // clang-format off
68 // clang-format on
69
70 // SdpOfferAnswerHandler inner types define
72 public:
73 // member variables
74 // NOLINTBEGIN
84 // NOLINTEND
85
86 public:
87 // prevent constructor by default
91
92 public:
93 // member functions
94 // NOLINTBEGIN
95 MCNAPI bool HaveSessionError();
96
97 MCNAPI void InvalidParam(::std::string message);
98
99 MCNAPI bool MaybeRollback();
100
103 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
105 ::std::function<void()> operations_chain_callback
106 );
107
108 MCNAPI void SetAsSessionError();
109
110 MCNAPI void SetError(::webrtc::RTCErrorType type, ::std::string message);
111
112 MCNAPI void SignalCompletion();
113
114 MCNAPI bool UpdateChannels();
115 // NOLINTEND
116
117 public:
118 // constructor thunks
119 // NOLINTBEGIN
120 MCNAPI void* $ctor(
122 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
124 ::std::function<void()> operations_chain_callback
125 );
126 // NOLINTEND
127 };
128
130 public:
131 // member variables
132 // NOLINTBEGIN
137 // NOLINTEND
138
139 public:
140 // prevent constructor by default
144
145 public:
146 // virtual functions
147 // NOLINTBEGIN
148 // vIndex: 2
149 virtual ~ImplicitCreateSessionDescriptionObserver() /*override*/;
150
151 // vIndex: 3
152 virtual void OnSuccess(::webrtc::SessionDescriptionInterface* desc_ptr) /*override*/;
153
154 // vIndex: 4
155 virtual void OnFailure(::webrtc::RTCError error) /*override*/;
156 // NOLINTEND
157
158 public:
159 // destructor thunk
160 // NOLINTBEGIN
161 MCNAPI void $dtor();
162 // NOLINTEND
163
164 public:
165 // virtual function thunks
166 // NOLINTBEGIN
168
169 MCNAPI void $OnFailure(::webrtc::RTCError error);
170 // NOLINTEND
171
172 public:
173 // vftables
174 // NOLINTBEGIN
175 MCNAPI static void** $vftable();
176 // NOLINTEND
177 };
178
181 public:
182 // member variables
183 // NOLINTBEGIN
186 // NOLINTEND
187
188 public:
189 // prevent constructor by default
193
194 public:
195 // virtual functions
196 // NOLINTBEGIN
197 // vIndex: 3
198 virtual void OnSetLocalDescriptionComplete(::webrtc::RTCError error) /*override*/;
199
200 // vIndex: 3
201 virtual void OnSetRemoteDescriptionComplete(::webrtc::RTCError error) /*override*/;
202
203 // vIndex: 2
204 virtual ~SetSessionDescriptionObserverAdapter() /*override*/ = default;
205 // NOLINTEND
206
207 public:
208 // member functions
209 // NOLINTBEGIN
211 // NOLINTEND
212
213 public:
214 // virtual function thunks
215 // NOLINTBEGIN
217
219 // NOLINTEND
220
221 public:
222 // vftables
223 // NOLINTBEGIN
225
227 // NOLINTEND
228 };
229
230 enum class SessionError : int {
231 KNone = 0,
232 KContent = 1,
233 KTransport = 2,
234 };
235
237 public:
238 // member variables
239 // NOLINTBEGIN
241 // NOLINTEND
242
243 public:
244 // prevent constructor by default
248
249 public:
250 // member functions
251 // NOLINTBEGIN
253
254 MCNAPI void ClearIceCredentials();
255
256 MCNAPI bool SatisfiesIceRestart(::webrtc::SessionDescriptionInterface const& local_description) const;
257 // NOLINTEND
258 };
259
260public:
261 // member variables
262 // NOLINTBEGIN
294 // NOLINTEND
295
296public:
297 // prevent constructor by default
301
302public:
303 // virtual functions
304 // NOLINTBEGIN
305 // vIndex: 0
306 virtual ~SdpOfferAnswerHandler() /*override*/;
307
308 // vIndex: 1
309 virtual ::webrtc::PeerConnectionInterface::SignalingState signaling_state() const /*override*/;
310
311 // vIndex: 2
312 virtual ::webrtc::SessionDescriptionInterface const* local_description() const /*override*/;
313
314 // vIndex: 3
315 virtual ::webrtc::SessionDescriptionInterface const* remote_description() const /*override*/;
316
317 // vIndex: 4
318 virtual ::webrtc::SessionDescriptionInterface const* current_local_description() const /*override*/;
319
320 // vIndex: 5
321 virtual ::webrtc::SessionDescriptionInterface const* current_remote_description() const /*override*/;
322
323 // vIndex: 6
324 virtual ::webrtc::SessionDescriptionInterface const* pending_local_description() const /*override*/;
325
326 // vIndex: 7
327 virtual ::webrtc::SessionDescriptionInterface const* pending_remote_description() const /*override*/;
328
329 // vIndex: 8
330 virtual bool NeedsIceRestart(::std::string const& content_name) const /*override*/;
331
332 // vIndex: 9
333 virtual bool IceRestartPending(::std::string const& content_name) const /*override*/;
334
335 // vIndex: 10
336 virtual ::std::optional<::rtc::SSLRole> GetDtlsRole(::std::string const& mid) const /*override*/;
337 // NOLINTEND
338
339public:
340 // member functions
341 // NOLINTBEGIN
342 MCNAPI bool AddIceCandidate(::webrtc::IceCandidateInterface const* ice_candidate);
343
344 MCNAPI void AddIceCandidate(
345 ::std::unique_ptr<::webrtc::IceCandidateInterface> candidate,
346 ::std::function<void(::webrtc::RTCError)> callback
347 );
348
349 MCNAPI ::webrtc::AddIceCandidateResult
350 AddIceCandidateInternal(::webrtc::IceCandidateInterface const* ice_candidate);
351
352 MCNAPI void AddLocalIceCandidate(::webrtc::JsepIceCandidate const* candidate);
353
354 MCNAPI bool AddStream(::webrtc::MediaStreamInterface* local_stream);
355
356 MCNAPI void AddUpToOneReceivingTransceiverOfType(::cricket::MediaType media_type);
357
358 MCNAPI void AllocateSctpSids();
359
361 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
362 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
363 );
364
365 MCNAPI void
367
368 MCNAPI void ApplyRemoteDescriptionUpdateTransceiverState(::webrtc::SdpType sdp_type);
369
370 MCNAPI ::webrtc::RTCErrorOr<
371 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
373 ::cricket::ContentSource source,
374 ::webrtc::SdpType type,
375 uint64 mline_index,
376 ::cricket::ContentInfo const& content,
377 ::cricket::ContentInfo const* old_local_content,
378 ::cricket::ContentInfo const* old_remote_content
379 );
380
381 MCNAPI void ChangeSignalingState(::webrtc::PeerConnectionInterface::SignalingState signaling_state);
382
384
385 MCNAPI void Close();
386
387 MCNAPI bool ConfiguredForMedia() const;
388
389 MCNAPI void CreateAnswer(
390 ::webrtc::CreateSessionDescriptionObserver* observer,
391 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options
392 );
393
394 MCNAPI ::webrtc::RTCError CreateChannels(::cricket::SessionDescription const& desc);
395
396 MCNAPI void CreateOffer(
397 ::webrtc::CreateSessionDescriptionObserver* observer,
398 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options
399 );
400
401 MCNAPI void DestroyMediaChannels();
402
403 MCNAPI void DoCreateAnswer(
404 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options,
405 ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver> observer
406 );
407
408 MCNAPI void DoCreateOffer(
409 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options,
410 ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver> observer
411 );
412
414 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
415 ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface> observer
416 );
417
418 MCNAPI void
420
421 MCNAPI void EnableSending();
422
423 MCNAPI bool ExpectSetLocalDescription(::webrtc::SdpType type);
424
425 MCNAPI bool ExpectSetRemoteDescription(::webrtc::SdpType type);
426
427 MCNAPI void FillInMissingRemoteMids(::cricket::SessionDescription* new_remote_description);
428
429 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
430 FindAvailableTransceiverToReceive(::cricket::MediaType media_type) const;
431
432 MCNAPI ::webrtc::RTCErrorOr<::cricket::ContentInfo const*> FindContentInfo(
433 ::webrtc::SessionDescriptionInterface const* description,
434 ::webrtc::IceCandidateInterface const* candidate
435 );
436
437 MCNAPI ::cricket::ContentInfo const* FindMediaSectionForTransceiver(
438 ::webrtc::RtpTransceiver const* transceiver,
439 ::webrtc::SessionDescriptionInterface const* sdesc
440 ) const;
441
443 ::webrtc::SessionDescriptionInterface const* session_desc,
444 ::webrtc::RtpTransceiverDirection audio_direction,
445 ::webrtc::RtpTransceiverDirection video_direction,
446 ::std::optional<uint64>* audio_index,
447 ::std::optional<uint64>* video_index,
448 ::std::optional<uint64>* data_index,
449 ::cricket::MediaSessionOptions* session_options
450 );
451
453
454 MCNAPI ::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForActiveData(::std::string const& mid) const;
455
456 MCNAPI ::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForRejectedData(::std::string const& mid) const;
457
459 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
460 ::cricket::MediaSessionOptions* session_options
461 );
462
464 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
465 ::cricket::MediaSessionOptions* session_options
466 );
467
469 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
470 ::cricket::MediaSessionOptions* session_options
471 );
472
474 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
475 ::cricket::MediaSessionOptions* session_options
476 );
477
479 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
480 ::cricket::MediaSessionOptions* session_options
481 );
482
484 ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& offer_answer_options,
485 ::cricket::MediaSessionOptions* session_options
486 );
487
488 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
489 GetReceivingTransceiversOfType(::cricket::MediaType media_type);
490
491 MCNAPI ::std::string GetSessionErrorMsg();
492
493 MCNAPI ::std::optional<::rtc::SSLRole> GuessSslRole() const;
494
495 MCNAPI ::webrtc::RTCError
496 HandleLegacyOfferOptions(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const& options);
497
498 MCNAPI bool HasNewIceCredentials();
499
500 MCNAPI void Initialize(
501 ::webrtc::PeerConnectionInterface::RTCConfiguration const& configuration,
502 ::webrtc::PeerConnectionDependencies& dependencies,
503 ::webrtc::ConnectionContext* context
504 );
505
506 MCNAPI bool IsUnifiedPlan() const;
507
508 MCNAPI void OnAudioTrackAdded(::webrtc::AudioTrackInterface* track, ::webrtc::MediaStreamInterface* stream);
509
510 MCNAPI void OnAudioTrackRemoved(::webrtc::AudioTrackInterface* track, ::webrtc::MediaStreamInterface* stream);
511
513
514 MCNAPI void OnVideoTrackAdded(::webrtc::VideoTrackInterface* track, ::webrtc::MediaStreamInterface* stream);
515
516 MCNAPI void OnVideoTrackRemoved(::webrtc::VideoTrackInterface* track, ::webrtc::MediaStreamInterface* stream);
517
519 ::cricket::ContentInfo const* audio_content,
520 ::cricket::AudioContentDescription const* audio_desc,
521 ::cricket::ContentInfo const* video_content,
522 ::cricket::VideoContentDescription const* video_desc
523 );
524
525 MCNAPI void PrepareForShutdown();
526
528 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>> transceiver,
529 ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface>>* remove_list,
530 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
531 );
532
534 ::webrtc::SdpType type,
535 ::cricket::ContentSource source,
536 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
537 );
538
539 MCNAPI ::webrtc::RTCError PushdownTransportDescription(::cricket::ContentSource source, ::webrtc::SdpType type);
540
542 ::webrtc::IceCandidateInterface const* candidate,
543 ::webrtc::SessionDescriptionInterface const* remote_desc,
544 bool* valid
545 );
546
547 MCNAPI bool RemoveIceCandidates(::std::vector<::cricket::Candidate> const& candidates);
548
549 MCNAPI void RemoveLocalIceCandidates(::std::vector<::cricket::Candidate> const& candidates);
550
551 MCNAPI void RemoveRecvDirectionFromReceivingTransceiversOfType(::cricket::MediaType media_type);
552
554 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>> const& remote_streams,
555 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
556 );
557
558 MCNAPI void RemoveSenders(::cricket::MediaType media_type);
559
561
562 MCNAPI void RemoveStream(::webrtc::MediaStreamInterface* local_stream);
563
564 MCNAPI void RemoveUnusedChannels(::cricket::SessionDescription const* desc);
565
567 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
568 ::webrtc::SdpType sdp_type,
569 ::std::unique_ptr<::webrtc::SessionDescriptionInterface>* replaced_description
570 );
571
572 MCNAPI void RestartIce();
573
574 MCNAPI ::webrtc::RTCError Rollback(::webrtc::SdpType desc_type);
575
577
578 MCNAPI char const* SessionErrorToString(::webrtc::SdpOfferAnswerHandler::SessionError error) const;
579
581 ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver,
582 ::std::vector<::std::string> const& stream_ids,
583 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* added_streams,
584 ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>* removed_streams
585 );
586
588
589 MCNAPI void SetLocalDescription(::webrtc::SetSessionDescriptionObserver* observer);
590
592 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
593 ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface> observer
594 );
595
597 ::webrtc::SetSessionDescriptionObserver* observer,
598 ::webrtc::SessionDescriptionInterface* desc_ptr
599 );
600
602 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> desc,
603 ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface> observer
604 );
605
607 ::webrtc::SetSessionDescriptionObserver* observer,
608 ::webrtc::SessionDescriptionInterface* desc_ptr
609 );
610
611 MCNAPI void SetRemoteDescriptionPostProcess(bool was_answer);
612
613 MCNAPI void SetSessionError(::webrtc::SdpOfferAnswerHandler::SessionError error, ::std::string const& error_desc);
614
615 MCNAPI bool ShouldFireNegotiationNeededEvent(uint event_id);
616
618 ::cricket::ContentSource source,
619 ::cricket::ContentInfo const& content,
620 ::cricket::ContentGroup const* bundle_group
621 );
622
624
625 MCNAPI void
626 UpdateLocalSenders(::std::vector<::cricket::StreamParams> const& streams, ::cricket::MediaType media_type);
627
629
631 ::cricket::ContentSource source,
632 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
633 );
634
636 ::std::vector<::cricket::StreamParams> const& streams,
637 bool default_sender_needed,
638 ::cricket::MediaType media_type,
639 ::webrtc::StreamCollection* new_streams
640 );
641
642 MCNAPI ::webrtc::RTCError UpdateSessionState(
643 ::webrtc::SdpType type,
644 ::cricket::ContentSource source,
645 ::cricket::SessionDescription const* description,
646 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
647 );
648
650 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>> transceiver,
651 ::cricket::ContentInfo const& content,
652 ::cricket::ContentGroup const* bundle_group
653 );
654
656 ::cricket::ContentSource source,
657 ::webrtc::SessionDescriptionInterface const& new_session,
658 ::webrtc::SessionDescriptionInterface const* old_local_description,
659 ::webrtc::SessionDescriptionInterface const* old_remote_description,
660 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
661 );
662
663 MCNAPI bool UseCandidate(::webrtc::IceCandidateInterface const* candidate);
664
666
668 ::webrtc::SessionDescriptionInterface const* sdesc,
669 ::cricket::ContentSource source,
670 ::std::map<::std::string, ::cricket::ContentGroup const*> const& bundle_groups_by_mid
671 );
672
674
675 MCNAPI ::std::optional<bool> is_caller() const;
676
678
679 MCNAPI ::cricket::MediaEngineInterface* media_engine() const;
680
681 MCNAPI ::rtc::Thread* network_thread() const;
682
683 MCNAPI ::cricket::PortAllocator* port_allocator();
684
686
688
689 MCNAPI ::webrtc::TransceiverList const* transceivers() const;
690
691 MCNAPI ::webrtc::TransceiverList* transceivers();
692
694
695 MCNAPI ::webrtc::JsepTransportController const* transport_controller_s() const;
696
698 // NOLINTEND
699
700public:
701 // static functions
702 // NOLINTBEGIN
703 MCNAPI static ::std::unique_ptr<::webrtc::SdpOfferAnswerHandler> Create(
704 ::webrtc::PeerConnectionSdpMethods* pc,
705 ::webrtc::PeerConnectionInterface::RTCConfiguration const& configuration,
706 ::webrtc::PeerConnectionDependencies& dependencies,
707 ::webrtc::ConnectionContext* context
708 );
709 // NOLINTEND
710
711public:
712 // constructor thunks
713 // NOLINTBEGIN
714 MCNAPI void* $ctor(::webrtc::PeerConnectionSdpMethods* pc, ::webrtc::ConnectionContext* context);
715 // NOLINTEND
716
717public:
718 // destructor thunk
719 // NOLINTBEGIN
720 MCNAPI void $dtor();
721 // NOLINTEND
722
723public:
724 // virtual function thunks
725 // NOLINTBEGIN
726 MCNAPI ::webrtc::PeerConnectionInterface::SignalingState $signaling_state() const;
727
728 MCNAPI ::webrtc::SessionDescriptionInterface const* $local_description() const;
729
730 MCNAPI ::webrtc::SessionDescriptionInterface const* $remote_description() const;
731
733
735
737
739
740 MCNAPI bool $NeedsIceRestart(::std::string const& content_name) const;
741
742 MCNAPI bool $IceRestartPending(::std::string const& content_name) const;
743
744 MCNAPI ::std::optional<::rtc::SSLRole> $GetDtlsRole(::std::string const& mid) const;
745 // NOLINTEND
746
747public:
748 // vftables
749 // NOLINTBEGIN
750 MCNAPI static void** $vftable();
751 // NOLINTEND
752};
753
754} // namespace webrtc
Definition AudioTrackInterface.h:18
Definition ConnectionContext.h:17
Definition CreateSessionDescriptionObserver.h:16
Definition DataChannelController.h:30
Definition IceCandidateInterface.h:12
Definition JsepIceCandidate.h:16
Definition JsepTransportController.h:50
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
Definition RtpTransmissionManager.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
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:60
MCAPI char const * SessionErrorToString(::webrtc::SdpOfferAnswerHandler::SessionError error) const
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::webrtc::TransceiverList const * transceivers() const
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 bool ExpectSetRemoteDescription(::webrtc::SdpType type)
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::webrtc::DataChannelController * data_channel_controller()
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 OnVideoTrackAdded(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI void OnAudioTrackRemoved(::webrtc::AudioTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
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 SetSessionError(::webrtc::SdpOfferAnswerHandler::SessionError error, ::std::string const &error_desc)
MCAPI::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForActiveData(::std::string const &mid) const
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::webrtc::RtpTransmissionManager * rtp_manager()
MCAPI bool IsUnifiedPlan() const
MCAPI::cricket::PortAllocator * port_allocator()
MCAPI::webrtc::RTCError Rollback(::webrtc::SdpType desc_type)
MCAPI void OnAudioTrackAdded(::webrtc::AudioTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
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 ::std::optional< bool > is_caller() 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 void SetRemoteDescriptionPostProcess(bool was_answer)
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 void OnVideoTrackRemoved(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
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 bool ConfiguredForMedia() const
MCAPI::webrtc::JsepTransportController * transport_controller_n()
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > FindAvailableTransceiverToReceive(::cricket::MediaType media_type) const
MCAPI::webrtc::JsepTransportController const * transport_controller_s() 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 bool ExpectSetLocalDescription(::webrtc::SdpType type)
MCAPI void DoCreateOffer(::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &options, ::webrtc::scoped_refptr<::webrtc::CreateSessionDescriptionObserver > observer)
MCAPI::rtc::Thread * network_thread() const
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::cricket::MediaEngineInterface * media_engine() const
MCAPI ::std::optional<::rtc::SSLRole > GuessSslRole() const
MCAPI::cricket::MediaDescriptionOptions GetMediaDescriptionOptionsForRejectedData(::std::string const &mid) const
MCAPI void SetLocalDescription(::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface > observer)
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 VideoTrackInterface.h:20
Definition scoped_refptr.h:8
STL namespace.
Definition ContentSource.h:5
Definition context.h:5
Definition Alias.h:14
Definition PeerConnectionDependencies.h:12