peerix - v0.1.0
    Preparing search index...

    Interface PeerEvents

    Events emitted by Peer instances.

    Index

    Properties

    channel: [PeerChannelEvent]

    Emitted when channel events occur.

    "channel:close": [PeerChannelEvent]

    Emitted when a data channel is closed.

    "channel:error": [PeerChannelEvent]

    Emitted when an error occurs with a remote peer connection or channel.

    "channel:message": [PeerChannelEvent]

    Emitted when a message is received on a data channel.

    "channel:new": [PeerChannelEvent]

    Channel created or received from a remote peer.

    "channel:open": [PeerChannelEvent]

    Emitted when a data channel is opened.

    connection: [PeerConnectionEvent]

    Emitted when a remote peer connection state changes.

    "connection:closed": [PeerConnectionEvent]

    Emitted when a remote peer connection is closed.

    "connection:connected": [PeerConnectionEvent]

    Emitted when a remote peer connection is successfully connected.

    "connection:connecting": [PeerConnectionEvent]

    Emitted when a remote peer connection is connecting.

    "connection:disconnected": [PeerConnectionEvent]

    Emitted when a remote peer connection is disconnected.

    "connection:failed": [PeerConnectionEvent]

    Emitted when a remote peer connection fails.

    "connection:new": [PeerConnectionEvent]

    Emitted when a new remote peer connection is established.

    Emitted when an error occurs in any background operations.

    stream: [PeerStreamEvent]

    Emitted when stream events occur.

    "stream:add": [PeerStreamEvent]

    Emitted when a remote peer publishes a media stream.

    "stream:remove": [PeerStreamEvent]

    Emitted when a remote peer unpublishes a media stream.

    Emitted when track events occur.

    "track:add": [PeerTrackEvent]

    Emitted when a remote peer adds a media track to a published stream.

    "track:remove": [PeerTrackEvent]

    Emitted when a remote peer removes a media track from a published stream.