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