CloudHub Docs
Download Documents

RTC


CloudHubSDK iOS

Enumerates

CloudHubErrorCode

Description:Error code

EnumDescription
CloudHubErrorCodeNoError0:no error occurs
CloudHubErrorCodeFailed1:a general error occurs (no specified reason)
CloudHubErrorCodeInvalidArgument2:an invalid parameter is used. etc, the channel name includes illegal characters the SDK module is not ready.
Possible solutions:
1. Check the audio device.
2. Check the completeness of the app.
3. Re-initialize the SDK.
CloudHubErrorCodeNotReady3:SDK not ready
CloudHubErrorCodeNotSupported4:the current state of the SDK does not support this function
CloudHubErrorCodeRefused5:The request is rejected. This is for internal SDK use only,and is not returned to the app through any method or callback
CloudHubErrorCodeBufferTooSmall6:the buffer size is not big enough to store the returned data
CloudHubErrorCodeNotInitialized7:the SDK is not initialized before calling this method the request to join the channel is rejected.
CloudHubErrorCodeJoinChannelRejected17:the request to leave the channel is rejected
CloudHubErrorCodeLeaveChannelRejected18:leave channel rejected
CloudHubErrorCodeResourceLimited22: the app uses too much of the system resources and the SDK fails to allocate the resources
CloudHubErrorCodeInvalidAppId101:the specified App ID is invalid. Please try to rejoin the channel with a valid App ID
CloudHubErrorCodeInvalidChannelId102:the specified channel name is invalid. Please try to rejoin the channel with a valid channel name
CloudHubErrorCodeInBlackList104:the user has been blocked with a black list
CloudHubErrorCodeConcurrentPintsExceedLimit107:the amount of concurrent points has exceeded your enterpirse account’s limitation the token expired
CloudHubErrorCodeTokenExpired109:the token is invalid
CloudHubErrorCodeInvalidToken110: the token is invalid
CloudHubErrorCodeNotInChannel113:not in channel
CloudHubErrorCodePublishNotAuthorized501:the local user is currently not authorized to publish steam
CloudHubErrorCodePublishInternalServerError502:internal server error occured when trying to publish stream
CloudHubErrorCodeSubscribeNotAuthorized601:the local user is currently not authorized to subscribe steam
CloudHubErrorCodeSubscribeInternalServerError602:internal server error occured when trying to subscribe stream
CloudHubErrorCodeMovieAlreadyPlaying701: he movie file is already being played
CloudHubErrorCodeMovieAlreadyPublishing702:only one movie file can be published at the same time
CloudHubErrorCodeStartCamera1003:fails to start the camera
CloudHubErrorCodeAdmNoPermission1027:audio Device Module: An error occurs in no recording Permission
CloudHubErrorCodeVdmCameraNotAuthorized1501:video Device Module: The camera is unauthorized
CloudHubErrorCodeUnknwon-1:other errors

CloudHubMovieStateCode

Description:The state of the audio mixing file

EnumDescription
CloudHubMovieStatePlaying710:The movie file is playing
CloudHubMovieStatePaused711:The movie file pauses playing
CloudHubMovieStateStopped713:The movie file stops playing
CloudHubMovieStateFailed714:An exception occurs when playing the movie file
CloudHubMovieStatePlayCompleted715:The movie file completes playing

CloudHubMovieErrorCode

Description:The error code of the audio mixing file

EnumDescription
CloudHubMovieErrorCanNotOpen701:The SDK cannot open the movie file
CloudHubMovieErrorTooFrequentCall702:The SDK opens the movie file too frequently
CloudHubMovieErrorInterruptedEOF703:The opening of the movie file is interrupted
CloudHubMovieErrorOK0:No error

CloudHubVideoFrameRate

Description:Video frame rate

EnumDescription
CloudHubVideoFrameRateFps11 fps
CloudHubVideoFrameRateFps77 fps
CloudHubVideoFrameRateFps1010 fps
CloudHubVideoFrameRateFps1515 fps
CloudHubVideoFrameRateFps2424 fps
CloudHubVideoFrameRateFps3030 fps

CloudHubVideoRotation

Description:Video frame rotation

