LeviLamina
Loading...
Searching...
No Matches
FrameDecryptorInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/RefCountInterface.h"
8
9namespace webrtc {
10
12public:
13 // FrameDecryptorInterface inner types declare
14 // clang-format off
15 struct Result;
16 // clang-format on
17
18 // FrameDecryptorInterface inner types define
19 enum class Status : int {
20 KOk = 0,
21 KRecoverable = 1,
22 KFailedToDecrypt = 2,
23 KUnknown = 3,
24 };
25
26 struct Result {
27 public:
28 // member variables
29 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 Result& operator=(Result const&);
37 Result(Result const&);
38 Result();
39 };
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual ~FrameDecryptorInterface() /*override*/ = default;
45
46 virtual ::webrtc::FrameDecryptorInterface::Result Decrypt(
47 ::cricket::MediaType,
48 ::std::vector<uint> const&,
52 ) = 0;
53
54 virtual uint64 GetMaxPlaintextByteSize(::cricket::MediaType, uint64) = 0;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60
61 // NOLINTEND
62};
63
64} // namespace webrtc
Definition _HeaderOutputPredefine.h:310
Definition FrameDecryptorInterface.h:11
Definition RefCountInterface.h:10
Definition Alias.h:14
Definition FrameDecryptorInterface.h:26