Rate this page:

HardwareEvents

Events that are triggered when hardware device is added/removed/updated.

Constants

BeforeMediaRendererRemoved

Copy URL

Triggered before the local video or audio streaming is stopped. E.g., before local video or screen sharing is stopped.

Parameters

DevicesUpdated

Copy URL

Triggered when an external device is connected or disconnected or when a default device changes. Devices that can trigger the event: microphones, video camera and sound output. Based on browser's devicechange event.

Parameters

  • audioInputDevices:

    AudioSourceInfo[]

    List of currently available audio input devices, such as microphones

  • audioOutputDevices:

    AudioSourceInfo[]

    List of currently available audio output devices, such as speakers or headphones

  • videoInputDevices:

    VideoSourceInfo[]

    List of currently available video input devices, such as cameras

MediaRendererAdded

Copy URL

Triggered when a new audio or video renderer added, such as local video or screen sharing.

Parameters

MediaRendererRemoved

Copy URL

Triggered when the local video or audio streaming is stopped. E.g., when the local video or screen sharing is stopped.

Parameters

MediaRendererUpdated

Copy URL

Triggered when the local video or audio streaming is updated. E.g., when the local video or screen sharing is stopped.

Parameters