外置滤镜相关回调
More...
◆ onCreate:context:
通知外置滤镜创建回调
- Parameters
-
pusher | 推流引擎对象 |
context | 上下文环境 |
◆ onDestory:
◆ onProcess:texture:textureWidth:textureHeight:extra:
- (int) onProcess: |
|
(AlivcLivePusher *) |
pusher |
texture: |
|
(int) |
texture |
textureWidth: |
|
(int) |
width |
textureHeight: |
|
(int) |
height |
extra: |
|
(long) |
extra |
|
|
| |
|
required |
通知外置滤镜处理回调,当前版本SDK在非互动模式下需要使用onProcess处理美颜
- Parameters
-
pusher | 推流引擎对象 |
texture | 纹理ID |
width | 图像宽 |
height | 图像高 |
extra | 额外信息 |
- Returns
- 返回处理后的纹理ID
◆ onProcessVideoSampleBuffer:sampleBuffer:
通知外置滤镜处理回调,当前版本SDK在互动模式下需要使用onProcessVideoSampleBuffer处理美颜
- Parameters
-
- Returns
- YES: 需要写回SDK
- NO: 不需要写回SDK
- Note
- 此回调只在livePushMode为AlivcLivePushInteractiveMode,即只在直播SDK工作在互动模式下才回回调
The documentation for this protocol was generated from the following file: