Crate dachannel

Crate dachannel 

Source

Structs§

Channel
A Channel is a WebRTC DataChannel that datagrams can be sent and received on.
Configuration
An object providing options to configure the new connection:
Connection
ConnectionBuilder
DataChannelOptions
An object providing configuration options for the data channel. It can contain the following fields:
Description
The RTCSessionDescription interface describes one end of a connection—or potential connection—and how it’s configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session.
Error
An underlying platform error.
IceServer
A server which may be used by the ICE agent; these are typically STUN and/or TURN servers.
Receiver
The receiver half of a channel.
Sender
The sender half of a channel.

Enums§

IceGatheringState
The read-only property RTCPeerConnection.iceGatheringState returns a string that describes the connection’s ICE gathering state. This lets you detect, for example, when collection of ICE candidates has finished.
IceTransportPolicy
A string representing the current ICE transport policy. Possible values are:
PeerConnectionState
The read-only connectionState property of the RTCPeerConnection interface indicates the current state of the peer connection by returning one of the following string values: new, connecting, connected, disconnected, failed, or closed.
SdpType
The property RTCSessionDescription.type is a read-only string value which describes the description’s type.