LeviLamina
Loading...
Searching...
No Matches
ActiveIceControllerInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/IceMode.h"
7#include "mc/external/webrtc/IceSwitchReason.h"
8#include "mc/external/webrtc/NominationMode.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class Connection; }
13namespace webrtc { struct IceConfig; }
14// clang-format on
15
16namespace webrtc {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~ActiveIceControllerInterface() = default;
23
24 virtual void SetIceConfig(::webrtc::IceConfig const& config) = 0;
25
26 virtual void OnConnectionAdded(::webrtc::Connection const* connection) = 0;
27
28 virtual void OnConnectionSwitched(::webrtc::Connection const* connection) = 0;
29
30 virtual void OnConnectionDestroyed(::webrtc::Connection const* connection) = 0;
31
32 virtual void OnConnectionPinged(::webrtc::Connection const* connection) = 0;
33
34 virtual void OnConnectionUpdated(::webrtc::Connection const* connection) = 0;
35
36 virtual bool GetUseCandidateAttribute(
37 ::webrtc::Connection const* connection,
38 ::webrtc::NominationMode mode,
39 ::webrtc::IceMode remote_ice_mode
40 ) const = 0;
41
42 virtual void OnSortAndSwitchRequest(::webrtc::IceSwitchReason reason) = 0;
43
44 virtual void OnImmediateSortAndSwitchRequest(::webrtc::IceSwitchReason reason) = 0;
45
46 virtual bool OnImmediateSwitchRequest(::webrtc::IceSwitchReason reason, ::webrtc::Connection const* selected) = 0;
47
48 virtual ::webrtc::Connection const* FindNextPingableConnection() = 0;
49 // NOLINTEND
50};
51
52} // namespace webrtc
Definition ActiveIceControllerInterface.h:18
Definition Connection.h:35
Definition IceConfig.h:16