AlivcLivePusher_Interactive v6.17.0
Aliyun Live Pusher Interactive SDK API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
AlivcLivePushConstants.h File Reference

Functions

typedef NS_ENUM (NSInteger, AliLiveAudioEffectBeautifyMode)
 
typedef NS_ENUM (NSInteger, AliLiveAudioEffectEqualizationBandFrequency)
 
typedef NS_ENUM (NSInteger, AliLiveAudioEffectReverbParamType)
 
typedef NS_ENUM (NSInteger, AliLiveAudioFrameObserverOperationMode)
 
typedef NS_ENUM (NSInteger, AliLiveAudioSource)
 
typedef NS_ENUM (NSInteger, AliLiveConnectionStatus)
 
typedef NS_ENUM (NSInteger, AliLiveConnectionStatusChangeReason)
 
typedef NS_ENUM (NSInteger, AliLiveLocalAudioStateType)
 
typedef NS_ENUM (NSInteger, AliLiveLocalVideoStateType)
 
typedef NS_ENUM (NSInteger, AliLiveMuteLocalAudioMode)
 
typedef NS_ENUM (NSInteger, AliLivePublishState)
 
typedef NS_ENUM (NSInteger, AliLiveSubscribeState)
 
typedef NS_ENUM (NSInteger, AliLiveUserOfflineReason)
 
typedef NS_ENUM (NSInteger, AliLiveVideoSource)
 
typedef NS_ENUM (NSInteger, AlivcLiveAudioProfile)
 audio profile model AlivcLiveAudioProfileLowQualityMode Audio low quality mode, default 8000Hz sampling rate, mono, maximum encoding rate 12kbps AlivcLiveAudioProfileBasicQualityMode Standard sound quality mode, default 16000Hz sampling rate, mono, maximum encoding rate 24kbps AlivcLiveAudioProfileQualityMode (Default) High quality mode, default 48000Hz sampling rate, mono, maximum encoding rate 64kbps AlivcLiveAudioProfileStereoHighQualityMode Stereo high quality mode, default 48000Hz sampling rate, two-channel, maximum encoding rate 80kbps AlivcLiveAudioProfileSuperHighQualityMode Ultra-sound quality mode, default 48000Hz sampling rate, mono, maximum encoding rate 96kbps AlivcLiveAudioProfileStereoSuperHighQualityMode Stereo super high quality mode, default 48000Hz sampling rate, two-channel, maximum encoding rate 128kbps
 
typedef NS_ENUM (NSInteger, AlivcLiveBufferType)
 video format type
 
typedef NS_ENUM (NSInteger, AlivcLiveChannelProfile)
 
typedef NS_ENUM (NSInteger, AlivcLiveLicenseCheckResultCode)
 SDK License Check Result Code.
 
typedef NS_ENUM (NSInteger, AlivcLiveMixSourceType)
 Mixed member stream type AlivcLiveMixSourceTypeCamera Mix camera video AlivcLiveMixSourceTypeScreen Mix screen.
 
typedef NS_ENUM (NSInteger, AlivcLiveMixStreamType)
 Mixed member stream type AlivcLiveMixStreamTypeAudioVideo Mix audio and video AlivcLiveMixStreamTypePureAudio Mix audio, don't mix video AlivcLiveMixStreamTypePureVideo Mix video, don't mix audio.
 
typedef NS_ENUM (NSInteger, AlivcLivePlayerError)
 Live interaction player engine play error code.
 
typedef NS_ENUM (NSInteger, AlivcLivePlayRotationMode)
 The video rotation angle.
 
