AlivcLivePusher  4.3.1
Aliyun Live Pusher API Reference Manual for iOS Platforms
AlivcLivePusher Class Reference
Inheritance diagram for AlivcLivePusher:

Instance Methods

(int) - addDynamicWaterMarkImageDataWithPath:x:y:w:h:
 
(int) - addMixAudio:format:audioSample:
 
(int) - addMixVideo:width:height:rotation:displayX:displayY:displayW:displayH:adjustHeight:
 
(void) - changeMixVideoPosition:displayX:displayY:displayW:displayH:
 
(void) - destory
 
(int) - focusCameraAtAdjustedPoint:autoFocus:
 
(float) - getCurrentExposure
 
(float) - getCurrentZoom
 
(AlivcLivePushStatsInfo *) - getLivePushStatusInfo
 
(AlivcLivePushStatus) - getLiveStatus
 
(float) - getMaxZoom
 
(NSString *) - getPushURL
 
(float) - getSupportedMaxExposure
 
(float) - getSupportedMinExposure
 
(instancetype) - initWithConfig:
 
(bool) - inputMixAudioData:data:size:pts:
 
(void) - inputMixVideoData:data:width:height:stride:size:pts:rotation:
 
(BOOL) - isPushing
 
(int) - pause
 
(int) - pauseBGM
 
(int) - reconnectPushAsync
 
(int) - reconnectPushAsync:
 
(void) - removeDynamicWaterMark:
 
(void) - removeMixAudio:
 
(void) - removeMixVideo:
 
(int) - restartPush
 
(int) - restartPushAsync
 
(int) - resume
 
(int) - resumeAsync
 
(int) - resumeBGM
 
(void) - sendAudioSampleBuffer:withType:
 
(int) - sendMessage:repeatCount:delayTime:KeyFrameOnly:
 
(void) - sendPCMData:size:sampleRate:channel:pts:
 
(void) - sendVideoData:width:height:size:pts:rotation:
 
(void) - sendVideoSampleBuffer:
 
(int) - setAudioDenoise:
 
(int) - setAutoFocus:
 
(void) - setBGMDelegate:
 
(int) - setBGMEarsBack:
 
(int) - setBGMLoop:
 
(int) - setBGMVolume:
 
(int) - setCaptureVolume:
 
(void) - setCustomDetectorDelegate:
 
(void) - setCustomFilterDelegate:
 
(void) - setErrorDelegate:
 
(int) - setExposure:
 
(int) - setFlash:
 
(void) - setInfoDelegate:
 
(int) - setLogLevel:
 
(int) - setLogPath:
 
(int) - setMinVideoBitrate:
 
(void) - setMixVideoMirror:isMirror:
 
(void) - setMute:
 
(void) - setNetworkDelegate:
 
(void) - setpreviewDisplayMode:
 
(void) - setPreviewMirror:
 
(void) - setPushMirror:
 
(int) - setQualityMode:
 
(void) - setResolution:
 
(void) - setSnapshotDelegate:
 
(int) - setTargetVideoBitrate:
 
(int) - setZoom:
 
(void) - snapshot:interval:
 
(int) - startBGMWithMusicPathAsync:
 
(int) - startPreview:
 
(int) - startPreviewAsync:
 
(int) - startPushWithURL:
 
(int) - startPushWithURLAsync:
 
(int) - startScreenCapture:
 
(int) - stopBGMAsync
 
(int) - stopPreview
 
(int) - stopPush
 
(int) - switchCamera
 

Class Methods

(NSString *) + getSDKVersion
 
(void) + hideDebugView
 
(void) + showDebugView
 

Method Documentation

◆ addDynamicWaterMarkImageDataWithPath:x:y:w:h:

- (int) addDynamicWaterMarkImageDataWithPath: (NSString *)  waterMarkDirPath
x: (float)  x
y: (float)  y
w: (float)  w
h: (float)  h 

◆ addMixAudio:format:audioSample:

