LeviLamina
Loading...
Searching...
No Matches
RtpReceiverInterface.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/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class DtlsTransportInterface; }
13namespace webrtc { class FrameDecryptorInterface; }
14namespace webrtc { class FrameTransformerInterface; }
15namespace webrtc { class MediaStreamInterface; }
16namespace webrtc { class MediaStreamTrackInterface; }
17namespace webrtc { class RtpReceiverObserverInterface; }
18namespace webrtc { class RtpSource; }
19namespace webrtc { struct RtpParameters; }
20// clang-format on
21
22namespace webrtc {
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track() const = 0;
29
30 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport() const;
31
32 virtual ::std::vector<::std::string> stream_ids() const;
33
34 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>> streams() const;
35
36 virtual ::cricket::MediaType media_type() const = 0;
37
38 virtual ::std::string id() const = 0;
39
40 virtual ::webrtc::RtpParameters GetParameters() const = 0;
41
42 virtual bool SetParameters(::webrtc::RtpParameters const& parameters);
43
44 virtual void SetObserver(::webrtc::RtpReceiverObserverInterface*) = 0;
45
46 virtual void SetJitterBufferMinimumDelay(::std::optional<double>) = 0;
47
48 virtual ::std::vector<::webrtc::RtpSource> GetSources() const;
49
51
52 virtual ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface> GetFrameDecryptor() const;
53
54 virtual void SetDepacketizerToDecoderFrameTransformer(::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface>);
55
56 virtual ~RtpReceiverInterface() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI bool $SetParameters(::webrtc::RtpParameters const& parameters);
63
64
65 // NOLINTEND
66};
67
68} // namespace webrtc
Definition DtlsTransportInterface.h:18
Definition FrameDecryptorInterface.h:11
Definition FrameTransformerInterface.h:17
Definition MediaStreamInterface.h:18
Definition MediaStreamTrackInterface.h:11
Definition RefCountInterface.h:10
Definition RtpReceiverInterface.h:24
MCAPI bool $SetParameters(::webrtc::RtpParameters const &parameters)
Definition RtpReceiverObserverInterface.h:10
Definition RtpSource.h:7
Definition scoped_refptr.h:8
Definition RtpParameters.h:7