LeviLamina
Loading...
Searching...
No Matches
TransformableFrameInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ArrayView.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class TimeDelta; }
11namespace webrtc { class Timestamp; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // TransformableFrameInterface inner types declare
19 // clang-format off
20 class Passkey;
21 // clang-format on
22
23 // TransformableFrameInterface inner types define
24 enum class Direction : int {
25 KUnknown = 0,
26 KReceiver = 1,
27 KSender = 2,
28 };
29
30 class Passkey {};
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~TransformableFrameInterface() = default;
36
37 virtual ::webrtc::ArrayView<uchar const> GetData() const = 0;
38
39 virtual void SetData(::webrtc::ArrayView<uchar const> data) = 0;
40
41 virtual uchar GetPayloadType() const = 0;
42
43 virtual bool CanSetPayloadType() const;
44
45 virtual void SetPayloadType(uchar payload_type);
46
47 virtual uint GetSsrc() const = 0;
48
49 virtual uint GetTimestamp() const = 0;
50
51 virtual void SetRTPTimestamp(uint timestamp) = 0;
52
53 virtual ::std::optional<::webrtc::Timestamp> GetCaptureTimeIdentifier() const;
54
55 virtual ::std::optional<::webrtc::Timestamp> GetPresentationTimestamp() const;
56
57 virtual ::webrtc::TransformableFrameInterface::Direction GetDirection() const;
58
59 virtual ::std::string GetMimeType() const = 0;
60
61 virtual ::std::optional<::webrtc::Timestamp> ReceiveTime() const = 0;
62
63 virtual ::std::optional<::webrtc::Timestamp> CaptureTime() const = 0;
64
65 virtual bool CanSetCaptureTime() const;
66
67 virtual void SetCaptureTime(::std::optional<::webrtc::Timestamp> capture_time);
68
69 virtual ::std::optional<::webrtc::TimeDelta> SenderCaptureTimeOffset() const = 0;
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCNAPI bool $CanSetPayloadType() const;
76
77 MCNAPI void $SetPayloadType(uchar payload_type);
78
79 MCNAPI ::std::optional<::webrtc::Timestamp> $GetCaptureTimeIdentifier() const;
80
81 MCNAPI ::std::optional<::webrtc::Timestamp> $GetPresentationTimestamp() const;
82
83 MCNAPI ::webrtc::TransformableFrameInterface::Direction $GetDirection() const;
84
85 MCNAPI bool $CanSetCaptureTime() const;
86
87 MCNAPI void $SetCaptureTime(::std::optional<::webrtc::Timestamp> capture_time);
88
89
90 // NOLINTEND
91};
92
93} // namespace webrtc
Definition ArrayView.h:8
Definition TimeDelta.h:10
Definition Timestamp.h:15
Definition TransformableFrameInterface.h:30
Definition TransformableFrameInterface.h:16
MCAPI ::std::optional<::webrtc::Timestamp > $GetPresentationTimestamp() const
MCAPI void $SetPayloadType(uchar payload_type)
MCAPI ::std::optional<::webrtc::Timestamp > $GetCaptureTimeIdentifier() const
MCAPI bool $CanSetCaptureTime() const
MCAPI void $SetCaptureTime(::std::optional<::webrtc::Timestamp > capture_time)
MCAPI::webrtc::TransformableFrameInterface::Direction $GetDirection() const
MCAPI bool $CanSetPayloadType() const