- (int) addMixAudio: (int)  channels
format: (int)  format
audioSample: (int)  audioSample 

◆ addMixVideo:width:height:rotation:displayX:displayY:displayW:displayH:adjustHeight:

- (int) addMixVideo: (int)  format
width: (int)  width
height: (int)  height
rotation: (int)  rotation
displayX: (float)  displayX
displayY: (float)  displayY
displayW: (float)  displayW
displayH: (float)  displayH
adjustHeight: (bool)  adjustHeight 

◆ changeMixVideoPosition:displayX:displayY:displayW:displayH:

- (void) changeMixVideoPosition: (int)  handler
displayX: (float)  displayX
displayY: (float)  displayY
displayW: (float)  displayW
displayH: (float)  displayH 

◆ destory

- (void) destory

◆ focusCameraAtAdjustedPoint:autoFocus:

- (int) focusCameraAtAdjustedPoint: (CGPoint)  point
autoFocus: (bool)  autoFocus 

◆ getCurrentExposure

- (float) getCurrentExposure

◆ getCurrentZoom

- (float) getCurrentZoom

◆ getLivePushStatusInfo

- (AlivcLivePushStatsInfo *) getLivePushStatusInfo

◆ getLiveStatus

- (AlivcLivePushStatus) getLiveStatus

◆ getMaxZoom

- (float) getMaxZoom

◆ getPushURL

- (NSString *) getPushURL

◆ getSDKVersion

+ (NSString *) getSDKVersion

◆ getSupportedMaxExposure

- (float) getSupportedMaxExposure

◆ getSupportedMinExposure

- (float) getSupportedMinExposure

◆ hideDebugView

+ (void) hideDebugView

◆ initWithConfig:

- (instancetype) initWithConfig: (AlivcLivePushConfig *)  config

◆ inputMixAudioData:data:size:pts:

- (bool) inputMixAudioData: (int)  handler
data: (long)  dataptr
size: (int)  size
pts: (long)  pts 

◆ inputMixVideoData:data:width:height:stride:size:pts:rotation:

- (void) inputMixVideoData: (int)  handler
data: (long)  dataptr
width: (int)  width
height: (int)  height
stride: (int)  stride
size: (int)  size
pts: (long)  pts
rotation: (int)  rotation 

◆ isPushing

- (BOOL) isPushing

◆ pause

- (int) pause

◆ pauseBGM

- (int) pauseBGM

◆ reconnectPushAsync

- (int) reconnectPushAsync

◆ reconnectPushAsync:

- (int) reconnectPushAsync: (NSString *)  pushURL

◆ removeDynamicWaterMark:

- (void) removeDynamicWaterMark: (int)  vid

◆ removeMixAudio:

- (void) removeMixAudio: (int)  handler

◆ removeMixVideo:

- (void) removeMixVideo: (int)  handler

◆ restartPush

- (int) restartPush

◆ restartPushAsync

- (int) restartPushAsync

◆ resume

- (int) resume

◆ resumeAsync

- (int) resumeAsync

◆ resumeBGM

- (int) resumeBGM

◆ sendAudioSampleBuffer:withType:

- (void) sendAudioSampleBuffer: (CMSampleBufferRef)  sampleBuffer
withType: (RPSampleBufferType)  sampleBufferType 

◆ sendMessage:repeatCount:delayTime:KeyFrameOnly:

- (int) sendMessage: (NSString *)  msg
repeatCount: (int)  count
delayTime: (int)  time
KeyFrameOnly: (bool)  isKeyFrame 

◆ sendPCMData:size:sampleRate:channel:pts:

- (void) sendPCMData: (char *)  data
size: (int)  size
sampleRate: (int)  sampleRate
channel: (int)  channel
pts: (uint64_t)  pts 

◆ sendVideoData:width:height:size:pts:rotation:

- (void) sendVideoData: (char *)  data
width: (int)  width
height: (int)  height
size: (int)  size
pts: (uint64_t)  pts
rotation: (int)  rotation 

