IceRelayOffer class

The relay fields a server sends beside params in its createWebRtcTransport answer. All fields are absent on servers without a relay.

Constructors

IceRelayOffer({List<Map<String, dynamic>> iceServers = const [], String? mode, int? afterMs})
const
IceRelayOffer.fromAck(dynamic response)
Reads iceServers, iceRelayMode and iceRelayAfterMs from the createWebRtcTransport acknowledgement (never from params).
factory

Properties

afterMs → int?
final
always → bool
Whether the transport must be created with the relay already allowed.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasServers → bool
no setter
iceServers → List<Map<String, dynamic>>
final
mode → String?
final
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