typedef NS_ENUM (NSInteger, AlivcLivePlayVideoStreamType)
 The video stream type.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioChannel)
 Audio channel number.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioEffectReverbMode)
 Sound Reverb Mode AlivcLivePushAudioEffectReverb_Off turn off reverb AlivcLivePushAudioEffectReverb_Vocal_I vocal I AlivcLivePushAudioEffectReverb_Vocal_II vocal II AlivcLivePushAudioEffectReverb_Bathroom bath room AlivcLivePushAudioEffectReverb_Small_Room_Bright small bright room AlivcLivePushAudioEffectReverb_Small_Room_Dark samll dark room AlivcLivePushAudioEffectReverb_Medium_Room AlivcLivePushAudioEffectReverb_Large_Room large room AlivcLivePushAudioEffectReverb_Church_Hall church hall AlivcLivePushAudioEffectReverb_Mode_Max max.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioEffectVoiceChangeMode)
 Voice Changer Mode AlivcLivePushAudioEffectvVoiceChange_OFF turn off voice changer AlivcLivePushAudioEffectvVoiceChange_OLD_MAN old man AlivcLivePushAudioEffectvVoiceChange_BABYBOY baby boy AlivcLivePushAudioEffectvVoiceChange_BABYGILR baby girl AlivcLivePushAudioEffectvVoiceChange_ROBOT robot AlivcLivePushAudioEffectvVoiceChange_DAIMO demon king AlivcLivePushAudioEffectvVoiceChange_KTV KTV AlivcLivePushAudioEffectvVoiceChangeR_ECHO echo AlivcLivePushAudioEffectvVoiceChange_MAX max.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioEncoderCodec)
 Audio encoder codec.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioEncoderMode)
 Audio encoder mode.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioEncoderProfile)
 Audio encoder profile.
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioFormat)
 
typedef NS_ENUM (NSInteger, AlivcLivePushAudioSampleRate)
 Audio sample rate.
 
typedef NS_ENUM (NSInteger, AlivcLivePushCameraType)
 Camera type.
 
typedef NS_ENUM (NSInteger, AlivcLivePusherAudioScenario)
 Audio scenario.
 
typedef NS_ENUM (NSInteger, AlivcLivePusherAudioSessionOperationRestriction)
 Audio Session OperationRestriction.
 
typedef NS_ENUM (NSInteger, AlivcLivePushFPS)
 
typedef NS_ENUM (NSInteger, AlivcLivePushKickedOutType)
 The specific reason for being kicked out AlivcLivePushKickedOutTypeKickedOut The current user is kicked out of the room and needs to exit the live broadcast room AlivcLivePushKickedOutTypeChannelTerminated The live room is deleted, you need to exit the live room AlivcLivePushKickedOutTypeUserReplaced The same userID enters the live broadcast room on other devices, and the current device is offline.
 
typedef NS_ENUM (NSInteger, AlivcLivePushLogLevel)
 SDK log level.
 
typedef NS_ENUM (NSInteger, AlivcLivePushMode)
 Supported modes:
 
typedef NS_ENUM (NSInteger, AlivcLivePushMonitorLevel)
 SDK The SDK provides quality monitoring.
 
typedef NS_ENUM (NSInteger, AlivcLivePushOrientation)
 Push orientation.
 
typedef NS_ENUM (NSInteger, AlivcLivePushPublishType)
 Live push protocol.
 
typedef NS_ENUM (NSInteger, AlivcLivePushQualityMode)
 Push quality mode.
 
typedef NS_ENUM (NSInteger, AlivcLivePushResolution)
 Resolution.
 
typedef NS_ENUM (NSInteger, AlivcLivePushScallingMode)
 Scalling Mode.
 
typedef NS_ENUM (NSInteger, AlivcLivePushStatus)
 live pusher engine status
 
typedef NS_ENUM (NSInteger, AlivcLivePushUserRole)
 The user role.
 
typedef NS_ENUM (NSInteger, AlivcLivePushVideoEncodeGOP)
 video gop
 
typedef NS_ENUM (NSInteger, AlivcLivePushVideoEncoderMode)
 Video Encoder Mode.
 
typedef NS_ENUM (NSInteger, AlivcLivePushVideoEncoderModeHardCodec)
 Video encoder type.
 
typedef NS_ENUM (NSInteger, AlivcLivePushVideoFormat)
 
typedef NS_ENUM (NSInteger, AlivcLiveRecordAudioQuality)
 Local recoded audio quality AlivcLiveRecordAudioQualityLow Low-quality file recording, small file size, average sound quality AlivcLiveRecordAudioQualityMidium Medium quality file recording, medium file size, medium sound quality AlivcLiveRecordAudioQualityHigh High-quality file recording, larger file size and better sound quality.
 
typedef NS_ENUM (NSInteger, AlivcLiveRecordFormat)
 Local recording format AlivcLiveRecordFormatAAC Record audio-only AAC format files AlivcLiveRecordFormatWAV Record audio-only WAV format files AlivcLiveRecordFormatMP4 Record MP4 format files containing audio and video.
 
