RTCIceServer class

The dictionary defines how to connect to a single ICE server (such as a STUN or TURN server). Objects of this type are provided in the configuration of an RTCPeerConnection, in the iceServers array.

Available extensions
Annotations
  • @experimental
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

RTCIceServer({dynamic urls, String? username, String? credential, RTCIceCredentialType? credentialType})
factory

Properties

credential String

Available on RTCIceServer, provided by the PropsRTCIceServer extension

getter/setter pair
credentialType RTCIceCredentialType

Available on RTCIceServer, provided by the PropsRTCIceServer extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urls ↔ dynamic

Available on RTCIceServer, provided by the PropsRTCIceServer extension

getter/setter pair
username String

Available on RTCIceServer, provided by the PropsRTCIceServer extension

getter/setter pair

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