ZegoExpressEngineDevice extension

on

Methods

enableAudioCaptureDevice(bool enable) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Enables or disables the audio capture device.
enableCamera(bool enable, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Turns on/off the camera (for the specified channel).
enableCameraAdaptiveFPS(bool enable, int minFPS, int maxFPS, ZegoPublishChannel channel) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Enable camera adaptive frame rate.
enableHeadphoneMonitor(bool enable) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Enables or disables headphone monitoring.
enableMixEnginePlayout(bool enable) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Enable or disable mix SDK playout to stream publishing.
enableMixSystemPlayout(bool enable) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Enable or disable system audio capture.
getAudioDeviceList(ZegoAudioDeviceType deviceType) Future<List<ZegoDeviceInfo>>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Gets a list of audio devices.
getAudioDeviceVolume(ZegoAudioDeviceType deviceType, String deviceID) Future<int>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get volume for the specified audio device.
getAudioRouteType() Future<ZegoAudioRoute>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

get current audio route type.
getCameraMaxZoomFactor({ZegoPublishChannel? channel}) Future<double>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get the maximum zoom factor of the camera and support specifying the publish channel.
getCurrentAudioDevice(ZegoAudioDeviceType deviceType) Future<ZegoDeviceInfo>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get the audio device information currently in use.
getDefaultAudioDeviceID(ZegoAudioDeviceType deviceType) Future<String>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get the device ID of the default audio device.
getDefaultVideoDeviceID() Future<String>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get the device ID of the default video device.
getSpeakerVolumeInAPP(String deviceID) Future<int>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Get the volume of the speaker in the App, only support Windows.
getVideoDeviceList() Future<List<ZegoDeviceInfo>>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Gets a list of video devices.
isAudioDeviceMuted(ZegoAudioDeviceType deviceType, String deviceID) Future<bool>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Check if the audio device is muted.
isCameraFocusSupported({ZegoPublishChannel? channel}) Future<bool>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Whether the camera supports focusing.
isMicrophoneMuted() Future<bool>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Checks whether the microphone is muted.
isSpeakerMuted() Future<bool>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Checks whether the audio output speaker is muted.
muteAudioDevice(ZegoAudioDeviceType deviceType, String deviceID, bool mute) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Mutes or unmutes the audio device.
muteMicrophone(bool mute) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Mutes or unmutes the microphone.
muteSpeaker(bool mute) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Mutes or unmutes the audio output speaker.
setAudioDeviceMode(ZegoAudioDeviceMode deviceMode) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the audio device mode.
setAudioDeviceVolume(ZegoAudioDeviceType deviceType, String deviceID, int volume) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set volume for the specified audio device.
setAudioRouteToSpeaker(bool defaultToSpeaker) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Whether to use the built-in speaker to play audio.
setCameraExposureCompensation(double value, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the camera exposure compensation value and support spedifying the publish channel.
setCameraExposureMode(ZegoCameraExposureMode mode, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the camera exposure mode.
setCameraExposurePointInPreview(double x, double y, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the exposure point in the preview view.
setCameraFocusMode(ZegoCameraFocusMode mode, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the camera focus mode.
setCameraFocusPointInPreview(double x, double y, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the focus point in the preview view.
setCameraZoomFactor(double factor, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the zoom factor of the camera and support specifying the publish channel. Every time the camera is restarted, the camera zoom factor will return to the initial value (1.0).
setHeadphoneMonitorVolume(int volume) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Sets the headphone monitor volume.
setMixSystemPlayoutVolume(int volume) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

set system audio capture volume.
setSpeakerVolumeInAPP(String deviceID, int volume) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Set the volume of the speaker in the App.
startAudioDeviceVolumeMonitor(ZegoAudioDeviceType deviceType, String deviceID) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Turn on audio device volume monitoring.
startAudioSpectrumMonitor({int? millisecond}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Starts audio spectrum monitoring. Support setting the listening interval.
startAudioVADStableStateMonitor(ZegoAudioVADStableStateMonitorType type, {int? millisecond}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Start audio VAD stable state monitoring, and the monitoring period can be set.
startSoundLevelMonitor({ZegoSoundLevelConfig? config}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Starts sound level monitoring. Support enable some advanced feature.
stopAudioDeviceVolumeMonitor(ZegoAudioDeviceType deviceType, String deviceID) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Turn off audio device volume monitoring. Only for Windows/macOS.
stopAudioSpectrumMonitor() Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Stops audio spectrum monitoring.
stopAudioVADStableStateMonitor(ZegoAudioVADStableStateMonitorType type) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Stop audio VAD stable state monitoring.
stopSoundLevelMonitor() Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Stops sound level monitoring.
useAudioDevice(ZegoAudioDeviceType deviceType, String deviceID) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Chooses to use the specified audio device.
useAudioOutputDevice(int viewID, String deviceID) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Switch the audio output device.
useFrontCamera(bool enable, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Switches to the front or the rear camera (for the specified channel).
useVideoDevice(String deviceID, {ZegoPublishChannel? channel}) Future<void>

Available on ZegoExpressEngine, provided by the ZegoExpressEngineDevice extension

Chooses to use the specified video device (for the specified channel).