Agora Objective-C API Reference for iOS/macOS

AgoraMediaDeviceType Constants Reference

Declared in AgoraEnumerates.h

AgoraMediaDeviceType

Media device type.

Definition

typedef NS_ENUM(NSInteger, AgoraMediaDeviceType ) {
   AgoraMediaDeviceTypeAudioUnknown = -1,
   AgoraMediaDeviceTypeAudioPlayout = 0,
   AgoraMediaDeviceTypeAudioRecording = 1,
   AgoraMediaDeviceTypeVideoRender = 2,
   AgoraMediaDeviceTypeVideoCapture = 3,
};

Constants

AgoraMediaDeviceTypeAudioUnknown

Unknown device.

Declared In AgoraEnumerates.h.

AgoraMediaDeviceTypeAudioPlayout

Audio playback device.

Declared In AgoraEnumerates.h.

AgoraMediaDeviceTypeAudioRecording

Audio recording device.

Declared In AgoraEnumerates.h.

AgoraMediaDeviceTypeVideoRender

Video render device.

Declared In AgoraEnumerates.h.

AgoraMediaDeviceTypeVideoCapture

Video capture device.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h

Is this page helpful?