LeviLamina
Loading...
Searching...
No Matches
VideoTrackInterface.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/MediaStreamTrackInterface.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace rtc { struct VideoSinkWants; }
13namespace webrtc { class VideoFrame; }
14namespace webrtc { class VideoTrackSourceInterface; }
15// clang-format on
16
17namespace webrtc {
18
20 public ::rtc::VideoSourceInterface<::webrtc::VideoFrame> {
21public:
22 // VideoTrackInterface inner types define
23 enum class ContentHint : int {
24 KNone = 0,
25 KFluid = 1,
26 KDetailed = 2,
27 KText = 3,
28 };
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual void AddOrUpdateSink(
36 ::rtc::VideoSinkWants const& wants
37 ) /*override*/;
38
39 // vIndex: 2
40 virtual void RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>* sink) /*override*/;
41
42 // vIndex: 8
43 virtual ::webrtc::VideoTrackSourceInterface* GetSource() const = 0;
44
45 // vIndex: 9
46 virtual ::webrtc::VideoTrackInterface::ContentHint content_hint() const;
47
48 // vIndex: 10
49 virtual void set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint);
50
51 // vIndex: 0
52 virtual ~VideoTrackInterface() /*override*/;
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI void
66
68
69 MCNAPI ::webrtc::VideoTrackInterface::ContentHint $content_hint() const;
70
71 MCNAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint);
72 // NOLINTEND
73};
74
75} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition VideoSourceInterface.h:8
Definition MediaStreamTrackInterface.h:11
Definition VideoTrackInterface.h:20
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
MCAPI::webrtc::VideoTrackInterface::ContentHint $content_hint() const
MCAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint)
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
Definition VideoSinkWants.h:7