Video SDK v3.7.1 API Reference for Unity
Public Attributes | List of all members
agora_gaming_rtc.CameraCapturerConfiguration Struct Reference

Public Attributes

CAPTURER_OUTPUT_PREFERENCE preference
 
CAMERA_DIRECTION cameraDirection
 
int captureWidth
 
int captureHeight
 

Detailed Description

Camera capturer configuration.

Member Data Documentation

◆ preference

CAPTURER_OUTPUT_PREFERENCE agora_gaming_rtc.CameraCapturerConfiguration.preference

Camera capturer preference settings.See: CAPTURER_OUTPUT_PREFERENCE.

◆ cameraDirection

CAMERA_DIRECTION agora_gaming_rtc.CameraCapturerConfiguration.cameraDirection

Camera direction settings (for Android/iOS only). See: CAMERA_DIRECTION.

◆ captureWidth

int agora_gaming_rtc.CameraCapturerConfiguration.captureWidth

The width (px) of the video image captured by the local camera. To customize the width of the video image, set preference as CAPTURER_OUTPUT_PREFERENCE_MANUAL(3) first, and then use captureWidth.

Since
v3.3.1

◆ captureHeight

int agora_gaming_rtc.CameraCapturerConfiguration.captureHeight

The height (px) of the video image captured by the local camera. To customize the height of the video image, set preference as CAPTURER_OUTPUT_PREFERENCE_MANUAL(3) first, and then use captureHeight.

Since
v3.3.1

The documentation for this struct was generated from the following file: