A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::net::WebRtcWireServer::State Struct Reference

Public Member Functions

 State (std::string value_identity, std::shared_ptr< SignallingService > value_signalling, OnWebRtcStream stream_callback, WebRtcConfiguration value_configuration, WireStreamOptions value_stream_options)
 
std::shared_ptr< SignallingEndpoint > endpoint ABSL_GUARDED_BY (mu)
 
bool running ABSL_GUARDED_BY (mu)
 
absl::flat_hash_map< std::string, std::shared_ptr< ServerPeerContext > > peers ABSL_GUARDED_BY (mu)
 

Public Attributes

thread::Mutex mu
 
const std::string identity
 
const std::shared_ptr< SignallingServicesignalling
 
const OnWebRtcStream on_stream
 
const WebRtcConfiguration configuration
 
const WireStreamOptions stream_options
 

Constructor & Destructor Documentation

◆ State()

a11::net::WebRtcWireServer::State::State ( std::string  value_identity,
std::shared_ptr< SignallingService value_signalling,
OnWebRtcStream  stream_callback,
WebRtcConfiguration  value_configuration,
WireStreamOptions  value_stream_options 
)
inline

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/3]

std::shared_ptr< SignallingEndpoint > endpoint a11::net::WebRtcWireServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [2/3]

bool running a11::net::WebRtcWireServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [3/3]

absl::flat_hash_map< std::string, std::shared_ptr< ServerPeerContext > > peers a11::net::WebRtcWireServer::State::ABSL_GUARDED_BY ( mu  )

Member Data Documentation

◆ configuration

const WebRtcConfiguration a11::net::WebRtcWireServer::State::configuration

◆ identity

const std::string a11::net::WebRtcWireServer::State::identity

◆ mu

thread::Mutex a11::net::WebRtcWireServer::State::mu
mutable

◆ on_stream

const OnWebRtcStream a11::net::WebRtcWireServer::State::on_stream

◆ signalling

const std::shared_ptr<SignallingService> a11::net::WebRtcWireServer::State::signalling

◆ stream_options

const WireStreamOptions a11::net::WebRtcWireServer::State::stream_options

The documentation for this struct was generated from the following file: