Controlls the configuration of a Stun or Turn controller.
More...
Controlls the configuration of a Stun or Turn controller.
◆ ControllerConfig()
NobleConnect.Stun.ControllerConfig.ControllerConfig |
( |
| ) |
|
Create a default Stun.Controller configuration.
- Parameters
-
stunServerAddress | |
stunServerPort | |
username | |
password | |
◆ allocationRetransmissionTimeout
int NobleConnect.Stun.ControllerConfig.allocationRetransmissionTimeout |
◆ defaultRetransmissionTimeout
int NobleConnect.Stun.ControllerConfig.defaultRetransmissionTimeout |
The initial retransmission timeout in milliseconds
The actual timeout is dynamic and controlled by RoundTripTimout, but setting this inital value allows some control.
◆ finalRetransmissionTimeoutMultiplier
int NobleConnect.Stun.ControllerConfig.finalRetransmissionTimeoutMultiplier |
Multplier for how long to wait after the final attempt to re-transmit a failed request before giving up
Wait for (roundTripTimeout * finalRetransmissionTimeoutMultiplier) before considering the request failed.
- See also
- RoundTripTimeout
◆ maxAllocationRetransmissionCount
int NobleConnect.Stun.ControllerConfig.maxAllocationRetransmissionCount |
◆ maxRetransmissionCount
int NobleConnect.Stun.ControllerConfig.maxRetransmissionCount |
The maximum amount of times to re-send a request before giving up
◆ origin
string NobleConnect.Stun.ControllerConfig.origin |
◆ password
string NobleConnect.Stun.ControllerConfig.password |
Password to use when authenticating messages
◆ stunServerEndPoint
IPEndPoint NobleConnect.Stun.ControllerConfig.stunServerEndPoint |
The address of the Stun server
◆ suppressOutput
bool NobleConnect.Stun.ControllerConfig.suppressOutput = false |
Suppress all console logging from the stun controller
◆ username
string NobleConnect.Stun.ControllerConfig.username |
Username to use when authenticating messages