removeAllListeners

Removes all listeners for the specified event.

removeAllListeners?<EventType extends keyof IMediaRecorderEvent>(
      eventType?: EventType
    ): void;

Parameters

eventType
The name of the target event to listen for. See .