Expand description
TURN client API.
Provides a consistent interface between multiple implementations of TURN clients for different transports (TCP, and UDP) and wrappers (TLS).
Structs§
- Delayed
Transmit - A
Transmitwhere the data is some subset of the provided data. - Socket5
Tuple - A socket with the specified network 5-tuple.
- Transmit
- A piece of data that needs to, or has been transmitted
- Transmit
Build - A piece of data that needs to be built before it can be transmitted.
- Turn
Config - Configuration structure for handling TURN client configuration.
- Turn
Peer Data - Data that has been received from the TURN server.
Enums§
- Bind
Channel Error - Errors produced when attempting to bind a channel.
- Create
Permission Error - Errors produced when attempting to create a permission for a peer address.
- Data
- An owned or borrowed piece of data
- Data
Range OrOwned - A slice range or an owned piece of data.
- Delayed
Message OrChannel Send - A delayed
Transmitthat will produce data for a TURN server. - Delete
Error - Errors produced when attempting to delete an allocation.
- Send
Error - Errors produced when attempting to send data to a peer.
- TcpAllocate
Error - Errors produced when attempting to connect to a peer over TCP.
- TcpConnect
Error - Errors produced when attempting to connect to a peer over TCP.
- Turn
Event - A set of events that can occur within a TURN client’s connection to a TURN server.
- Turn
Poll Ret - Return value from calling poll().
- Turn
Recv Ret - Return value from call recv.
Traits§
- Turn
Client Api - The public API of a TURN client.