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 // vIndex: 5
47 virtual bool is_screencast() const = 0;
48
49 // vIndex: 6
50 virtual ::std::optional<bool> needs_denoising() const = 0;
51
52 // vIndex: 7
53 virtual bool GetStats(::webrtc::VideoTrackSourceInterface::Stats*) = 0;
54
55 // vIndex: 8
56 virtual bool SupportsEncodedOutput() const = 0;
57
58 // vIndex: 9
59 virtual void GenerateKeyFrame() = 0;
60
61 // vIndex: 10
63
64 // vIndex: 11
65 virtual void RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>*) = 0;
66
67 // vIndex: 12
68 virtual void ProcessConstraints(::webrtc::VideoTrackSourceConstraints const&);
69
70 // vIndex: 0
71 virtual ~VideoTrackSourceInterface() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79};
80
81} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition VideoSourceInterface.h:8
Definition MediaSourceInterface.h:11
Definition VideoTrackSourceInterface.h:20
Definition Alias.h:14
Definition VideoTrackSourceConstraints.h:7
Definition VideoTrackSourceInterface.h:28