LeviLamina
Loading...
Searching...
No Matches
SrtpSession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8namespace webrtc { class FieldTrialsView; }
9// clang-format on
10
11namespace cricket {
12
14public:
15 // member functions
16 // NOLINTBEGIN
17 MCAPI bool DoSetKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
18
19 MCAPI void DumpPacket(void const*, int, bool);
20
21 MCAPI void EnableExternalAuth();
22
23 MCAPI int GetSrtpOverhead() const;
24
25 MCAPI void HandleEvent(::srtp_event_data_t const*);
26
27 MCAPI bool IsExternalAuthEnabled() const;
28
29 MCAPI bool ProtectRtcp(void*, int, int, int*);
30
31 MCAPI bool ProtectRtp(void*, int, int, int*);
32
33 MCAPI bool RemoveSsrcFromSession(uint);
34
35 MCAPI bool SetKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
36
37 MCAPI bool SetRecv(int, uchar const*, uint64, ::std::vector<int> const&);
38
39 MCAPI bool SetSend(int, uchar const*, uint64, ::std::vector<int> const&);
40
41 MCAPI explicit SrtpSession(::webrtc::FieldTrialsView const&);
42
43 MCAPI bool UnprotectRtcp(void*, int, int*);
44
45 MCAPI bool UnprotectRtp(void*, int, int*);
46
47 MCAPI bool UpdateKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
48
49 MCAPI bool UpdateRecv(int, uchar const*, uint64, ::std::vector<int> const&);
50
51 MCAPI bool UpdateSend(int, uchar const*, uint64, ::std::vector<int> const&);
52
53 MCAPI ~SrtpSession();
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static void HandleEventThunk(::srtp_event_data_t*);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::webrtc::FieldTrialsView const&);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
74
75} // namespace cricket
Definition SrtpSession.h:13
Definition FieldTrialsView.h:7
Definition srtp_event_data_t.h:5