MEDIA_DEVICE_TYPE

Media device types.

Enumerator

UNKNOWN_AUDIO_DEVICE
-1: Unknown device type.
AUDIO_PLAYOUT_DEVICE
0: Audio playback device.
AUDIO_RECORDING_DEVICE
1: Audio capturing device.
VIDEO_RENDER_DEVICE
2: Video rendering device (graphics card).
VIDEO_CAPTURE_DEVICE
3: Video capturing device.
AUDIO_APPLICATION_PLAYOUT_DEVICE
4: Audio playback device for an app.
AUDIO_VIRTUAL_PLAYOUT_DEVICE
(For macOS only)5: Virtual audio playback device (virtual sound card).
AUDIO_VIRTUAL_RECORDING_DEVICE
(For macOS only)6: Virtual audio capturing device (virtual sound card).