|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Address and credentials for a TURN relay used during ICE. More...
#include <cpp/a11/net/webrtc_wire_stream.h>
Static Public Member Functions | |
| static absl::StatusOr< TurnServer > | FromString (std::string_view value) |
| Parses a TURN server from a URL-like string. | |
Public Attributes | |
| std::string | hostname |
| TURN host name or address. | |
| std::uint16_t | port = 3478 |
| TURN service port. | |
| std::string | username |
| Relay credential username. | |
| std::string | password |
| Relay credential password. | |
| TurnRelayType | relay_type = TurnRelayType::kUdp |
| Transport to the relay. | |
Friends | |
| bool | operator== (const TurnServer &, const TurnServer &)=default |
Address and credentials for a TURN relay used during ICE.
TURN servers relay media when a direct peer-to-peer path cannot be established through NATs or firewalls.
|
static |
Parses a TURN server from a URL-like string.
|
friend |
| std::string a11::net::TurnServer::hostname |
TURN host name or address.
| std::string a11::net::TurnServer::password |
Relay credential password.
| std::uint16_t a11::net::TurnServer::port = 3478 |
TURN service port.
| TurnRelayType a11::net::TurnServer::relay_type = TurnRelayType::kUdp |
Transport to the relay.
| std::string a11::net::TurnServer::username |
Relay credential username.