DefaultConfig class

Default configuration values for Telnyx WebRTC connections.

This class provides constants for production and development server addresses, as well as default ICE server configurations for TURN/STUN.

Constructors

DefaultConfig()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

defaultDevIceServers → List<TxIceServer>
Default development ICE servers configuration.
no setter
defaultProdIceServers → List<TxIceServer>
Default production ICE servers configuration.
no setter

Constants

defaultStun → const String
Production STUN server
defaultTurn → const String
Production TURN server with TCP transport
defaultTurns443 → const String
Primary production TURNS server over TLS on port 443. (last-resort fallback for restrictive firewalls that block non-443 traffic)
defaultTurnUdp → const String
Production TURN server with UDP transport (preferred for lower latency)
devStun → const String
Development STUN server
devTurn → const String
Development TURN server with TCP transport
devTurns443 → const String
Development TURNS server with TCP transport over TLS on port 443 (last-resort fallback for restrictive firewalls that block non-443 traffic)
devTurnUdp → const String
Development TURN server with UDP transport
googleStun → const String
Google's public STUN server for additional reliability
password → const String
Default password (credential) used to authenticate against the TURN servers.
socketHostAddress → const String
Default production signaling WebSocket URL.
telnyxDevHostAddress → const String
Development signaling host address.
telnyxPort → const int
Port used for the signaling WebSocket connection.
telnyxProdHostAddress → const String
Production signaling host address.
username → const String
Default username used to authenticate against the TURN servers.