此操作将删除页面 "turnutils_uclient"
,请三思而后行。
It was designed to simulate multiple clients. It uses asynch IO API in libevent to handle multiple clients. A client connects to the relay, negotiates the session, and sends multiple (configured number) messages to the server (relay), expecting the same number of replies. The length of the messages is configurable. The message is an arbitrary octet stream. The number of the messages to send is configurable.
When an unreliable protocol is used for the client-TURN-server communications (UDP or DTLS), then the uclient program performs a retransmission actions, if necessary.
$ turnutils_uclient [-tSvsyhcxg] [options] <TURN-Server-IP-address>
<number>
Message length (Default: 100 Bytes).<file-name>
Certificate file (for secure connections only, optional).<file-name>
Private key file (for secure connections only).<CA-file-name>
CA file for server certificate verification, if the server certificate to be verified.<port>
TURN Server port (Default: 3478 unsecure, 5349 secure).<number>
Number of messages to send (Default: 5).<device-name>
Local interface device (optional, Linux only).<ip>
Local IP address (optional).<number>
Number of clients (default is 1, 2 or 4, depending on options below).<ip>
Peer address.<port>
Peer port (default 3480).<number>
Per-session packet interval in milliseconds (default is 20 ms).<user>
STUN/TURN username.<password>
STUN/TURN user password.<secret>
TURN REST API secret. The "plain text" secret e.g. "north" that is stored in the value column of the turn_secret table in the database if dynamic, or the static-auth-secret value set in the configuration file if using static.<symbol>
This is the timestamp/username separator symbol (character) in TURN REST API. The default value is ':'.<cipher-suite>
Cipher suite for TLS/DTLS. Default value is DEFAULT.<origin>
the ORIGIN STUN attribute value.<bytes-per-second>
Bandwidth for the bandwidth request in ALLOCATE. The default value is zero.See the turnutils_uclient usage examples in the "examples/scripts" directory.
此操作将删除页面 "turnutils_uclient"
,请三思而后行。