PeerConnectionState enum
Current state of a peer connection.
Constructors
- PeerConnectionState()
-
const
Values
- new_ → const PeerConnectionState
-
At least one of the connection's ICE transports is in the new state, and none of them are in one of the following states:
connecting
,checking
,failed
,disconnected
, or all of the connection's transports are in theclosed
state. - connecting → const PeerConnectionState
-
One or more of the ICE transports are currently in the process of establishing a connection. That is, their
iceConnectionState
is eitherchecking
orconnected
, and no transports are in thefailed
state. - connected → const PeerConnectionState
-
Every ICE transport used by the connection is either in use (state
connected
orcompleted
) or is closed (stateclosed
). In addition, at least one transport is eitherconnected
orcompleted
. - disconnected → const PeerConnectionState
-
At least one of the ICE transports for the connection is in the
disconnected
state and none of the other transports are in the statefailed
,connecting
orchecking
. - failed → const PeerConnectionState
-
One or more of the ICE transports on the connection is in the
failed
state. - closed → const PeerConnectionState
-
Peer connection is closed.
Properties
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<
PeerConnectionState> - A constant List of the values in this enum, in order of their declaration.