MediaDeviceType

Media device types.

Enumerator

unknownAudioDevice
-1: Unknown device type.
audioPlayoutDevice
0: Audio playback device.
audioRecordingDevice
1: Audio capturing device.
videoRenderDevice
2: Video rendering device (graphics card).
videoCaptureDevice
3: Video capturing device.
audioApplicationPlayoutDevice
4: Audio playback device for an app.
audioVirtualPlayoutDevice
(For macOS only)5: Virtual audio playback device (virtual sound card).
audioVirtualRecordingDevice
(For macOS only)6: Virtual audio capturing device (virtual sound card).