ZegoRemoteDeviceState Constants Reference
Declared in | ZegoExpressDefines.h |
---|
ZegoRemoteDeviceState
Remote device status.
Definition
typedef NS_ENUM(NSUInteger, ZegoRemoteDeviceState ) {
ZegoRemoteDeviceStateOpen = 0,
ZegoRemoteDeviceStateGenericError = 1,
ZegoRemoteDeviceStateInvalidID = 2,
ZegoRemoteDeviceStateNoAuthorization = 3,
ZegoRemoteDeviceStateZeroFPS = 4,
ZegoRemoteDeviceStateInUseByOther = 5,
ZegoRemoteDeviceStateUnplugged = 6,
ZegoRemoteDeviceStateRebootRequired = 7,
ZegoRemoteDeviceStateSystemMediaServicesLost = 8,
ZegoRemoteDeviceStateDisable = 9,
ZegoRemoteDeviceStateMute = 10,
ZegoRemoteDeviceStateInterruption = 11,
ZegoRemoteDeviceStateInBackground = 12,
ZegoRemoteDeviceStateMultiForegroundApp = 13,
ZegoRemoteDeviceStateBySystemPressure = 14,
ZegoRemoteDeviceStateNotSupport = 15,
};
Constants
ZegoRemoteDeviceStateOpen
-
Device on
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateGenericError
-
General device error
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateInvalidID
-
Invalid device ID
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateNoAuthorization
-
No permission
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateZeroFPS
-
Captured frame rate is 0
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateInUseByOther
-
The device is occupied
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateUnplugged
-
The device is not plugged in or unplugged
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateRebootRequired
-
The system needs to be restarted
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateSystemMediaServicesLost
-
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.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateDisable
-
The remote user calls [enableCamera] or [enableAudioCaptureDevice] to disable the camera or microphone.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateMute
-
The remote user actively calls [muteMicrophone] or [mutePublishStreamAudio] or [mutePublishStreamVideo] to stop publish the audio or video stream.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateInterruption
-
The device is interrupted, such as a phone call interruption, etc.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateInBackground
-
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.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateMultiForegroundApp
-
CDN server actively disconnected
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateBySystemPressure
-
The system is under high load pressure and may cause abnormal equipment.
Declared In
ZegoExpressDefines.h
. ZegoRemoteDeviceStateNotSupport
-
The remote device is not supported to publish the device state.
Declared In
ZegoExpressDefines.h
.
Declared In
ZegoExpressDefines.h