typedef NS_ENUM (NSInteger, AlivcLiveRecordMediaEventCode)
 Local recording status and error callback AlivcLiveRecordMediaEventCodeTimeOverLimit Exceeds the set maxDuration AlivcLiveRecordMediaEventCodeSizeOverLimit Exceeds set file maxSize AlivcLiveRecordMediaEventCodeOutOfSize Block files exceeding 2G AlivcLiveRecordMediaEventCodeWriteFailed Failed to write file AlivcLiveRecordMediaEventCodeStart Start recording AlivcLiveRecordMediaEventCodeStop Stop recording.
 
typedef NS_ENUM (NSInteger, AlivcLiveRecordType)
 Local recode media type AlivcLiveRecordTypePureAudio only recode audio AlivcLiveRecordTypeAudioAndVideo recode audio and video.
 
typedef NS_ENUM (NSInteger, AlivcLiveTranscodingCropMode)
 mixed-stream transcoding
 
typedef NS_ENUM (NSInteger, AlivcLiveVideoCodecManufacturer)
 
typedef NS_ENUM (NSInteger, AlivcPusherErrorCode)
 Error code.
 
typedef NS_ENUM (NSInteger, AlivcPusherPreviewDisplayMode)
 Preview Display Mde.
 
typedef NS_ENUM (NSUInteger, AliLiveAudioStreamType)
 
typedef NS_ENUM (NSUInteger, AliLiveRenderMode)
 
typedef NS_ENUM (NSUInteger, AliLiveVideoPipelineMirrorMode)
 
typedef NS_ENUM (NSUInteger, AlivcLiveNetworkQuality)
 Network quality AlivcLiveNetworkQualityExcellent The network is excellent, and the stream definition and quality are good AlivcLiveNetworkQualityGood The network is good, and the fluency and clarity are about the same as excellent AlivcLiveNetworkQualityPoor The network is poor, and the audio and video fluency and clarity are flawed, which does not affect communication AlivcLiveNetworkQualityBad The network is poor, the video freezes seriously, but the audio can communicate normally AlivcLiveNetworkQualityVeryBad The network is extremely poor, and it is basically impossible to communicate AlivcLiveNetworkQualityDisconnect Network interruption AlivcLiveNetworkQualityUnknow Unknow.
 
typedef NS_ENUM (NSUInteger, AlivcLivePlayRenderMode)
 The view render mode.
 
typedef NS_OPTIONS (NSInteger, AliLiveAudioFrameObserverUserDefinedInfoBitMask)
 

Function Documentation

◆ NS_ENUM() [1/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveAudioEffectBeautifyMode   
)

◆ NS_ENUM() [2/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveAudioEffectEqualizationBandFrequency   
)

◆ NS_ENUM() [3/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveAudioEffectReverbParamType   
)

◆ NS_ENUM() [4/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveAudioFrameObserverOperationMode   
)

◆ NS_ENUM() [5/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveAudioSource   
)

◆ NS_ENUM() [6/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveConnectionStatus   
)

◆ NS_ENUM() [7/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveConnectionStatusChangeReason   
)

◆ NS_ENUM() [8/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveLocalAudioStateType   
)

◆ NS_ENUM() [9/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveLocalVideoStateType   
)

◆ NS_ENUM() [10/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveMuteLocalAudioMode   
)

◆ NS_ENUM() [11/63]

typedef NS_ENUM ( NSInteger  ,
AliLivePublishState   
)

◆ NS_ENUM() [12/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveSubscribeState   
)

◆ NS_ENUM() [13/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveUserOfflineReason   
)

◆ NS_ENUM() [14/63]

typedef NS_ENUM ( NSInteger  ,
AliLiveVideoSource   
)

◆ NS_ENUM() [15/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveAudioProfile   
)

audio profile model AlivcLiveAudioProfileLowQualityMode Audio low quality mode, default 8000Hz sampling rate, mono, maximum encoding rate 12kbps AlivcLiveAudioProfileBasicQualityMode Standard sound quality mode, default 16000Hz sampling rate, mono, maximum encoding rate 24kbps AlivcLiveAudioProfileQualityMode (Default) High quality mode, default 48000Hz sampling rate, mono, maximum encoding rate 64kbps AlivcLiveAudioProfileStereoHighQualityMode Stereo high quality mode, default 48000Hz sampling rate, two-channel, maximum encoding rate 80kbps AlivcLiveAudioProfileSuperHighQualityMode Ultra-sound quality mode, default 48000Hz sampling rate, mono, maximum encoding rate 96kbps AlivcLiveAudioProfileStereoSuperHighQualityMode Stereo super high quality mode, default 48000Hz sampling rate, two-channel, maximum encoding rate 128kbps

