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/webrtc/MediaReceiveChannelInterface.h"
7#include "mc/external/webrtc/RtcpMode.h"
8#include "mc/external/webrtc/VideoSinkInterface.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class RecordableEncodedFrame; }
13namespace webrtc { class RtpSource; }
14namespace webrtc { class VideoFrame; }
15namespace webrtc { struct RtpParameters; }
16namespace webrtc { struct StreamParams; }
17namespace webrtc { struct VideoMediaReceiveInfo; }
18namespace webrtc { struct VideoReceiverParameters; }
19// clang-format on
20
21namespace webrtc {
22
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool SetReceiverParameters(::webrtc::VideoReceiverParameters const&) = 0;
28
29 virtual ::webrtc::RtpParameters GetRtpReceiverParameters(uint) const = 0;
30
31 virtual void SetReceive(bool) = 0;
32
33 virtual ::webrtc::RtpParameters GetDefaultRtpReceiveParameters() const = 0;
34
35 virtual bool SetSink(uint, ::webrtc::VideoSinkInterface<::webrtc::VideoFrame>*) = 0;
36
37 virtual void SetDefaultSink(::webrtc::VideoSinkInterface<::webrtc::VideoFrame>*) = 0;
38
39 virtual void RequestRecvKeyFrame(uint) = 0;
40
41 virtual ::std::vector<::webrtc::RtpSource> GetSources(uint) const = 0;
42
43 virtual void
44 SetRecordableEncodedFrameCallback(uint, ::std::function<void(::webrtc::RecordableEncodedFrame const&)>) = 0;
45
46 virtual void ClearRecordableEncodedFrameCallback(uint) = 0;
47
48 virtual bool GetStats(::webrtc::VideoMediaReceiveInfo*) = 0;
49
50 virtual void SetReceiverFeedbackParameters(bool, bool, ::webrtc::RtcpMode, ::std::optional<int>) = 0;
51
52 virtual bool AddDefaultRecvStreamForTesting(::webrtc::StreamParams const&) = 0;
53
54 virtual ~VideoMediaReceiveChannelInterface() /*override*/ = default;
55 // NOLINTEND
56};
57
58} // namespace webrtc
Definition MediaReceiveChannelInterface.h:22
Definition RecordableEncodedFrame.h:19
Definition RtpSource.h:7
Definition VideoFrame.h:16
Definition VideoMediaReceiveChannelInterface.h:23
Definition VideoSinkInterface.h:8
Definition RtpParameters.h:7
Definition StreamParams.h:12
Definition VideoMediaReceiveInfo.h:7
Definition VideoReceiverParameters.h:10