Skip to main content
Version: v1.17.0

Enumeration: ConnectionState

An enumeration describing the connection state of the webRTC stream.

Enumeration Members

CLOSED

CLOSED: "closed"

Indicates the webRTC connection is closed.


COMPLETED

COMPLETED: "completed"

Indicates that the webRTC connection is completed.


CONNECTED

CONNECTED: "connected"

Indicates that the webRTC connection is connected.


CONNECTING

CONNECTING: "connecting"

Indicates that the webRTC connection is connecting.


DISCONNECTED

DISCONNECTED: "disconnected"

Indicates that the webRTC connection is disconnected.


FAILED

FAILED: "failed"

Indicates that the webRTC connection has failed.


IDLE

IDLE: "idle"

Indicates that the webRTC connection is idle.


NEW

NEW: "new"

Indicates that a new webRTC connection has been created but has not yet started connecting to the server.


NONE

NONE: "none"

Indicates that the webRTC connection has been deleted or does not yet exist.