EnumDescription
CloudHubVideoRotationAuto0:dk will make your video always seem with a correct rotation, but the resolution may change (like 320x240 to 240x320)
CloudHubHomeButtonOnRight1:When your home button is on the right side, your video seems correct
CloudHubHomeButtonOnBottom2:When your home button is on bottom, your video seems correct
CloudHubHomeButtonOnLeft3:When your home button is on the left side, your video seems correct
CloudHubHomeButtonOnTop4:When your home button is on top, your video seems correct

CloudHubChannelProfile

Description:Channel profile

EnumDescription
CloudHubChannelProfileCommunication0:(Default) The Communication profile.
Use this profile in one-on-one calls or group calls, where all users can talk freely
CloudHubChannelProfileLiveBroadcasting1:The Live-Broadcast profile.
Users in a live-broadcast channel have a role as either broadcaster or audience. A broadcaster can both send and receive streams; an audience can only receive streams

CloudHubClientRole

Description:Client role in a live broadcast

EnumDescription
CloudHubClientRoleBroadcaster1:host
CloudHubClientRoleAudience2:audience

CloudHubLogFilter

Description:Output log filter level

EnumDescription
CloudHubLogFilterAll0
CloudHubLogFilterDebug1
CloudHubLogFilterInfo2
CloudHubLogFilterWarning3
CloudHubLogFilterError4
CloudHubLogFilterAlarm5
CloudHubLogFilterFatal6

CloudHubVideoRenderMode

Description:Video display mode

EnumDescription
CloudHubVideoRenderModeHidden1:Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
CloudHubVideoRenderModeFit2:Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black

CloudHubVideoCodecType

Description:视频编解码的类型

EnumDescription
CloudHubVideoCodecTypeVP81:标准VP8
CloudHubVideoCodecTypeH2642:标准H264

CloudHubVideoMirrorMode

Description:Video mirror mode

EnumDescription
CloudHubVideoMirrorModeAuto0:(Default) The SDK determines the mirror mode
CloudHubVideoMirrorModeEnabled1:Enables mirror mode
CloudHubVideoMirrorModeDisabled2:Disables mirror mode

CloudHubVideoRemoteState

Description:The state of the remote video

EnumDescription
CloudHubVideoRemoteStateStopped0:The remote video is in the default state, probably due toCloudHubVideoRemoteStateReasonLocalMuted
CloudHubVideoRemoteStateReasonRemoteMuted or CloudHubVideoRemoteStateReasonRemoteOffline
CloudHubVideoRemoteStateStarting1:The first remote video packet is received
CloudHubVideoRemoteStateFrozen2:The remote video stream is decoded and plays normally, probably due to CloudHubVideoRemoteStateReasonNetworkRecovery
CloudHubVideoRemoteStateReasonLocalUnmutedCloudHubVideoRemoteStateReasonRemoteUnmuted or CloudHubVideoRemoteStateReasonAudioFallbackRecovery
CloudHubVideoRemoteStateFailed3:The remote video fails to start, probably due to CloudHubVideoRemoteStateReasonInternal

CloudHubVideoRemoteStateReason

Description:The reason of the remote video state change

EnumDescription
CloudHubVideoRemoteStateReasonInternal0:Internal reasons
CloudHubVideoRemoteStateReasonNetworkCongestion1:Network congestion
CloudHubVideoRemoteStateReasonNetworkRecovery2:Network recovery
CloudHubVideoRemoteStateReasonLocalMuted3:The local user stops receiving the remote video stream or disables the video module
CloudHubVideoRemoteStateReasonLocalUnmuted4:The local user resumes receiving the remote video stream or enables the video module
CloudHubVideoRemoteStateReasonRemoteMuted5:The remote user stops sending the video stream or disables the video module
CloudHubVideoRemoteStateReasonRemoteUnmuted6:The remote user resumes sending the video stream or enables the video module
CloudHubVideoRemoteStateReasonRemoteOffline7:The remote user leaves the channel
CloudHubVideoRemoteStateReasonAudioFallback8:The remote media stream falls back to the audio-only stream due to poor network conditions
CloudHubVideoRemoteStateReasonAudioFallbackRecovery9:The remote media stream switches back to the video stream after the network conditions improve
CloudHubVideoRemoteStateReasonAddRemoteStream10:The remote media stream is added
CloudHubVideoRemoteStateReasonRemoveRemoteStream11:The remote media stream is removed

CloudHubAudioRemoteState

Description:The state of the remote audio

EnumDescription
CloudHubAudioRemoteStateStopped0:he remote audio is in the default state, probably due to CloudHubAudioRemoteReasonLocalMutedCloudHubAudioRemoteReasonRemoteMuted or CloudHubAudioRemoteReasonRemoteOffline
CloudHubAudioRemoteStateStarting1:The first remote audio packet is received
CloudHubAudioRemoteStateDecoding2:The remote audio stream is decoded and plays normally, probably due to CloudHubAudioRemoteReasonNetworkRecoveryCloudHubAudioRemoteReasonLocalUnmuted or CloudHubAudioRemoteReasonRemoteUnmuted
CloudHubAudioRemoteStateFrozen3:The remote audio is frozen, probably due to CloudHubAudioRemoteReasonNetworkCongestion
CloudHubAudioRemoteStateFailed4:The remote audio fails to start, probably due to CloudHubAudioRemoteReasonInternal

CloudHubAudioRemoteStateReason

Description:The reason of the remote audio state change

EnumDescription
CloudHubAudioRemoteReasonInternal0:Internal reasons
CloudHubAudioRemoteReasonNetworkCongestion1:Network congestion
CloudHubAudioRemoteReasonNetworkRecovery2:Network recovery
CloudHubAudioRemoteReasonLocalMuted3:The local user stops receiving the remote audio stream or disables the audio module
CloudHubAudioRemoteReasonLocalUnmuted4:The local user resumes receiving the remote audio stream or enables the audio module
CloudHubAudioRemoteReasonRemoteMuted5:The remote user stops sending the audio stream or disables the audio module
CloudHubAudioRemoteReasonRemoteUnmuted6:The remote user resumes sending the audio stream or enables the audio module
CloudHubAudioRemoteReasonRemoteOffline7:The remote user leaves the channel

CloudHubAudioLocalState

Description:The state of the local audio

EnumDescription
CloudHubAudioLocalStateStopped0:The local audio is in the initial state
CloudHubAudioLocalStateRecording1:The recording device starts successfully
CloudHubAudioLocalStateEncoding2:The first audio frame encodes successfully
CloudHubAudioLocalStateFailed3:The local audio fails to start

CloudHubAudioLocalError

Description:The error information of the local audio

EnumDescription
CloudHubAudioLocalErrorOk0:The local audio is normal
CloudHubAudioLocalErrorFailure1:No specified reason for the local audio failure
CloudHubAudioLocalErrorDeviceNoPermission2:No permission to use the local audio device
CloudHubAudioLocalErrorDeviceBusy3:The microphone is in use
CloudHubAudioLocalErrorRecordFailure4:The local audio recording fails. Check whether the recording device is working properly
CloudHubAudioLocalErrorEncodeFailure5:The local audio encoding fails

CloudHubMediaDeviceType

Description:Media device type

EnumDescription
CloudHubMediaDeviceTypeAudioUnknown0:Unknown device
CloudHubMediaDeviceTypeAudioPlayout1:Audio playback device
CloudHubMediaDeviceTypeAudioRecording2:Audio recording device
CloudHubMediaDeviceTypeVideoRender3:Video render device
CloudHubMediaDeviceTypeVideoCapture4:Video capture device

CloudHubConnectionStateType

Description:Connection states

EnumDescription
CloudHubConnectionStateDisconnected1:The SDK is disconnected from CloudHub’s edge server
This is the initial state before joinChannelByToken:channelId:properties:uid:
autosubscribeAudio:autoSubscribeVideo:joinSuccess:

