@pulsevision/producer - v2.5.0
    Preparing search index...

    Type Alias EventMap

    Event map that maps event names to event data types.

    The data sent with the connect event.

    The data sent with the disconnect event.

    Local-only event, emitted when the socket drops without us asking (nothing is sent over the wire).

    The data sent with the error event.

    The data sent with the socketError event, contains socket.io errors.

    type EventMap = {
        connect: ProducerEventData;
        connectionLost: ProducerEventData;
        disconnect: ProducerEventData;
        error:
            | BrowserUnsupportedError
            | DeviceAccessDeniedError
            | StreamSourceError
            | RuntimeError;
        socketError: Error;
    }
    Index
    connectionLost: ProducerEventData
    disconnect: ProducerEventData
    socketError: Error