◆ NS_ENUM() [16/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveBufferType   
)

video format type

◆ NS_ENUM() [17/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveChannelProfile   
)

◆ NS_ENUM() [18/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveLicenseCheckResultCode   
)

SDK License Check Result Code.

  • AlivcLiveLicenseCheckResultCodeSuccess success
  • AlivcLiveLicenseCheckResultCodeCertInvalid licenseFile invalid
  • AlivcLiveLicenseCheckResultCodeCertExpired licenseFile expired
  • AlivcLiveLicenseCheckResultCodeLicenseExpired licenseKey expired
  • AlivcLiveLicenseCheckResultCodeAppIdInvalid APPID invalid
  • AlivcLiveLicenseCheckResultCodeLicenseError license error
  • AlivcLiveLicenseCheckResultCodeBusinessInvalid bussiness invalid
  • AlivcLiveLicenseCheckResultCodePlatformInvalid platform invalid
  • AlivcLiveLicenseCheckResultCodeUninitialized uninitialized

◆ NS_ENUM() [19/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveMixSourceType   
)

Mixed member stream type AlivcLiveMixSourceTypeCamera Mix camera video AlivcLiveMixSourceTypeScreen Mix screen.

◆ NS_ENUM() [20/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveMixStreamType   
)

Mixed member stream type AlivcLiveMixStreamTypeAudioVideo Mix audio and video AlivcLiveMixStreamTypePureAudio Mix audio, don't mix video AlivcLiveMixStreamTypePureVideo Mix video, don't mix audio.

◆ NS_ENUM() [21/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePlayerError   
)

Live interaction player engine play error code.

  • AlivcLivePlayErrorStreamNotFound The stream specified by the streaming URL does not exist.
  • AlivcLivePlayErrorStreamStopped The stream specified by the streaming URL is stopped.
  • AlivcLivePlayErrorSubscribeAudioStreamFailed subscribe audio stream failed
  • AlivcLivePlayErrorSubscribeVideoStreamFailed subscribe video stream failed
  • AlivcLivePlayErrorSubscribeScreenStreamFailed subscribe screen stream failed
  • AlivcLivePlayErrorOtherPlayError other play error

◆ NS_ENUM() [22/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePlayRotationMode   
)

The video rotation angle.

  • AlivcLivePlayRotationMode_0 The video rotation angle - 0
  • AlivcLivePlayRotationMode_90 The video rotation angle - 90
  • AlivcLivePlayRotationMode_180 The video rotation angle - 180
  • AlivcLivePlayRotationMode_270 The video rotation angle - 270

◆ NS_ENUM() [23/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePlayVideoStreamType   
)

The video stream type.

  • AlivcLivePlayVideoStreamTypeCamera camera stream
  • AlivcLivePlayVideoStreamTypeScreen screen stream

◆ NS_ENUM() [24/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioChannel   
)

Audio channel number.

  • AlivcLivePushAudioChannelOne: One
  • AlivcLivePushAudioChannelTwo: Two

◆ NS_ENUM() [25/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioEffectReverbMode   
)

Sound Reverb Mode AlivcLivePushAudioEffectReverb_Off turn off reverb AlivcLivePushAudioEffectReverb_Vocal_I vocal I AlivcLivePushAudioEffectReverb_Vocal_II vocal II AlivcLivePushAudioEffectReverb_Bathroom bath room AlivcLivePushAudioEffectReverb_Small_Room_Bright small bright room AlivcLivePushAudioEffectReverb_Small_Room_Dark samll dark room AlivcLivePushAudioEffectReverb_Medium_Room AlivcLivePushAudioEffectReverb_Large_Room large room AlivcLivePushAudioEffectReverb_Church_Hall church hall AlivcLivePushAudioEffectReverb_Mode_Max max.

◆ NS_ENUM() [26/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioEffectVoiceChangeMode   
)