The SDK also enters this state when the app calls leaveChannel:
CloudHubConnectionStateConnecting2:The SDK is connecting to CloudHub’s edge server
When the app calls joinChannelByToken:channelId:properties:uid:
autosubscribeAudio:autoSubscribeVideo:joinSuccess:
he SDK starts to establish a connection to the specified channel, triggers the rtcEngine:connectionChangedToState: callback,and switches to the CloudHubConnectionStateConnecting state
When the SDK successfully joins the channel, the SDK triggers the rtcEngine:connectionChangedToState: callback and switches to the CloudHubConnectionStateConnected state
After the SDK joins the channel and when it finishes initializing the media engine, the SDK triggers the rtcEngine:didJoinChannel:withUid:elapsed: callback
CloudHubConnectionStateConnected3:The SDK is connected to CloudHub’s edge server and joins a channel. You can now publish or subscribe to a media stream in the channel.
If the connection to the channel is lost because, for example, the network is down or switched, the SDK automatically tries to reconnect and triggers: rtcEngine:connectionChangedToState: callback,and switches to the CloudHubConnectionStateReconnecting state
CloudHubConnectionStateReconnecting4:The SDK keeps rejoining the channel after being disconnected from a joined channel because of network issues.
If the SDK cannot rejoin the channel within 10 seconds after being disconnected from CloudHub’s edge server,the SDK stays in the CloudHubConnectionStateReconnecting state,and keeps rejoining the channel
If the SDK fails to rejoin the channel 20 minutes after being disconnected from CloudHub’s edge server,he SDK triggers the rtcEngine:connectionChangedToState: callback,switches to the CloudHubConnectionStateFailed state, and stops rejoining the channel
CloudHubConnectionStateFailed5:The SDK fails to connect to CloudHub’s edge server or join the channel
You must call leaveChannel: to leave this state, and calljoinChannelByToken:channelId:properties:uid:autosubscribeAudio:autoSubscribeVideo:joinSuccess: again to rejoin the channel

CloudHubConnectionChangedReason

Description:Reasons for the connection state change

EnumDescription
CloudHubConnectionChangedConnecting0:The SDK is connecting to CloudHub’s edge server
CloudHubConnectionChangedJoinSuccess1:The SDK has joined the channel successfully
CloudHubConnectionChangedInterrupted2:The connection between the SDK and CloudHub’s edge server is interrupted
CloudHubConnectionChangedBannedByServer3:The connection between the SDK and CloudHub’s edge server is banned by CloudHub’s edge server
CloudHubConnectionChangedJoinFailed4:The SDK fails to join the channel for more than 20 minutes and stops reconnecting to the channel
CloudHubConnectionChangedLeaveChannel5:The SDK has left the channel
CloudHubConnectionChangedInvalidAppId6:The specified App ID is invalid. Try to rejoin the channel with a valid App ID
CloudHubConnectionChangedInvalidChannelName7:The specified channel name is invalid. Try to rejoin the channel with a valid channel name
CloudHubConnectionChangedInvalidToken8:The generated token is invalid probably due to the following reasons:
The App Certificate for the project is enabled in Console, but you do not use Token when joining the channel
The uid that you specify in the joinChannelByToken:channelId:properties:uid:autosubscribeAudio:autoSubscribeVideo:joinSuccess: method is different from the uid that you pass for generating the token
CloudHubConnectionChangedTokenExpired9:The token has expired. Generate a new token from your server
CloudHubConnectionChangedRejectedByServer10:The user is banned by the server
CloudHubConnectionChangedSettingProxyServer11:The SDK tries to reconnect after setting a proxy server
CloudHubConnectionChangedRenewToken12:The token renews
CloudHubConnectionChangedClientIpAddressChanged13:The client IP address has changed, probably due to a change of the network type, IP address, or network port
CloudHubConnectionChangedKeepAliveTimeout14:Timeout for the keep-alive of the connection between the SDK and CloudHub’s edge server. The connection state changes to CloudHubConnectionStateReconnecting

CloudHubLocalVideoStreamState

Description:The state of the local video stream

EnumDescription
CloudHubLocalVideoStreamStateStopped0:the local video is in the initial state
CloudHubLocalVideoStreamStateCapturing1:the local video capturer starts successfully
CloudHubLocalVideoStreamStateEncoding2:the first local video frame encodes successfully
CloudHubLocalVideoStreamStateFailed3:the local video fails to start

CloudHubLocalVideoStreamError

Description:The detailed error information of the local video

