Package com.zego.zegoavkit2.videofilter
Class ZegoExternalVideoFilter
- java.lang.Object
-
- com.zego.zegoavkit2.videofilter.ZegoExternalVideoFilter
-
public final class ZegoExternalVideoFilter extends java.lang.Object
设置外部滤镜接口。Copyright © 2017 Zego. All rights reserved.
-
-
Constructor Summary
Constructors Constructor Description ZegoExternalVideoFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
setVideoFilterFactory(ZegoVideoFilterFactory factory, int channelIndex)
设置外部滤镜工厂;当置空时,关闭外部滤镜功能。
-
-
-
Method Detail
-
setVideoFilterFactory
public static boolean setVideoFilterFactory(ZegoVideoFilterFactory factory, int channelIndex)
设置外部滤镜工厂;当置空时,关闭外部滤镜功能。注意:1. 必须在 推/拉流、预览 前设置;
2. 在 推/拉流、预览 过程中不要改变该工厂实例。- Parameters:
factory
- 外部滤镜工厂实例;当置空时,关闭外部滤镜功能。channelIndex
- 推流通道, 参考ZegoConstants.PublishChannelIndex
- Returns:
- 设置成功返回 true, 否则返回 false
-
-