LeviLamina
Loading...
Searching...
No Matches
VideoTrackSourceInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/VideoSinkInterface.h"
7#include "mc/external/rtc/VideoSourceInterface.h"
8#include "mc/external/webrtc/MediaSourceInterface.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class RecordableEncodedFrame; }
13namespace webrtc { class VideoFrame; }
14namespace webrtc { struct VideoTrackSourceConstraints; }
15// clang-format on
16
17namespace webrtc {
18
20 public ::rtc::VideoSourceInterface<::webrtc::VideoFrame> {
21public:
22 // VideoTrackSourceInterface inner types declare
23 // clang-format off
24 struct Stats;
25 // clang-format on
26
27 // VideoTrackSourceInterface inner types define
28 struct Stats {
29 public:
30 // member variables
31 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 Stats& operator=(Stats const&);
39 Stats(Stats const&);
40 Stats();
41 };
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual bool is_screencast() const = 0;
47
48 virtual ::std::optional<bool> needs_denoising() const = 0;
49
50 virtual bool GetStats(::webrtc::VideoTrackSourceInterface::Stats*) = 0;
51
52 virtual bool SupportsEncodedOutput() const = 0;
53
54 virtual void GenerateKeyFrame() = 0;
55
57
58 virtual void RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>*) = 0;
59
60 virtual void ProcessConstraints(::webrtc::VideoTrackSourceConstraints const& constraints);
61
62 virtual ~VideoTrackSourceInterface() /*override*/;
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCNAPI void $dtor();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
75
76
77 // NOLINTEND
78};
79
80} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition VideoSourceInterface.h:8
Definition MediaSourceInterface.h:11
Definition RecordableEncodedFrame.h:18
Definition VideoFrame.h:16
Definition VideoTrackSourceInterface.h:20
MCAPI void $ProcessConstraints(::webrtc::VideoTrackSourceConstraints const &constraints)
Definition Alias.h:14
Definition VideoTrackSourceConstraints.h:7
Definition VideoTrackSourceInterface.h:28