EnumDescription
CloudHubLocalVideoStreamErrorOK0:the local video is normal
CloudHubLocalVideoStreamErrorFailure1:no specified reason for the local video failure
CloudHubLocalVideoStreamErrorDeviceNoPermission2:no permission to use the local video device
CloudHubLocalVideoStreamErrorDeviceBusy3:the local video capturer is in use
CloudHubLocalVideoStreamErrorCaptureFailure4:the local video capture fails. Check whether the capturer is working properly
CloudHubLocalVideoStreamErrorEncodeFailure5:the local video encoding fails

CloudHubRemoteVideoStreamType

Description:Remote video stream types

EnumDescription
CloudHubRemoteVideoStreamHigh0:high-stream video
CloudHubRemoteVideoStreamLow1:low-stream video

CloudHubStreamFallbackOptions

Description:Stream fallback options

EnumDescription
CloudHubStreamFallbackOptionDisabled0:No fallback behavior for the local/remote video stream when the uplink/downlink network conditions are poor. The quality of the stream is not guaranteed。
CloudHubStreamFallbackOptionVideoStreamLow1: Under poor downlink network conditions, the remote video stream, to which you subscribe, falls back to the low-stream (low resolution and low bitrate) video. You can set this option only in the IRtcEngine::setRemoteSubscribeFallbackOption “setRemoteSubscribeFallbackOption” method. Nothing happens when you set this in the IRtcEngine::setLocalPublishFallbackOption “setLocalPublishFallbackOption” method.
CloudHubStreamFallbackOptionAudioOnly2:Under poor uplink network conditions, the published video stream falls back to audio only Under poor downlink network conditions, the remote video stream, to which you subscribe, first falls back to the low-stream (low resolution and low bitrate) video; and then to an audio-only stream if the network conditions worsen

CloudHubMediaType

Description:Media state

EnumDescription
CloudHub_MEDIA_TYPE_AUDIO_ONLY1:Only audio
CloudHub_MEDIA_TYPE_AUDIO_AND_VIDEO3:All
CloudHub_MEDIA_TYPE_ONLINE_MOVIE_VIDEO4:Remote video stream
CloudHub_MEDIA_TYPE_OFFLINE_MOVIE_VIDEO5:Local video stream
CloudHub_MEDIA_TYPE_SCREEN_VIDEO6:Desktop sharing stream

CloudHubNetworkQuality

Description:Network status

EnumDescription
CloudHub_QUALITY_UNKNOWN0:the network quality is unknown
CloudHub_QUALITY_EXCELLENT1:the network quality is excellent
CloudHub_QUALITY_GOOD2:the network quality is quite good, but the bitrate may be slightly lower than excellent
CloudHub_QUALITY_POOR3:users can feel the communication slightly impaired
CloudHub_QUALITY_BAD4:users cannot communicate smoothly
CloudHub_QUALITY_VBAD5:the network is so bad that users can barely communicate
CloudHub_QUALITY_DOWN6:the network is down and users cannot communicate at all
CloudHub_QUALITY_UNSUPPORTED7:users cannot detect the network quality. (Not in use.)
CloudHub_QUALITY_DETECTING8:detecting the network quality

CloudHubRecordingState

Description:Recording status

EnumDescription
CloudHub_RECORDING_STATE_NONE0:not recording
CloudHub_RECORDING_STATE_STARTED1:recording
CloudHub_RECORDING_STATE_PAUSED2:paused

CloudHubVideoCodecProfile

Description:Video codec profile types

EnumDescription
CloudHub_VIDEO_CODEC_PROFILE_BASELINE66:baseline video codec profile. Generally used in video calls on mobile phones
CloudHub_VIDEO_CODEC_PROFILE_MAIN77:main video codec profile. Generally used in mainstream electronics such as MP4 players
CloudHub_VIDEO_CODEC_PROFILE_HIGH100:(Default) High video codec profile. Generally used in high-resolution broadcasts or television

CloudHubAudioSampleRate

Description:Audio sampling rate

EnumDescription
CloudHub_AUDIO_SAMPLE_RATE_3200032000: 32 kHz
CloudHub_AUDIO_SAMPLE_RATE_4410044100: 44.1 khz
CloudHub_AUDIO_SAMPLE_RATE_4800048000: 48 khz

CloudHubLastmileProbeResultState

Description:last-mile network state

