On this page

ZegoRemoteDeviceState

ZegoRemoteDeviceState

Remote device status.

Declared in constants/ZegoRemoteDeviceState.java

Properties

ZegoRemoteDeviceStateOpen

ZegoRemoteDeviceStateOpen
ZegoRemoteDeviceStateOpen=(0)

Device on

ZegoRemoteDeviceStateGenericError

ZegoRemoteDeviceStateGenericError
ZegoRemoteDeviceStateGenericError=(1)

General device error

ZegoRemoteDeviceStateInvalidID

ZegoRemoteDeviceStateInvalidID
ZegoRemoteDeviceStateInvalidID=(2)

Invalid device ID

ZegoRemoteDeviceStateNoAuthorization

ZegoRemoteDeviceStateNoAuthorization
ZegoRemoteDeviceStateNoAuthorization=(3)

No permission

ZegoRemoteDeviceStateZeroFPS

ZegoRemoteDeviceStateZeroFPS
ZegoRemoteDeviceStateZeroFPS=(4)

Captured frame rate is 0

ZegoRemoteDeviceStateInUseByOther

ZegoRemoteDeviceStateInUseByOther
ZegoRemoteDeviceStateInUseByOther=(5)

The device is occupied

ZegoRemoteDeviceStateUnplugged

ZegoRemoteDeviceStateUnplugged
ZegoRemoteDeviceStateUnplugged=(6)

The device is not plugged in or unplugged

ZegoRemoteDeviceStateRebootRequired

ZegoRemoteDeviceStateRebootRequired
ZegoRemoteDeviceStateRebootRequired=(7)

The system needs to be restarted

ZegoRemoteDeviceStateSystemMediaServicesLost

ZegoRemoteDeviceStateSystemMediaServicesLost
ZegoRemoteDeviceStateSystemMediaServicesLost=(8)

System media services stop, such as under the iOS platform, when the system detects that the current pressure is huge (such as playing a lot of animation), it is possible to disable all media related services.

ZegoRemoteDeviceStateDisable

ZegoRemoteDeviceStateDisable
ZegoRemoteDeviceStateDisable=(9)

The remote user calls [enableCamera] or [enableAudioCaptureDevice] to disable the camera or microphone.

ZegoRemoteDeviceStateMute

ZegoRemoteDeviceStateMute
ZegoRemoteDeviceStateMute=(10)

The remote user actively calls [muteMicrophone] or [mutePublishStreamAudio] or [mutePublishStreamVideo] to stop publish the audio or video stream.

ZegoRemoteDeviceStateInterruption

ZegoRemoteDeviceStateInterruption
ZegoRemoteDeviceStateInterruption=(11)

The device is interrupted, such as a phone call interruption, etc.

ZegoRemoteDeviceStateInBackground

ZegoRemoteDeviceStateInBackground
ZegoRemoteDeviceStateInBackground=(12)

There are multiple apps at the same time in the foreground, such as the iPad app split screen, the system will prohibit all apps from using the camera.

ZegoRemoteDeviceStateMultiForegroundApp

ZegoRemoteDeviceStateMultiForegroundApp
ZegoRemoteDeviceStateMultiForegroundApp=(13)

CDN server actively disconnected

ZegoRemoteDeviceStateBySystemPressure

ZegoRemoteDeviceStateBySystemPressure
ZegoRemoteDeviceStateBySystemPressure=(14)

The system is under high load pressure and may cause abnormal equipment.

ZegoRemoteDeviceStateNotSupport

ZegoRemoteDeviceStateNotSupport
ZegoRemoteDeviceStateNotSupport=(15)

The remote device is not supported to publish the device state.

Previous

zegorangeaudiospeakmode

Next

zegoresourcetype

On this page

Back to top