HardwareEvents
Events that are triggered when hardware device is added/removed/updated.
Constants
BeforeMediaRendererRemoved
Triggered before the local video or audio streaming is stopped. E.g., before local video or screen sharing is stopped.
Parameters
renderer:
Media renderer that triggered the event
DevicesUpdated
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:
List of currently available audio input devices, such as microphones
audioOutputDevices:
List of currently available audio output devices, such as speakers or headphones
videoInputDevices:
List of currently available video input devices, such as cameras
MediaRendererAdded
Triggered when a new audio or video renderer added, such as local video or screen sharing.
Parameters
renderer:
Media renderer that triggered the event
MediaRendererRemoved
Triggered when the local video or audio streaming is stopped. E.g., when the local video or screen sharing is stopped.
Parameters
renderer:
Media renderer that triggered the event
MediaRendererUpdated
Triggered when the local video or audio streaming is updated. E.g., when the local video or screen sharing is stopped.
Parameters
renderer:
Media renderer that triggered the event
type:
Media renderer type, such as audio, video, or screen sharing