EnumDescription
CloudHub_LASTMILE_PROBE_RESULT_COMPLETE1:the last-mile network probe test is complete
CloudHub_LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE2:the last-mile network probe test is incomplete and the bandwidth estimation is not available,带宽不足
probably due to limited test resources
CloudHub_LASTMILE_PROBE_RESULT_UNAVAILABLE3:the last-mile network probe test is not carried out, probably due to poor network conditions

CloudHubPermissionType

Description:Permission Types

EnumDescription
CloudHub_PERMISSION_TYPE_PUBLISH1:the user’s publish permission. This determins if the user can publish his own audio/video stream to others
CloudHub_PERMISSION_TYPE_SUBSCRIBE2:the user’s subscribe permission. This determins if the user can see/hear other user’s audio/video

CloudHubMediaRelayState

Description:The state code in channel media relay

EnumDescription
CloudHub_RELAY_STATE_IDLE0:the SDK is initializing
CloudHub_RELAY_STATE_CONNECTING1:the SDK tries to relay the media stream to the destination channel
CloudHub_RELAY_STATE_RUNNING2:the SDK successfully relays the media stream to the destination channel
CloudHub_RELAY_STATE_FAILURE3:a failure occurs. see the details in code

CloudHubMediaRelayError

Description:The error code in channel media relay

EnumDescription
CloudHub_RELAY_OK0:the state is normal
CloudHub_RELAY_ERROR_SERVER_ERROR_RESPONSE1:an error occurs in the server response
CloudHub_RELAY_ERROR_SERVER_NO_RESPONSE2:no server response. You can call leaveChannel: method to leave the channel
CloudHub_RELAY_ERROR_NO_RESOURCE_AVAILABLE3:the SDK fails to access the service, probably due to limited resources of the server.
CloudHub_RELAY_ERROR_FAILED_JOIN_SRC4:fails to send the relay request
CloudHub_RELAY_ERROR_FAILED_JOIN_DEST5:fails to accept the relay request
CloudHub_RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC6:the server fails to receive the media stream
CloudHub_RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST7:the server fails to send the media stream
CloudHub_RELAY_ERROR_SERVER_CONNECTION_LOST8:the SDK disconnects from the server due to poor network
CloudHub_RELAY_ERROR_INTERNAL_ERROR9:an internal error occurs in the server
CloudHub_RELAY_ERROR_SRC_TOKEN_EXPIRED10:the token of the source channel has expired
CloudHub_RELAY_ERROR_DEST_TOKEN_EXPIRED11:the token of the destination channel has expired

CloudHubLighteningContrastLevel

Description:亮度明暗对比度

EnumDescription
CloudHubLighteningContrastLow0:低对比度
CloudHubLighteningContrastNormal1:(默认)正常对比度
CloudHubLighteningContrastHigh2:高对比度

CloudHubAudioEqualizationBandFrequency

Description:Center frequency of speech sound effect equalization band

EnumDescription
AUDIO_EQUALIZATION_BAND_FREQUENCY_700:70 hz
AUDIO_EQUALIZATION_BAND_FREQUENCY_1501:150 hz
AUDIO_EQUALIZATION_BAND_FREQUENCY_2502:250 hz
AUDIO_EQUALIZATION_BAND_FREQUENCY_5003:500 hz
AUDIO_EQUALIZATION_BAND_FREQUENCY_10004:1 khz
AUDIO_EQUALIZATION_BAND_FREQUENCY_20005:2 khz
AUDIO_EQUALIZATION_BAND_FREQUENCY_40006:4 khz
AUDIO_EQUALIZATION_BAND_FREQUENCY_80007:8 khz

CloudHubAudioReverbType

Description:audio reverb type

EnumDescription
AUDIO_REVERB_TYPE_ENABLE0:audio reverb enable
AUDIO_REVERB_TYPE_WETMIX1:audio reverb wetmix
AUDIO_REVERB_TYPE_ROOMSIZE2:audio reverb soomsize
AUDIO_REVERB_TYPE_STRENGTH3:audio reverb strength

CloudHubAudioEffectPreset

Description:Preset sound effects

