LeviLamina
Loading...
Searching...
No Matches
RtpTransceiverInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/RefCountInterface.h"
8#include "mc/external/webrtc/RtpTransceiverDirection.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class RTCError; }
14namespace webrtc { class RtpReceiverInterface; }
15namespace webrtc { class RtpSenderInterface; }
16namespace webrtc { struct RtpCodecCapability; }
17namespace webrtc { struct RtpHeaderExtensionCapability; }
18// clang-format on
19
20namespace webrtc {
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::cricket::MediaType media_type() const = 0;
27
28 virtual ::std::optional<::std::string> mid() const = 0;
29
30 virtual ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface> sender() const = 0;
31
32 virtual ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface> receiver() const = 0;
33
34 virtual bool stopped() const = 0;
35
36 virtual bool stopping() const = 0;
37
38 virtual ::webrtc::RtpTransceiverDirection direction() const = 0;
39
40 virtual void SetDirection(::webrtc::RtpTransceiverDirection new_direction);
41
42 virtual ::webrtc::RTCError SetDirectionWithError(::webrtc::RtpTransceiverDirection);
43
44 virtual ::std::optional<::webrtc::RtpTransceiverDirection> current_direction() const = 0;
45
46 virtual ::std::optional<::webrtc::RtpTransceiverDirection> fired_direction() const;
47
48 virtual ::webrtc::RTCError StopStandard();
49
50 virtual void StopInternal();
51
52 virtual void Stop();
53
54 virtual ::webrtc::RTCError SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability>) = 0;
55
56 virtual ::std::vector<::webrtc::RtpCodecCapability> codec_preferences() const = 0;
57
58 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetHeaderExtensionsToNegotiate() const = 0;
59
60 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetNegotiatedHeaderExtensions() const = 0;
61
62 virtual ::webrtc::RTCError
64
65 virtual ~RtpTransceiverInterface() /*override*/;
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI void $SetDirection(::webrtc::RtpTransceiverDirection new_direction);
78
79 MCNAPI void $Stop();
80
81
82 // NOLINTEND
83};
84
85} // namespace webrtc
Definition _HeaderOutputPredefine.h:311
Definition RTCError.h:10
Definition RefCountInterface.h:10
Definition RtpReceiverInterface.h:24
Definition RtpSenderInterface.h:26
Definition RtpTransceiverInterface.h:22
MCAPI void $SetDirection(::webrtc::RtpTransceiverDirection new_direction)
Definition RtpCodecCapability.h:11
Definition RtpHeaderExtensionCapability.h:7