Voice Changer Mode AlivcLivePushAudioEffectvVoiceChange_OFF turn off voice changer AlivcLivePushAudioEffectvVoiceChange_OLD_MAN old man AlivcLivePushAudioEffectvVoiceChange_BABYBOY baby boy AlivcLivePushAudioEffectvVoiceChange_BABYGILR baby girl AlivcLivePushAudioEffectvVoiceChange_ROBOT robot AlivcLivePushAudioEffectvVoiceChange_DAIMO demon king AlivcLivePushAudioEffectvVoiceChange_KTV KTV AlivcLivePushAudioEffectvVoiceChangeR_ECHO echo AlivcLivePushAudioEffectvVoiceChange_MAX max.

◆ NS_ENUM() [27/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioEncoderCodec   
)

Audio encoder codec.

  • AlivcLivePushAudioEncoderCodecOpus: Opus codec
  • AlivcLivePushAudioEncoderCodecAAC: AAC codec

◆ NS_ENUM() [28/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioEncoderMode   
)

Audio encoder mode.

  • AlivcLivePushAudioEncoderModeHard: hard
  • AlivcLivePushAudioEncoderModeSoft: soft

◆ NS_ENUM() [29/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioEncoderProfile   
)

Audio encoder profile.

  • AlivcLivePushAudioEncoderProfile_AAC_LC: AAC_LC
  • AlivcLivePushAudioEncoderProfile_HE_AAC: HE_AAC
  • AlivcLivePushAudioEncoderProfile_HE_AAC_V2: HE_AAC_V2
  • AlivcLivePushAudioEncoderProfile_AAC_LD: AAC_LD

◆ NS_ENUM() [30/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioFormat   
)

◆ NS_ENUM() [31/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushAudioSampleRate   
)

Audio sample rate.

  • AlivcLivePushAudioSample32000: 32000Hz

◆ NS_ENUM() [32/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushCameraType   
)

Camera type.

  • AlivcLivePushCameraTypeBack: The rear camera.
  • AlivcLivePushCameraTypeFront: The front camera.

◆ NS_ENUM() [33/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePusherAudioScenario   
)

Audio scenario.

  • AlivcLivePusherAudioScenarioDefaultMode The default scene. We recommend that you use this for ordinary live streaming.
  • AlivcLivePusherAudioScenarioMediaMode The media scene. We recommend that you use this if you want to maintain the vocal fidelity and music sound quality.
  • AlivcLivePusherAudioScenarioMusicMode The music scene. High fidelity is ensured for music. We recommend that you use this in scenarios that require high sound quality, such as instrument teaching.
  • AlivcLivePusherAudioScenarioEducationMode In educational scenarios, priority is given to audio continuity and stability.
  • AlivcLivePusherAudioScenarioChatroomMode Chat room mode, suitable for scenarios where you frequently use the microphone.
  • AlivcLivePusherAudioScenarioKtvMode ktv mode

◆ NS_ENUM() [34/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePusherAudioSessionOperationRestriction   
)

Audio Session OperationRestriction.

  • AlivcLivePusherAudioSessionOperationRestrictionNone
  • AlivcLivePusherAudioSessionOperationRestrictionSetCategory
  • AlivcLivePusherAudioSessionOperationRestrictionConfigureSession
  • AlivcLivePusherAudioSessionOperationRestrictionDeactivateSession

◆ NS_ENUM() [35/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushFPS   
)

◆ NS_ENUM() [36/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushKickedOutType   
)

The specific reason for being kicked out AlivcLivePushKickedOutTypeKickedOut The current user is kicked out of the room and needs to exit the live broadcast room AlivcLivePushKickedOutTypeChannelTerminated The live room is deleted, you need to exit the live room AlivcLivePushKickedOutTypeUserReplaced The same userID enters the live broadcast room on other devices, and the current device is offline.

◆ NS_ENUM() [37/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushLogLevel   
)

SDK log level.

  • AlivcLivePushLogLevelAll: all
  • AlivcLivePushLogLevelVerbose: verbose
  • AlivcLivePushLogLevelDebug: debug
  • AlivcLivePushLogLevelInfo: info
  • AlivcLivePushLogLevelWarn: warn
  • AlivcLivePushLogLevelError: error
  • AlivcLivePushLogLevelNone: none

◆ NS_ENUM() [38/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushMode   
)

