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 virtual bool SetTrack(::webrtc::MediaStreamTrackInterface* a1) = 0;
31
32 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track() const = 0;
33
34 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport() const = 0;
35
36 virtual uint ssrc() const = 0;
37
38 virtual ::cricket::MediaType media_type() const = 0;
39
40 virtual ::std::string id() const = 0;
41
42 virtual ::std::vector<::std::string> stream_ids() const = 0;
43
44 virtual void SetStreams(::std::vector<::std::string> const& a1) = 0;
45
46 virtual ::std::vector<::webrtc::RtpEncodingParameters> init_send_encodings() const = 0;
47
48 virtual ::webrtc::RtpParameters GetParameters() const = 0;
49
50 virtual ::webrtc::RTCError SetParameters(::webrtc::RtpParameters const& a1) = 0;
51
52 virtual void
53 SetParametersAsync(::webrtc::RtpParameters const& a1, ::absl::AnyInvocable<void(::webrtc::RTCError) &&> a2);
54
55 virtual ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> GetDtmfSender() const = 0;
56
57 virtual void SetFrameEncryptor(::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface> a1) = 0;
58
59 virtual ::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface> GetFrameEncryptor() const = 0;
60
61 virtual void
62 SetEncoderToPacketizerFrameTransformer(::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface> a1) = 0;
63
64 virtual void SetEncoderSelector(::std::unique_ptr<::webrtc::VideoEncoderFactory::EncoderSelectorInterface> a1) = 0;
65
66 virtual ~RtpSenderInterface() /*override*/ = default;
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72
73 // NOLINTEND
74};
75
76} // namespace webrtc
Definition AnyInvocable.h:8
Definition DtlsTransportInterface.h:18
Definition DtmfSenderInterface.h:15
Definition FrameEncryptorInterface.h:11
Definition FrameTransformerInterface.h:17
Definition MediaStreamTrackInterface.h:11
Definition RTCError.h:10
Definition RefCountInterface.h:10
Definition RtpSenderInterface.h:26
Definition scoped_refptr.h:8
Definition RtpEncodingParameters.h:7
Definition RtpParameters.h:7