LeviLamina
Loading...
Searching...
No Matches
RtpSenderInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/cricket/MediaType.h"
8#include "mc/external/webrtc/RefCountInterface.h"
9#include "mc/external/webrtc/VideoEncoderFactory.h"
10#include "mc/external/webrtc/scoped_refptr.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace webrtc { class DtlsTransportInterface; }
15namespace webrtc { class DtmfSenderInterface; }
16namespace webrtc { class FrameEncryptorInterface; }
17namespace webrtc { class FrameTransformerInterface; }
18namespace webrtc { class MediaStreamTrackInterface; }
19namespace webrtc { class RTCError; }
20namespace webrtc { struct RtpEncodingParameters; }
21namespace webrtc { struct RtpParameters; }
22// clang-format on
23
24namespace webrtc {
25
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 3
31 virtual bool SetTrack(::webrtc::MediaStreamTrackInterface*) = 0;
32
33 // vIndex: 4
34 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track() const = 0;
35
36 // vIndex: 5
37 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport() const = 0;
38
39 // vIndex: 6
40 virtual uint ssrc() const = 0;
41
42 // vIndex: 7
43 virtual ::cricket::MediaType media_type() const = 0;
44
45 // vIndex: 8
46 virtual ::std::string id() const = 0;
47
48 // vIndex: 9
49 virtual ::std::vector<::std::string> stream_ids() const = 0;
50
51 // vIndex: 10
52 virtual void SetStreams(::std::vector<::std::string> const&) = 0;
53
54 // vIndex: 11
55 virtual ::std::vector<::webrtc::RtpEncodingParameters> init_send_encodings() const = 0;
56
57 // vIndex: 12
58 virtual ::webrtc::RtpParameters GetParameters() const = 0;
59
60 // vIndex: 13
61 virtual ::webrtc::RTCError SetParameters(::webrtc::RtpParameters const&) = 0;
62
63 // vIndex: 14
64 virtual void SetParametersAsync(::webrtc::RtpParameters const&, ::absl::AnyInvocable<void(::webrtc::RTCError) &&>);
65
66 // vIndex: 15
67 virtual ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> GetDtmfSender() const = 0;
68
69 // vIndex: 16
70 virtual void SetFrameEncryptor(::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface>) = 0;
71
72 // vIndex: 17
73 virtual ::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface> GetFrameEncryptor() const = 0;
74
75 // vIndex: 18
76 virtual void
77 SetEncoderToPacketizerFrameTransformer(::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface>) = 0;
78
79 // vIndex: 19
80 virtual void SetEncoderSelector(::std::unique_ptr<::webrtc::VideoEncoderFactory::EncoderSelectorInterface>) = 0;
81
82 // vIndex: 2
83 virtual ~RtpSenderInterface() /*override*/ = default;
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95
96 // NOLINTEND
97};
98
99} // namespace webrtc
Definition AnyInvocable.h:8
Definition MediaStreamTrackInterface.h:11
Definition RTCError.h:10
Definition RefCountInterface.h:10
Definition RtpSenderInterface.h:26
Definition scoped_refptr.h:8
Definition RtpParameters.h:7