logo
On this page

ZegoScreenCaptureConfig

ZegoScreenCaptureConfig

Screen capture configuration parameters.

Declared in entity/ZegoScreenCaptureConfig.java

Properties

captureVideo

captureVideo
public boolean captureVideo

Whether to capture video when screen capture. The default is true.

captureAudio

captureAudio
public boolean captureAudio

Whether to capture audio when screen capture. The default is true.

applicationVolume

applicationVolume
public int applicationVolume

Set Application audio volume for ReplayKit. The range is 0 ~ 200. The default is 100. (only for iOS and Android)

audioParam

audioParam
public ZegoAudioFrameParam audioParam

Set the audio capture parameters during screen capture. (only for Android)

cropRect

cropRect
public Rect cropRect

Set the crop rectangle during screen capture. The crop rectangle must be included in the rectangle of the original data, unit is pixel. (only for iOS/Android)

orientation

orientation
public ZegoScreenCaptureOrientation orientation

Set the capture orientation of the screen capture. The capture orientation will be fixed, ignoring the system returned orientation. (only for iOS/Android)

Methods

ZegoScreenCaptureConfig

ZegoScreenCaptureConfig
Declared in entity/ZegoScreenCaptureConfig.java

Previous

zegoscenestreamconfig

Next

zegoseiconfig

On this page

Back to top