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 // prevent constructor by default
17
18public:
19 // member functions
20 // NOLINTBEGIN
21 MCNAPI bool DoSetKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
22
23 MCNAPI void DumpPacket(void const*, int, bool);
24
25 MCNAPI void EnableExternalAuth();
26
27 MCNAPI int GetSrtpOverhead() const;
28
29 MCNAPI void HandleEvent(::srtp_event_data_t const*);
30
31 MCNAPI bool IsExternalAuthEnabled() const;
32
33 MCNAPI bool ProtectRtcp(void*, int, int, int*);
34
35 MCNAPI bool ProtectRtp(void*, int, int, int*);
36
37 MCNAPI bool RemoveSsrcFromSession(uint);
38
39 MCNAPI bool SetKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
40
41 MCNAPI bool SetRecv(int, uchar const*, uint64, ::std::vector<int> const&);
42
43 MCNAPI bool SetSend(int, uchar const*, uint64, ::std::vector<int> const&);
44
45 MCNAPI explicit SrtpSession(::webrtc::FieldTrialsView const&);
46
47 MCNAPI bool UnprotectRtcp(void*, int, int*);
48
49 MCNAPI bool UnprotectRtp(void*, int, int*);
50
51 MCNAPI bool UpdateKey(int, int, uchar const*, uint64, ::std::vector<int> const&);
52
53 MCNAPI bool UpdateRecv(int, uchar const*, uint64, ::std::vector<int> const&);
54
55 MCNAPI bool UpdateSend(int, uchar const*, uint64, ::std::vector<int> const&);
56
57 MCNAPI ~SrtpSession();
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(::webrtc::FieldTrialsView const&);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77};
78
79} // namespace cricket
Definition SrtpSession.h:13
MCAPI bool SetRecv(int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI bool UpdateSend(int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI bool DoSetKey(int, int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI void $dtor()
MCAPI bool SetKey(int, int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI void EnableExternalAuth()
MCAPI SrtpSession(::webrtc::FieldTrialsView const &)
MCAPI bool UpdateRecv(int, uchar const *, uint64, ::std::vector< int > const &)
static MCAPI void HandleEventThunk(::srtp_event_data_t *)
MCAPI bool IsExternalAuthEnabled() const
MCAPI bool SetSend(int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI bool ProtectRtp(void *, int, int, int *)
MCAPI bool RemoveSsrcFromSession(uint)
MCAPI void DumpPacket(void const *, int, bool)
MCAPI bool UnprotectRtp(void *, int, int *)
MCAPI bool UpdateKey(int, int, uchar const *, uint64, ::std::vector< int > const &)
MCAPI bool UnprotectRtcp(void *, int, int *)
MCAPI void * $ctor(::webrtc::FieldTrialsView const &)
MCAPI int GetSrtpOverhead() const
MCAPI bool ProtectRtcp(void *, int, int, int *)
MCAPI void HandleEvent(::srtp_event_data_t const *)
Definition FieldTrialsView.h:7
Definition srtp_event_data_t.h:5