LeviLamina
Loading...
Searching...
No Matches
VideoMediaReceiveChannelInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaReceiveChannelInterface.h"
7#include "mc/external/rtc/VideoSinkInterface.h"
8#include "mc/external/webrtc/RtcpMode.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cricket { struct StreamParams; }
13namespace cricket { struct VideoMediaReceiveInfo; }
14namespace cricket { struct VideoReceiverParameters; }
15namespace webrtc { class RecordableEncodedFrame; }
16namespace webrtc { class RtpSource; }
17namespace webrtc { class VideoFrame; }
18namespace webrtc { struct RtpParameters; }
19// clang-format on
20
21namespace cricket {
22
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 17
28 virtual bool SetReceiverParameters(::cricket::VideoReceiverParameters const&) = 0;
29
30 // vIndex: 18
31 virtual ::webrtc::RtpParameters GetRtpReceiverParameters(uint) const = 0;
32
33 // vIndex: 19
34 virtual void SetReceive(bool) = 0;
35
36 // vIndex: 20
37 virtual ::webrtc::RtpParameters GetDefaultRtpReceiveParameters() const = 0;
38
39 // vIndex: 21
40 virtual bool SetSink(uint, ::rtc::VideoSinkInterface<::webrtc::VideoFrame>*) = 0;
41
42 // vIndex: 22
43 virtual void SetDefaultSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>*) = 0;
44
45 // vIndex: 23
46 virtual void RequestRecvKeyFrame(uint) = 0;
47
48 // vIndex: 24
49 virtual ::std::vector<::webrtc::RtpSource> GetSources(uint) const = 0;
50
51 // vIndex: 25
52 virtual void
53 SetRecordableEncodedFrameCallback(uint, ::std::function<void(::webrtc::RecordableEncodedFrame const&)>) = 0;
54
55 // vIndex: 26
56 virtual void ClearRecordableEncodedFrameCallback(uint) = 0;
57
58 // vIndex: 27
59 virtual bool GetStats(::cricket::VideoMediaReceiveInfo*) = 0;
60
61 // vIndex: 28
62 virtual void SetReceiverFeedbackParameters(bool, bool, ::webrtc::RtcpMode, ::std::optional<int>) = 0;
63
64 // vIndex: 29
65 virtual bool AddDefaultRecvStreamForTesting(::cricket::StreamParams const&) = 0;
66
67 // vIndex: 0
68 virtual ~VideoMediaReceiveChannelInterface() /*override*/ = default;
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80
81 // NOLINTEND
82};
83
84} // namespace cricket
Definition MediaReceiveChannelInterface.h:22
Definition VideoMediaReceiveChannelInterface.h:23
Definition VideoSinkInterface.h:8
Definition RecordableEncodedFrame.h:18
Definition StreamParams.h:12
Definition VideoMediaReceiveInfo.h:7
Definition VideoReceiverParameters.h:10