SignalingState enum

State of a signaling process on a local end of a connection while connecting or reconnecting to another peer.

Inheritance

Constructors

SignalingState()
const

Values

stable → const SignalingState

There is no ongoing exchange of offer and answer underway.

haveLocalOffer → const SignalingState

Local peer has called PeerConnection.setLocalDescription(), passing in SDP representing an offer (usually created by calling PeerConnection.createOffer()), and the offer has been applied successfully.

haveLocalPranswer → const SignalingState

Offer sent by the remote peer has been applied and an answer has been created (usually by calling PeerConnection.createAnswer()) and applied by calling PeerConnection.setLocalDescription()).

haveRemoteOffer → const SignalingState

Remote peer has created an offer and used the signaling server to deliver it to the local peer, which has set the offer as the remote description by calling PeerConnection.setRemoteDescription().

haveRemotePranswer → const SignalingState

Offer sent by the remote peer has been applied and an answer has been created (usually by calling PeerConnection.createAnswer()) and applied by calling PeerConnection.setLocalDescription(). This provisional answer describes the supported media formats and so forth, but may not have a complete set of ICE candidates included. Further candidates will be delivered separately later.

closed → const SignalingState

Peer connection has been closed.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SignalingState>
A constant List of the values in this enum, in order of their declaration.