◆ sendVideoSampleBuffer:

- (void) sendVideoSampleBuffer: (CMSampleBufferRef)  sampleBuffer

◆ setAudioDenoise:

- (int) setAudioDenoise: (bool)  isOpen

◆ setAutoFocus:

- (int) setAutoFocus: (bool)  autoFocus

◆ setBGMDelegate:

- (void) setBGMDelegate: (id< AlivcLivePusherBGMDelegate >)  delegate

◆ setBGMEarsBack:

- (int) setBGMEarsBack: (bool)  isOpen

◆ setBGMLoop:

- (int) setBGMLoop: (bool)  isLoop

◆ setBGMVolume:

- (int) setBGMVolume: (int)  volume

◆ setCaptureVolume:

- (int) setCaptureVolume: (int)  volume

◆ setCustomDetectorDelegate:

- (void) setCustomDetectorDelegate: (id< AlivcLivePusherCustomDetectorDelegate >)  delegate

◆ setCustomFilterDelegate:

- (void) setCustomFilterDelegate: (id< AlivcLivePusherCustomFilterDelegate >)  delegate

◆ setErrorDelegate:

- (void) setErrorDelegate: (id< AlivcLivePusherErrorDelegate >)  delegate

◆ setExposure:

- (int) setExposure: (float)  exposure

◆ setFlash:

- (int) setFlash: (bool)  flash

◆ setInfoDelegate:

- (void) setInfoDelegate: (id< AlivcLivePusherInfoDelegate >)  delegate

◆ setLogLevel:

- (int) setLogLevel: (AlivcLivePushLogLevel)  level

◆ setLogPath:

- (int) setLogPath: (NSString *)  logPath

◆ setMinVideoBitrate:

- (int) setMinVideoBitrate: (int)  minBitrate

◆ setMixVideoMirror:isMirror:

- (void) setMixVideoMirror: (int)  handler
isMirror: (BOOL)  isMirror 

◆ setMute:

- (void) setMute: (bool)  mute

◆ setNetworkDelegate:

- (void) setNetworkDelegate: (id< AlivcLivePusherNetworkDelegate >)  delegate

◆ setpreviewDisplayMode:

- (void) setpreviewDisplayMode: (AlivcPusherPreviewDisplayMode)  displayMode

◆ setPreviewMirror:

- (void) setPreviewMirror: (bool)  mirror

◆ setPushMirror:

- (void) setPushMirror: (bool)  mirror

◆ setQualityMode:

- (int) setQualityMode: (AlivcLivePushQualityMode)  qualityMode

◆ setResolution:

- (void) setResolution: (AlivcLivePushResolution)  resolution

◆ setSnapshotDelegate:

- (void) setSnapshotDelegate: (id< AlivcLivePusherSnapshotDelegate >)  delegate

◆ setTargetVideoBitrate:

- (int) setTargetVideoBitrate: (int)  targetBitrate

◆ setZoom:

- (int) setZoom: (float)  zoom

◆ showDebugView

+ (void) showDebugView

◆ snapshot:interval:

- (void) snapshot: (int)  count
interval: (int)  interval 

◆ startBGMWithMusicPathAsync:

- (int) startBGMWithMusicPathAsync: (NSString *)  path

◆ startPreview:

- (int) startPreview: (UIView *)  previewView

◆ startPreviewAsync:

- (int) startPreviewAsync: (UIView *)  preview

◆ startPushWithURL:

- (int) startPushWithURL: (NSString *)  pushURL

◆ startPushWithURLAsync:

- (int) startPushWithURLAsync: (NSString *)  pushURL

◆ startScreenCapture:

- (int) startScreenCapture: (NSString *)  appGroup

◆ stopBGMAsync

- (int) stopBGMAsync

◆ stopPreview

- (int) stopPreview

◆ stopPush

- (int) stopPush

◆ switchCamera

- (int) switchCamera

The documentation for this class was generated from the following file: