Crate dachannel

source ·

Structs§

  • A Channel is a WebRTC DataChannel that datagrams can be sent and received on.
  • An object providing options to configure the new connection:
  • An object providing configuration options for the data channel. It can contain the following fields:
  • 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.
  • An underlying platform error.
  • A server which may be used by the ICE agent; these are typically STUN and/or TURN servers.
  • The receiver half of a channel.
  • The sender half of a channel.

Enums§

  • 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.
  • A string representing the current ICE transport policy. Possible values are:
  • 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.
  • The property RTCSessionDescription.type is a read-only string value which describes the description’s type.