Interface DeviceInfo

Information of the media input device.

  • You can get the audio sampling device information through [onMicrophoneChanged]onMicrophoneChanged.
  • You can get the video capture device information through [onCameraChanged]onCameraChanged.
  • You can get the audio playback device information through [onPlaybackDeviceChanged]onPlaybackDeviceChanged.

Hierarchy

  • DeviceInfo

Properties

device: MediaDeviceInfo

Device information of the media input device. See MediaDeviceInfo for details.

initAt: number

The time when the SDK first detects the media input device.

A Unix timestamp in milliseconds.

The state of the capture device.

updateAt: number

The latest time when the state of the media input device was updated.

A Unix timestamp in milliseconds.