EnumDescription
AUDIO_EFFECT_PRESET_NONE0:No effect
AUDIO_EFFECT_PRESET_ECHO1:Echoes
AUDIO_EFFECT_PRESET_SHAKE2:Trill
AUDIO_EFFECT_PRESET_KTV3:Karaoke master
AUDIO_EFFECT_PRESET_RADIO4:radio
AUDIO_EFFECT_PRESET_MALE5:Male voice
AUDIO_EFFECT_PRESET_FEMALE6:Female voice
AUDIO_EFFECT_PRESET_ROBOT7:Robot
AUDIO_EFFECT_PRESET_UNCLE8:Uncle
AUDIO_EFFECT_PRESET_MINIONS9:Minions
AUDIO_EFFECT_PRESET_HULK10: Hulk
AUDIO_EFFECT_PRESET_CHIPMUNK11:Chipmunk
AUDIO_EFFECT_PRESET_POP12:Pop
AUDIO_EFFECT_PRESET_WARM13:Warm
AUDIO_EFFECT_PRESET_EMOTION14:Emotion
AUDIO_EFFECT_PRESET_ENERGY15:Energy
AUDIO_EFFECT_PRESET_ROCK16:Rock
AUDIO_EFFECT_PRESET_OLDSTYLE17:Oldstyle
AUDIO_EFFECT_PRESET_WIDE18:Wide

CloudHubVideoEffectSticker

Description:Sticker

EnumDescription
STICKER_NONE0:No sticker
STICKER_PRINCESS_MASK1:Rincess mask
STICKER_EYEGLASSES_CAT2:Eyeglasses cat
STICKER_CARTOON_BOY3:Cartoon boy
STICKER_CARTOON_GIRL4:Cartoon girl
STICKER_NAUGHTY_BABY5:Naughty baby
STICKER_CHRISTMAS_ELK6:Christmas elk
STICKER_BIRTHDAY7:Birthday
STICKER_ICE_CREAM8:Ice cream
STICKER_LUCKY_CAT9:Lucky cat
STICKER_PIGGY10:Piggy

CloudHubAudioQuality

Description:Local publishing audio quality

EnumDescription
AUDIO_QUALITY_LOW0:16khz 22kbps Mono
AUDIO_QUALITY_DEFAULT1:32khz 48kbps Mono(Default)
AUDIO_QUALITY_HIGH2:48khz 64kbps Mono
AUDIO_QUALITY_HIGH_STEREO3:48khz 96kbps Stereo
AUDIO_QUALITY_VERY_HIGH4:48khz 96kbps Mono
AUDIO_QUALITY_VERY_HIGH_STEREO5:48khz 128kbps Stereo

CloudHubMediaFileType

Description:Media file type

EnumDescription
CloudHub_MediaFile_Ogg0:Ogg
CloudHub_MediaFile_Wav1:Wav

CloudHubAudioOutputRouting

Description:Audio output device type

EnumDescription
CloudHubAudioOutputRoutingDefault-1:Default
CloudHubAudioOutputRoutingHeadphones0:Headphone or headset output
CloudHubAudioOutputRoutingBuiltInReceiver1:The speaker you hold to your ear when on a phone call
CloudHubAudioOutputRoutingBuiltInSpeaker2:Built-in speaker on an iOS device
CloudHubAudioOutputRoutingLineOut3:Line level output on a dock connector
CloudHubAudioOutputRoutingBluetooth4:Output on a Bluetooth
CloudHubAudioOutputRoutingUSBAudio5:Output on a Universal Serial Bus device
CloudHubAudioOutputRoutingHDMI6:Output via High-Definition Multimedia Interface
CloudHubAudioOutputRoutingAirPlay7:Output on a remote Air Play device
CloudHubAudioOutputRoutingCarAudio8:output via Car Audio
CloudHubAudioOutputRoutingVirtual9:output that does not correspond to real audio hardware
CloudHubAudioOutputRoutingPCI10:output connected via the PCI (Peripheral Component Interconnect) bus
CloudHubAudioOutputRoutingFireWire11:output connected via FireWire
CloudHubAudioOutputRoutingDisplayPort12:output connected via DisplayPort
CloudHubAudioOutputRoutingAVB13:output connected via AVB (Audio Video Bridging)
CloudHubAudioOutputRoutingThunderbolt14:output connected via Thunderbolt