zego-express-engine-electron-plugin-blend-image-private 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -160,9 +160,10 @@ declare class ZegoExpressPluginBlendImage extends EventEmitter {
160
160
  *
161
161
  * @param captureSrc 摄像头源对象
162
162
  * @param effectPlugin 外部实现的美颜插件指针,使用前咨询请使用方式
163
+ * @param effectType 0,使用即构定义接口美颜方式;1,使用字节定义接口美颜方式
163
164
  * @returns
164
165
  */
165
- setCameraCaptureSourceParam(captureSrc: number, effectPlugin: number): boolean;
166
+ setCameraCaptureSourceParam(captureSrc: number, effectPlugin: number, effectType?: number): boolean;
166
167
  /**
167
168
  * 配置图像源参数,可用于切换图片,更新图片路径即可
168
169
  * @param {object} option - 参数对象
package/index.js CHANGED
@@ -193,10 +193,11 @@ class ZegoExpressPluginBlendImage extends EventEmitter {
193
193
  *
194
194
  * @param captureSrc 摄像头源对象
195
195
  * @param effectPlugin 外部实现的美颜插件指针,使用前咨询请使用方式
196
+ * @param effectType 0,使用即构定义接口美颜方式;1,使用字节定义接口美颜方式
196
197
  * @returns
197
198
  */
198
- setCameraCaptureSourceParam(captureSrc, effectPlugin) {
199
- return this._addonInstance.setCameraCaptureSourceParam({ captureSrc, effectPlugin });
199
+ setCameraCaptureSourceParam(captureSrc, effectPlugin, effectType = 0) {
200
+ return this._addonInstance.setCameraCaptureSourceParam({ captureSrc, effectPlugin, effectType });
200
201
  }
201
202
  /**
202
203
  * 配置图像源参数,可用于切换图片,更新图片路径即可
Binary file