peerix - v0.8.0
    Preparing search index...

    Interface RoomEvents<M>

    Events emitted by a Room instance.

    Type Parameters

    Hierarchy

    Index
    channel: [ChannelEvent<M>]

    Fired on any data channel event from a remote peer.

    "channel:close": [ChannelStateEvent<M>]

    A data channel is closed with a remote peer.

    "channel:error": [ChannelErrorEvent<M>]

    An error occurs on a data channel with a remote peer.

    A message is received on a data channel from a remote peer.

    "channel:new": [ChannelStateEvent<M>]

    A data channel is created with a remote peer.

    "channel:open": [ChannelStateEvent<M>]

    A data channel is opened with a remote peer.

    connection: [ConnectionEvent<M>]

    Fired on any peer connection state change.

    "connection:closed": [ConnectionEvent<M>]

    A peer connection is closed.

    "connection:connected": [ConnectionEvent<M>]

    A peer connection is established.

    "connection:connecting": [ConnectionEvent<M>]

    A peer connection is connecting.

    "connection:disconnected": [ConnectionEvent<M>]

    A peer connection is disconnected.

    "connection:failed": [ConnectionEvent<M>]

    A peer connection has failed.

    "connection:new": [ConnectionEvent<M>]

    A peer connection is created.

    error: [ErrorEvent]

    An error occurs in any background operation. Error events have no peer.

    stream: [StreamEvent<M>]

    Fired on any media stream change from a remote peer. A Room also fires it for local streams, with an undefined peer.

    "stream:add": [StreamEvent<M>]

    A media stream is shared by a remote peer, or locally on a Room.

    "stream:remove": [StreamEvent<M>]

    A media stream is unshared by a remote peer, or locally on a Room.

    track: [TrackEvent<M>]

    Fired on any media track change from a remote peer. A Room also fires it for local tracks, with an undefined peer.

    "track:add": [TrackEvent<M>]

    A media track is added to a stream shared by a remote peer, or locally on a Room.

    "track:remove": [TrackEvent<M>]

    A media track is removed from a stream shared by a remote peer, or locally on a Room.