Supported modes:

  • AlivcLivePushBasicMode:The basic mode, which is the default mode. It does not support real-time interaction features such as co-streaming and battle. Use this mode for ordinary RTMP- and RTS-based stream ingest. -AlivcLivePushInteractiveMode:The interactive mode, which supports real-time interaction features such as co-streaming and battle. If interaction is required during live streaming, we recommend that you use this mode.

◆ NS_ENUM() [39/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushMonitorLevel   
)

SDK The SDK provides quality monitoring.

For embedment scenarios, you can specify specific monitoring metrics AlivcLivePushMonitorLevelAll monitoring all quality information AlivcLivePushMonitorLevelCut monitoring cut quality information AlivcLivePushMonitorLevelNone monitoring none quality information

◆ NS_ENUM() [40/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushOrientation   
)

Push orientation.

  • AlivcLivePushOrientationPortrait: Portrait:
  • AlivcLivePushOrientationLandscapeLeft: LandscapeLeft
  • AlivcLivePushOrientationLandscapeRight: LandscapeRight

◆ NS_ENUM() [41/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushPublishType   
)

Live push protocol.

  • AlivcLivePushPublishType_RTMP: RTMP
  • AlivcLivePushPublishType_RTP: RTP

◆ NS_ENUM() [42/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushQualityMode   
)

Push quality mode.

  • AlivcLivePushQualityModeResolutionFirst: Quality-first mode
  • AlivcLivePushQualityModeFluencyFirst: Smoothness-first mode
  • AlivcLivePushQualityModeCustom: Custom mode

◆ NS_ENUM() [43/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushResolution   
)

Resolution.

  • AlivcLivePushResolution180P: 180P
  • AlivcLivePushResolution240P: 240P
  • AlivcLivePushResolution360P: 360P
  • AlivcLivePushResolution480P: 480P
  • AlivcLivePushResolution540P: 540P
  • AlivcLivePushResolution720P: 720P
  • AlivcLivePushResolution1080P:1080P
  • AlivcLivePushResolutionPassThrough: pass through only used for external main video stream

◆ NS_ENUM() [44/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushScallingMode   
)

Scalling Mode.

  • AlivcLivePushScallingModeFit: Fit
  • AlivcLivePushScallingModeCrop: Crop

◆ NS_ENUM() [45/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushStatus   
)

live pusher engine status

  • AlivcLivePushStatusIdle: idel
  • AlivcLivePushStatusInitialized: initialized
  • AlivcLivePushStatusPreviewing: previewing
  • AlivcLivePushStatusPreviewed: previewed
  • AlivcLivePushStatusPushing: pushing
  • AlivcLivePushStatusPushed: pushed
  • AlivcLivePushStatusStoping: stoping
  • AlivcLivePushStatusPausing: pausing
  • AlivcLivePushStatusPaused: paused
  • AlivcLivePushStatusResuming: resuming
  • AlivcLivePushStatusRestarting: restarting
  • AlivcLivePushStatusError: error

◆ NS_ENUM() [46/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushUserRole   
)

The user role.

  • AliLiveRoomUserRoleAnchor:Anchor -AliLiveRoomUserRoleInteractiveAudience:audience

◆ NS_ENUM() [47/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushVideoEncodeGOP   
)

video gop

  • AlivcLivePushVideoEncodeGOP_1: 1s
  • AlivcLivePushVideoEncodeGOP_2: 2s
  • AlivcLivePushVideoEncodeGOP_3: 3s
  • AlivcLivePushVideoEncodeGOP_4: 4s
  • AlivcLivePushVideoEncodeGOP_5: 5s

◆ NS_ENUM() [48/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushVideoEncoderMode   
)

Video Encoder Mode.

  • AlivcLivePushVideoEncoderModeHard: Hard
  • AlivcLivePushVideoEncoderModeSoft: Soft

◆ NS_ENUM() [49/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushVideoEncoderModeHardCodec   
)

Video encoder type.

  • AlivcLivePushVideoEncoderModeHardTypeH264: H264
  • AlivcLivePushVideoEncoderModeHardTypeHEVC: HEVC

◆ NS_ENUM() [50/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLivePushVideoFormat   
)

◆ NS_ENUM() [51/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveRecordAudioQuality   
)

Local recoded audio quality AlivcLiveRecordAudioQualityLow Low-quality file recording, small file size, average sound quality AlivcLiveRecordAudioQualityMidium Medium quality file recording, medium file size, medium sound quality AlivcLiveRecordAudioQualityHigh High-quality file recording, larger file size and better sound quality.

◆ NS_ENUM() [52/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveRecordFormat   
)

Local recording format AlivcLiveRecordFormatAAC Record audio-only AAC format files AlivcLiveRecordFormatWAV Record audio-only WAV format files AlivcLiveRecordFormatMP4 Record MP4 format files containing audio and video.

◆ NS_ENUM() [53/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveRecordMediaEventCode   
)

Local recording status and error callback AlivcLiveRecordMediaEventCodeTimeOverLimit Exceeds the set maxDuration AlivcLiveRecordMediaEventCodeSizeOverLimit Exceeds set file maxSize AlivcLiveRecordMediaEventCodeOutOfSize Block files exceeding 2G AlivcLiveRecordMediaEventCodeWriteFailed Failed to write file AlivcLiveRecordMediaEventCodeStart Start recording AlivcLiveRecordMediaEventCodeStop Stop recording.

◆ NS_ENUM() [54/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveRecordType   
)

Local recode media type AlivcLiveRecordTypePureAudio only recode audio AlivcLiveRecordTypeAudioAndVideo recode audio and video.

◆ NS_ENUM() [55/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveTranscodingCropMode   
)

mixed-stream transcoding

  • AlivcLiveTranscodingCropModeCrop Crop mode
  • AlivcLiveTranscodingCropModeFill Fill mode

◆ NS_ENUM() [56/63]

typedef NS_ENUM ( NSInteger  ,
AlivcLiveVideoCodecManufacturer   
)

◆ NS_ENUM() [57/63]

typedef NS_ENUM ( NSInteger  ,
AlivcPusherErrorCode   
)

Error code.

◆ NS_ENUM() [58/63]

typedef NS_ENUM ( NSInteger  ,
AlivcPusherPreviewDisplayMode   
)

Preview Display Mde.

  • ALIVC_LIVE_PUSHER_PREVIEW_SCALE_FILL: Fills the entire preview window. If the aspect ratio of the video is not the same as the aspect ratio of the preview window, the preview image is deformed.
  • ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FIT: Maintains the original aspect ratio of the video. If the aspect ratio of the video is not the same as the aspect ratio of the preview window, black bars appear on the preview window.
  • ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FILL:Crops the video to fit the preview window. If the aspect ratio of the video is not the same as the aspect ratio of the preview window, the video is cropped.

◆ NS_ENUM() [59/63]

typedef NS_ENUM ( NSUInteger  ,
AliLiveAudioStreamType   
)

◆ NS_ENUM() [60/63]

typedef NS_ENUM ( NSUInteger  ,
AliLiveRenderMode   
)

◆ NS_ENUM() [61/63]

typedef NS_ENUM ( NSUInteger  ,
AliLiveVideoPipelineMirrorMode   
)

◆ NS_ENUM() [62/63]

typedef NS_ENUM ( NSUInteger  ,
AlivcLiveNetworkQuality   
)

Network quality AlivcLiveNetworkQualityExcellent The network is excellent, and the stream definition and quality are good AlivcLiveNetworkQualityGood The network is good, and the fluency and clarity are about the same as excellent AlivcLiveNetworkQualityPoor The network is poor, and the audio and video fluency and clarity are flawed, which does not affect communication AlivcLiveNetworkQualityBad The network is poor, the video freezes seriously, but the audio can communicate normally AlivcLiveNetworkQualityVeryBad The network is extremely poor, and it is basically impossible to communicate AlivcLiveNetworkQualityDisconnect Network interruption AlivcLiveNetworkQualityUnknow Unknow.

◆ NS_ENUM() [63/63]

typedef NS_ENUM ( NSUInteger  ,
AlivcLivePlayRenderMode   
)

The view render mode.

  • AlivcLivePlayRenderModeAuto Automatic mode
  • AlivcLivePlayRenderModeStretch Stretch mode
  • AlivcLivePlayRenderModeFill Fill mode
  • AlivcLivePlayRenderModeCrop Crop mode

◆ NS_OPTIONS()

typedef NS_OPTIONS ( NSInteger  ,
AliLiveAudioFrameObserverUserDefinedInfoBitMask   
)