Enumerations
The following enumerations are available globally.
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger,UZLiveCaptureType) { UZLiveCaptureAudio, ///< capture only audio UZLiveCaptureVideo, ///< capture onlt video UZLiveInputAudio, ///< only audio (External input audio) UZLiveInputVideo, ///< only video (External input video) }
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger,UZLiveCaptureTypeMask) { UZLiveCaptureMaskAudio = (1 << UZLiveCaptureAudio), ///< only inner capture audio (no video) UZLiveCaptureMaskVideo = (1 << UZLiveCaptureVideo), ///< only inner capture video (no audio) UZLiveInputMaskAudio = (1 << UZLiveInputAudio), ///< only outer input audio (no video) UZLiveInputMaskVideo = (1 << UZLiveInputVideo), ///< only outer input video (no audio) UZLiveCaptureMaskAll = (UZLiveCaptureMaskAudio | UZLiveCaptureMaskVideo), ///< inner capture audio and video UZLiveInputMaskAll = (UZLiveInputMaskAudio | UZLiveInputMaskVideo), ///< outer input audio and video(method see pushVideo and pushAudio) UZLiveCaptureMaskAudioInputVideo = (UZLiveCaptureMaskAudio | UZLiveInputMaskVideo), ///< inner capture audio and outer input video(method pushVideo and setRunning) UZLiveCaptureMaskVideoInputAudio = (UZLiveCaptureMaskVideo | UZLiveInputMaskAudio), ///< inner capture video and outer input audio(method pushAudio and setRunning) UZLiveCaptureDefaultMask = UZLiveCaptureMaskAll ///< default is inner capture audio and video }
-
Audio bit rate (default 96Kbps)
See moreDeclaration
Objective-C
enum UZAudioBitRate {}
-
Audio sampling rate (default 44.1KHz)
See moreDeclaration
Objective-C
enum UZAudioSampleRate {}
-
Audio Live quality
See moreDeclaration
Objective-C
enum UZAudioQuality {}
-
Video resolution (both 16:9 when the device does not support the current resolution, it will automatically decrease by one level)
See moreDeclaration
Objective-C
enum UZVideoSessionPreset {}
-
Video quality
See moreDeclaration
Objective-C
enum UZVideoQuality {}
-
Live state
See moreDeclaration
Objective-C
enum UZLiveState {}
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM (NSUInteger, UZSocketErrorCode) { UZSocketErrorCode_PreView = 201, /// Preview failed UZSocketErrorCode_GetStreamInfo = 202, /// Failed to obtain streaming information UZSocketErrorCode_ConnectSocket = 203, /// Socket connection failed UZSocketErrorCode_Verification = 204, /// Authentication server failed UZSocketErrorCode_ReConnectTimeOut = 205 /// Reconnect server timeout }