lib-jitsi-meet
    Preparing search index...

    Enumeration JitsiConnectionEvents

    The events for the connection.

    Index

    Enumeration Members

    CONNECTION_DISCONNECTED: "connection.connectionDisconnected"

    Indicates that the connection has been disconnected. The event provides the following parameters to its listeners:

    {string} a message associated with the disconnect such as the last (known) error message

    CONNECTION_ESTABLISHED: "connection.connectionEstablished"

    Indicates that the connection has been established. The event provides the following parameters to its listeners:

    {string} the ID of the local endpoint/participant/peer (within the context of the established connection)

    CONNECTION_FAILED: "connection.connectionFailed"

    Indicates that the connection has been failed for some reason. The event provides the following parameters to its listeners:

    {JitsiConnectionErrors} the type of error associated with the failure

    {string} the error (message) associated with the failure

    {object} the credentials used to connect (if any)

    {object} an optional object with details about the error, like shard moving, suspending. Used for analytics purposes.

    CONNECTION_REDIRECTED: "connection.redirected"

    The connection is redirected to a visitor node.

    CONNECTION_TOKEN_EXPIRED: "connection.token_expired"

    The connection is trying to resume, but token is expired.

    DISPLAY_NAME_REQUIRED: "connection.display_name_required"

    Indicates that the display name is required over this connection and need to be supplied when joining the room. There are cases like lobby room where display name is required.

    PROPERTIES_UPDATED: "connection.propertiesUpdated"

    Indicates that the connection properties have been updated.

    {object} - All available connection properties (e.g. shard, region).

    SERVER_FEATURES_UPDATED: "connection.serverFeaturesUpdated"

    Indicates that features the server advertises have been received. Within a connection the list only grows, it is emitted empty when a new connection starts. Without jiconop the features arrive with the reply to a disco#info query sent after CONNECTION_ESTABLISHED, so a UI that checks a feature should listen for this event rather than read the features once on connect; JitsiConnection.getServerFeatures gives the list received so far.

    {string[]} - All the features the server advertised so far, see JitsiConnection.isServerFeatureSupported.