3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/AdapterType.h"
7#include "mc/external/webrtc/ArrayView.h"
8#include "mc/external/webrtc/IceControllerInterface.h"
9#include "mc/external/webrtc/IceMode.h"
10#include "mc/external/webrtc/IceSwitchReason.h"
11#include "mc/external/webrtc/NominationMode.h"
16namespace webrtc {
class Network; }
41 BasicIceController& operator=(BasicIceController
const&);
42 BasicIceController(BasicIceController
const&);
48 virtual ~BasicIceController() =
default;
58 virtual ::webrtc::ArrayView<::webrtc::Connection const* const> GetConnections()
const ;
60 virtual ::webrtc::ArrayView<::webrtc::Connection const*> connections()
const ;
62 virtual bool HasPingableConnection()
const ;
64 virtual ::webrtc::IceControllerInterface::PingResult SelectConnectionToPing(int64 last_ping_sent_ms) ;
66 virtual bool GetUseCandidateAttr(
68 ::webrtc::NominationMode mode,
69 ::webrtc::IceMode remote_ice_mode
72 virtual ::webrtc::IceControllerInterface::SwitchResult
73 ShouldSwitchConnection(::webrtc::IceSwitchReason reason,
::webrtc::Connection const* new_connection) ;
75 virtual ::webrtc::IceControllerInterface::SwitchResult
76 SortAndSwitchConnection(::webrtc::IceSwitchReason reason) ;
78 virtual ::std::vector<::webrtc::Connection const*> PruneConnections() ;
80 virtual ::webrtc::Connection
const* FindNextPingableConnection() ;
93 ::std::optional<::webrtc::AdapterType>
101 ::std::optional<int64> receiving_unchanged_threshold,
102 bool* missed_receiving_unchanged_threshold
109 MCNAPI ::webrtc::IceControllerInterface::SwitchResult
114 MCNAPI ::webrtc::Connection
const*
139 MCNAPI ::webrtc::ArrayView<::webrtc::Connection const* const>
$GetConnections()
const;
141 MCNAPI ::webrtc::ArrayView<::webrtc::Connection const*>
$connections()
const;
149 ::webrtc::NominationMode mode,
150 ::webrtc::IceMode remote_ice_mode
153 MCNAPI ::webrtc::IceControllerInterface::SwitchResult
MCAPI ::webrtc::ArrayView<::webrtc::Connection const * > $connections() const
MCAPI::webrtc::IceControllerInterface::PingResult $SelectConnectionToPing(int64 last_ping_sent_ms)
static MCAPI void ** $vftable()
MCAPI BasicIceController(::webrtc::IceControllerFactoryArgs const &args)
MCAPI bool WritableConnectionPastPingInterval(::webrtc::Connection const *conn, int64 now) const
MCAPI void $SetSelectedConnection(::webrtc::Connection const *selected_connection)
MCAPI int CompareConnections(::webrtc::Connection const *a, ::webrtc::Connection const *b, ::std::optional< int64 > receiving_unchanged_threshold, bool *missed_receiving_unchanged_threshold) const
MCAPI ::std::map<::webrtc::Network const *, ::webrtc::Connection const * > GetBestConnectionByNetwork() const
MCAPI void * $ctor(::webrtc::IceControllerFactoryArgs const &args)
MCAPI int CompareCandidatePairNetworks(::webrtc::Connection const *a, ::webrtc::Connection const *b, ::std::optional<::webrtc::AdapterType >) const
MCAPI::webrtc::Connection const * FindOldestConnectionNeedingTriggeredCheck(int64 now)
MCAPI::webrtc::IceControllerInterface::SwitchResult $ShouldSwitchConnection(::webrtc::IceSwitchReason reason, ::webrtc::Connection const *new_connection)
MCAPI bool $HasPingableConnection() const
MCAPI bool PresumedWritable(::webrtc::Connection const *conn) const
MCAPI ::webrtc::ArrayView<::webrtc::Connection const *const > $GetConnections() const
MCAPI void $MarkConnectionPinged(::webrtc::Connection const *conn)
MCAPI void $AddConnection(::webrtc::Connection const *connection)
MCAPI bool $GetUseCandidateAttr(::webrtc::Connection const *conn, ::webrtc::NominationMode mode, ::webrtc::IceMode remote_ice_mode) const
MCAPI void $SetIceConfig(::webrtc::IceConfig const &config)
MCAPI void $OnConnectionDestroyed(::webrtc::Connection const *connection)
MCAPI ::std::vector<::webrtc::Connection const * > $PruneConnections()
MCAPI bool IsPingable(::webrtc::Connection const *conn, int64 now) const
MCAPI::webrtc::Connection const * MorePingable(::webrtc::Connection const *conn1, ::webrtc::Connection const *conn2)
MCAPI int CompareConnectionCandidates(::webrtc::Connection const *a, ::webrtc::Connection const *b) const
MCAPI::webrtc::IceControllerInterface::SwitchResult $SortAndSwitchConnection(::webrtc::IceSwitchReason reason)
MCAPI::webrtc::IceControllerInterface::SwitchResult HandleInitialSelectDampening(::webrtc::IceSwitchReason, ::webrtc::Connection const *new_connection)
MCAPI::webrtc::Connection const * $FindNextPingableConnection()
Definition Connection.h:35
Definition IceControllerInterface.h:19
Definition IceConfig.h:16
Definition IceControllerFactoryArgs.h:7