@byteplus/react-native-live-push 1.3.0-rc.0 → 1.3.0-rc.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.
Files changed (31) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/volcengine/velive/rn/push/VeLiveEffectHelper.java +222 -0
  3. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +2 -0
  4. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/TextureMgr.java +6 -1
  5. package/ios/VeLivePushHelper.h +2 -1
  6. package/ios/VeLivePushHelper.m +7 -0
  7. package/lib/commonjs/index.js +487 -279
  8. package/lib/commonjs/typescript/core/api.d.ts +7 -1
  9. package/lib/commonjs/typescript/core/effect.d.ts +15 -0
  10. package/lib/commonjs/typescript/core/index.d.ts +1 -0
  11. package/lib/commonjs/typescript/platforms/android/extends.d.ts +2 -0
  12. package/lib/commonjs/typescript/platforms/android/helper.d.ts +10 -0
  13. package/lib/commonjs/typescript/platforms/ios/helper.d.ts +1 -0
  14. package/lib/commonjs/typescript/utils/index.d.ts +4 -0
  15. package/lib/module/index.js +487 -280
  16. package/lib/module/typescript/core/api.d.ts +7 -1
  17. package/lib/module/typescript/core/effect.d.ts +15 -0
  18. package/lib/module/typescript/core/index.d.ts +1 -0
  19. package/lib/module/typescript/platforms/android/extends.d.ts +2 -0
  20. package/lib/module/typescript/platforms/android/helper.d.ts +10 -0
  21. package/lib/module/typescript/platforms/ios/helper.d.ts +1 -0
  22. package/lib/module/typescript/utils/index.d.ts +4 -0
  23. package/lib/typescript/core/api.d.ts +7 -1
  24. package/lib/typescript/core/effect.d.ts +15 -0
  25. package/lib/typescript/core/index.d.ts +1 -0
  26. package/lib/typescript/platforms/android/extends.d.ts +2 -0
  27. package/lib/typescript/platforms/android/helper.d.ts +10 -0
  28. package/lib/typescript/platforms/ios/helper.d.ts +1 -0
  29. package/lib/typescript/utils/index.d.ts +4 -0
  30. package/package.json +1 -1
  31. package/react-native-velive-push.podspec +3 -3
@@ -2979,7 +2979,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2979
2979
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2980
2980
  PERFORMANCE OF THIS SOFTWARE.
2981
2981
  ***************************************************************************** */
2982
- /* global Reflect, Promise, SuppressedError, Symbol */
2982
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2983
2983
 
2984
2984
  var extendStatics = function(d, b) {
2985
2985
  extendStatics = Object.setPrototypeOf ||
@@ -3055,7 +3055,7 @@ function __runInitializers(thisArg, initializers, value) {
3055
3055
  }
3056
3056
  function __setFunctionName(f, name, prefix) {
3057
3057
  if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
3058
- return Object.defineProperty(f, "name", { configurable: true, value: name });
3058
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
3059
3059
  }
3060
3060
  function __awaiter(thisArg, _arguments, P, generator) {
3061
3061
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -3068,8 +3068,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
3068
3068
  }
3069
3069
 
3070
3070
  function __generator(thisArg, body) {
3071
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
3072
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
3071
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
3072
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
3073
3073
  function verb(n) { return function (v) { return step([n, v]); }; }
3074
3074
  function step(op) {
3075
3075
  if (f) throw new TypeError("Generator is already executing.");
@@ -3128,6 +3128,172 @@ var NativeViewComponent = /** @class */ (function (_super) {
3128
3128
  return NativeViewComponent;
3129
3129
  }(React.Component));
3130
3130
 
3131
+ var VeLivePushHelper$1 = function () {
3132
+ var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.VeLivePushHelper')];
3133
+ var _classDescriptor;
3134
+ var _classExtraInitializers = [];
3135
+ var _classThis;
3136
+ var _staticExtraInitializers = [];
3137
+ var _static_setVeLivePusher_decorators;
3138
+ var _static_removeVeLivePusher_decorators;
3139
+ var VeLivePushHelper = _classThis = /** @class */ (function () {
3140
+ function VeLivePushHelper_1() {
3141
+ }
3142
+ VeLivePushHelper_1.setPusher = function (viewId, pusher) {
3143
+ VeLivePushHelper.pusherMap.set(pusher, viewId);
3144
+ this.setVeLivePusher(viewId, pusher);
3145
+ };
3146
+ VeLivePushHelper_1.removePusher = function (pusher) {
3147
+ var viewId = VeLivePushHelper.pusherMap.get(pusher);
3148
+ if (viewId) {
3149
+ VeLivePushHelper.pusherMap.delete(pusher);
3150
+ this.removeVeLivePusher(viewId);
3151
+ }
3152
+ };
3153
+ VeLivePushHelper_1.setVeLivePusher = function (viewId, pusher) {
3154
+ throw new Error('');
3155
+ };
3156
+ VeLivePushHelper_1.removeVeLivePusher = function (viewId) {
3157
+ throw new Error('');
3158
+ };
3159
+ return VeLivePushHelper_1;
3160
+ }());
3161
+ __setFunctionName(_classThis, "VeLivePushHelper");
3162
+ (function () {
3163
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
3164
+ _static_setVeLivePusher_decorators = [NativeStaticMethodSync()];
3165
+ _static_removeVeLivePusher_decorators = [NativeStaticMethodSync()];
3166
+ __esDecorate(_classThis, null, _static_setVeLivePusher_decorators, { kind: "method", name: "setVeLivePusher", static: true, private: false, access: { has: function (obj) { return "setVeLivePusher" in obj; }, get: function (obj) { return obj.setVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
3167
+ __esDecorate(_classThis, null, _static_removeVeLivePusher_decorators, { kind: "method", name: "removeVeLivePusher", static: true, private: false, access: { has: function (obj) { return "removeVeLivePusher" in obj; }, get: function (obj) { return obj.removeVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
3168
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
3169
+ VeLivePushHelper = _classThis = _classDescriptor.value;
3170
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
3171
+ })();
3172
+ _classThis.pusherMap = (__runInitializers(_classThis, _staticExtraInitializers), new WeakMap());
3173
+ (function () {
3174
+ __runInitializers(_classThis, _classExtraInitializers);
3175
+ })();
3176
+ return VeLivePushHelper = _classThis;
3177
+ }();
3178
+ var VeLiveEffectHelper = function () {
3179
+ var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.VeLiveEffectHelper')];
3180
+ var _classDescriptor;
3181
+ var _classExtraInitializers = [];
3182
+ var _classThis;
3183
+ var _staticExtraInitializers = [];
3184
+ var _static_getLicensePath_decorators;
3185
+ var _static_getModelPath_decorators;
3186
+ var _static_getBeautyPathByName_decorators;
3187
+ var _static_getStickerPathByName_decorators;
3188
+ var _static_getFilterPathByName_decorators;
3189
+ var _static_initVideoEffectResource_decorators;
3190
+ var _static_copyAssetFolder_decorators;
3191
+ _classThis = /** @class */ (function () {
3192
+ function VeLiveEffectHelper_1() {
3193
+ }
3194
+ VeLiveEffectHelper_1.getLicensePath = function (name) {
3195
+ throw new Error('');
3196
+ };
3197
+ VeLiveEffectHelper_1.getModelPath = function () {
3198
+ throw new Error('');
3199
+ };
3200
+ VeLiveEffectHelper_1.getBeautyPathByName = function (subPath) {
3201
+ throw new Error('');
3202
+ };
3203
+ VeLiveEffectHelper_1.getStickerPathByName = function (name) {
3204
+ throw new Error('');
3205
+ };
3206
+ VeLiveEffectHelper_1.getFilterPathByName = function (name) {
3207
+ throw new Error('');
3208
+ };
3209
+ VeLiveEffectHelper_1.initVideoEffectResource = function () {
3210
+ throw new Error('');
3211
+ };
3212
+ VeLiveEffectHelper_1.copyAssetFolder = function (context, srcName, dstName) {
3213
+ throw new Error('');
3214
+ };
3215
+ return VeLiveEffectHelper_1;
3216
+ }());
3217
+ __setFunctionName(_classThis, "VeLiveEffectHelper");
3218
+ (function () {
3219
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
3220
+ _static_getLicensePath_decorators = [NativeStaticMethodSync()];
3221
+ _static_getModelPath_decorators = [NativeStaticMethodSync()];
3222
+ _static_getBeautyPathByName_decorators = [NativeStaticMethodSync()];
3223
+ _static_getStickerPathByName_decorators = [NativeStaticMethodSync()];
3224
+ _static_getFilterPathByName_decorators = [NativeStaticMethodSync()];
3225
+ _static_initVideoEffectResource_decorators = [NativeStaticMethodSync()];
3226
+ _static_copyAssetFolder_decorators = [NativeStaticMethodSync()];
3227
+ __esDecorate(_classThis, null, _static_getLicensePath_decorators, { kind: "method", name: "getLicensePath", static: true, private: false, access: { has: function (obj) { return "getLicensePath" in obj; }, get: function (obj) { return obj.getLicensePath; } }, metadata: _metadata }, null, _staticExtraInitializers);
3228
+ __esDecorate(_classThis, null, _static_getModelPath_decorators, { kind: "method", name: "getModelPath", static: true, private: false, access: { has: function (obj) { return "getModelPath" in obj; }, get: function (obj) { return obj.getModelPath; } }, metadata: _metadata }, null, _staticExtraInitializers);
3229
+ __esDecorate(_classThis, null, _static_getBeautyPathByName_decorators, { kind: "method", name: "getBeautyPathByName", static: true, private: false, access: { has: function (obj) { return "getBeautyPathByName" in obj; }, get: function (obj) { return obj.getBeautyPathByName; } }, metadata: _metadata }, null, _staticExtraInitializers);
3230
+ __esDecorate(_classThis, null, _static_getStickerPathByName_decorators, { kind: "method", name: "getStickerPathByName", static: true, private: false, access: { has: function (obj) { return "getStickerPathByName" in obj; }, get: function (obj) { return obj.getStickerPathByName; } }, metadata: _metadata }, null, _staticExtraInitializers);
3231
+ __esDecorate(_classThis, null, _static_getFilterPathByName_decorators, { kind: "method", name: "getFilterPathByName", static: true, private: false, access: { has: function (obj) { return "getFilterPathByName" in obj; }, get: function (obj) { return obj.getFilterPathByName; } }, metadata: _metadata }, null, _staticExtraInitializers);
3232
+ __esDecorate(_classThis, null, _static_initVideoEffectResource_decorators, { kind: "method", name: "initVideoEffectResource", static: true, private: false, access: { has: function (obj) { return "initVideoEffectResource" in obj; }, get: function (obj) { return obj.initVideoEffectResource; } }, metadata: _metadata }, null, _staticExtraInitializers);
3233
+ __esDecorate(_classThis, null, _static_copyAssetFolder_decorators, { kind: "method", name: "copyAssetFolder", static: true, private: false, access: { has: function (obj) { return "copyAssetFolder" in obj; }, get: function (obj) { return obj.copyAssetFolder; } }, metadata: _metadata }, null, _staticExtraInitializers);
3234
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
3235
+ _classThis = _classDescriptor.value;
3236
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
3237
+ __runInitializers(_classThis, _staticExtraInitializers);
3238
+ __runInitializers(_classThis, _classExtraInitializers);
3239
+ })();
3240
+ return _classThis;
3241
+ }();
3242
+
3243
+ var VeLivePushHelper = function () {
3244
+ var _classDecorators = [NativeClass('VeLivePushHelper')];
3245
+ var _classDescriptor;
3246
+ var _classExtraInitializers = [];
3247
+ var _classThis;
3248
+ var _staticExtraInitializers = [];
3249
+ var _static_setVeLivePusher_decorators;
3250
+ var _static_removeVeLivePusher_decorators;
3251
+ var _static_getResourcePath_decorators;
3252
+ var VeLivePushHelper = _classThis = /** @class */ (function () {
3253
+ function VeLivePushHelper_1() {
3254
+ }
3255
+ VeLivePushHelper_1.setPusher = function (viewId, pusher) {
3256
+ VeLivePushHelper.pusherMap.set(pusher, viewId);
3257
+ this.setVeLivePusher(pusher, viewId);
3258
+ };
3259
+ VeLivePushHelper_1.removePusher = function (pusher) {
3260
+ var viewId = VeLivePushHelper.pusherMap.get(pusher);
3261
+ if (viewId) {
3262
+ VeLivePushHelper.pusherMap.delete(pusher);
3263
+ this.removeVeLivePusher(viewId);
3264
+ }
3265
+ };
3266
+ VeLivePushHelper_1.setVeLivePusher = function (pusher, viewId) {
3267
+ throw new Error('');
3268
+ };
3269
+ VeLivePushHelper_1.removeVeLivePusher = function (viewId) {
3270
+ throw new Error('');
3271
+ };
3272
+ VeLivePushHelper_1.getResourcePath = function (subPath) {
3273
+ throw new Error('');
3274
+ };
3275
+ return VeLivePushHelper_1;
3276
+ }());
3277
+ __setFunctionName(_classThis, "VeLivePushHelper");
3278
+ (function () {
3279
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
3280
+ _static_setVeLivePusher_decorators = [NativeStaticMethodSync('setVeLivePusher:forKey:')];
3281
+ _static_removeVeLivePusher_decorators = [NativeStaticMethodSync('removeVeLivePusher:')];
3282
+ _static_getResourcePath_decorators = [NativeStaticMethodSync('getResourcePath:')];
3283
+ __esDecorate(_classThis, null, _static_setVeLivePusher_decorators, { kind: "method", name: "setVeLivePusher", static: true, private: false, access: { has: function (obj) { return "setVeLivePusher" in obj; }, get: function (obj) { return obj.setVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
3284
+ __esDecorate(_classThis, null, _static_removeVeLivePusher_decorators, { kind: "method", name: "removeVeLivePusher", static: true, private: false, access: { has: function (obj) { return "removeVeLivePusher" in obj; }, get: function (obj) { return obj.removeVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
3285
+ __esDecorate(_classThis, null, _static_getResourcePath_decorators, { kind: "method", name: "getResourcePath", static: true, private: false, access: { has: function (obj) { return "getResourcePath" in obj; }, get: function (obj) { return obj.getResourcePath; } }, metadata: _metadata }, null, _staticExtraInitializers);
3286
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
3287
+ VeLivePushHelper = _classThis = _classDescriptor.value;
3288
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
3289
+ })();
3290
+ _classThis.pusherMap = (__runInitializers(_classThis, _staticExtraInitializers), new WeakMap());
3291
+ (function () {
3292
+ __runInitializers(_classThis, _classExtraInitializers);
3293
+ })();
3294
+ return VeLivePushHelper = _classThis;
3295
+ }();
3296
+
3131
3297
  var VeLiveVideoEncoderConfiguration$2 = function () {
3132
3298
  var _classDecorators = [NativeClass('com.ss.avframework.live.VeLivePusherDef$VeLiveVideoEncoderConfiguration')];
3133
3299
  var _classDescriptor;
@@ -15034,102 +15200,6 @@ var NativeUIView = function () {
15034
15200
  return UIView;
15035
15201
  })(NativeUIView));
15036
15202
 
15037
- var VeLivePushHelper$1 = function () {
15038
- var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.VeLivePushHelper')];
15039
- var _classDescriptor;
15040
- var _classExtraInitializers = [];
15041
- var _classThis;
15042
- var _staticExtraInitializers = [];
15043
- var _static_setVeLivePusher_decorators;
15044
- var _static_removeVeLivePusher_decorators;
15045
- var VeLivePushHelper = _classThis = /** @class */ (function () {
15046
- function VeLivePushHelper_1() {
15047
- }
15048
- VeLivePushHelper_1.setPusher = function (viewId, pusher) {
15049
- VeLivePushHelper.pusherMap.set(pusher, viewId);
15050
- this.setVeLivePusher(viewId, pusher);
15051
- };
15052
- VeLivePushHelper_1.removePusher = function (pusher) {
15053
- var viewId = VeLivePushHelper.pusherMap.get(pusher);
15054
- if (viewId) {
15055
- VeLivePushHelper.pusherMap.delete(pusher);
15056
- this.removeVeLivePusher(viewId);
15057
- }
15058
- };
15059
- VeLivePushHelper_1.setVeLivePusher = function (viewId, pusher) {
15060
- throw new Error('');
15061
- };
15062
- VeLivePushHelper_1.removeVeLivePusher = function (viewId) {
15063
- throw new Error('');
15064
- };
15065
- return VeLivePushHelper_1;
15066
- }());
15067
- __setFunctionName(_classThis, "VeLivePushHelper");
15068
- (function () {
15069
- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
15070
- _static_setVeLivePusher_decorators = [NativeStaticMethodSync()];
15071
- _static_removeVeLivePusher_decorators = [NativeStaticMethodSync()];
15072
- __esDecorate(_classThis, null, _static_setVeLivePusher_decorators, { kind: "method", name: "setVeLivePusher", static: true, private: false, access: { has: function (obj) { return "setVeLivePusher" in obj; }, get: function (obj) { return obj.setVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
15073
- __esDecorate(_classThis, null, _static_removeVeLivePusher_decorators, { kind: "method", name: "removeVeLivePusher", static: true, private: false, access: { has: function (obj) { return "removeVeLivePusher" in obj; }, get: function (obj) { return obj.removeVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
15074
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
15075
- VeLivePushHelper = _classThis = _classDescriptor.value;
15076
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
15077
- })();
15078
- _classThis.pusherMap = (__runInitializers(_classThis, _staticExtraInitializers), new WeakMap());
15079
- (function () {
15080
- __runInitializers(_classThis, _classExtraInitializers);
15081
- })();
15082
- return VeLivePushHelper = _classThis;
15083
- }();
15084
-
15085
- var VeLivePushHelper = function () {
15086
- var _classDecorators = [NativeClass('VeLivePushHelper')];
15087
- var _classDescriptor;
15088
- var _classExtraInitializers = [];
15089
- var _classThis;
15090
- var _staticExtraInitializers = [];
15091
- var _static_setVeLivePusher_decorators;
15092
- var _static_removeVeLivePusher_decorators;
15093
- var VeLivePushHelper = _classThis = /** @class */ (function () {
15094
- function VeLivePushHelper_1() {
15095
- }
15096
- VeLivePushHelper_1.setPusher = function (viewId, pusher) {
15097
- VeLivePushHelper.pusherMap.set(pusher, viewId);
15098
- this.setVeLivePusher(pusher, viewId);
15099
- };
15100
- VeLivePushHelper_1.removePusher = function (pusher) {
15101
- var viewId = VeLivePushHelper.pusherMap.get(pusher);
15102
- if (viewId) {
15103
- VeLivePushHelper.pusherMap.delete(pusher);
15104
- this.removeVeLivePusher(viewId);
15105
- }
15106
- };
15107
- VeLivePushHelper_1.setVeLivePusher = function (pusher, viewId) {
15108
- throw new Error('');
15109
- };
15110
- VeLivePushHelper_1.removeVeLivePusher = function (viewId) {
15111
- throw new Error('');
15112
- };
15113
- return VeLivePushHelper_1;
15114
- }());
15115
- __setFunctionName(_classThis, "VeLivePushHelper");
15116
- (function () {
15117
- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
15118
- _static_setVeLivePusher_decorators = [NativeStaticMethodSync('setVeLivePusher:forKey:')];
15119
- _static_removeVeLivePusher_decorators = [NativeStaticMethodSync('removeVeLivePusher:')];
15120
- __esDecorate(_classThis, null, _static_setVeLivePusher_decorators, { kind: "method", name: "setVeLivePusher", static: true, private: false, access: { has: function (obj) { return "setVeLivePusher" in obj; }, get: function (obj) { return obj.setVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
15121
- __esDecorate(_classThis, null, _static_removeVeLivePusher_decorators, { kind: "method", name: "removeVeLivePusher", static: true, private: false, access: { has: function (obj) { return "removeVeLivePusher" in obj; }, get: function (obj) { return obj.removeVeLivePusher; } }, metadata: _metadata }, null, _staticExtraInitializers);
15122
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
15123
- VeLivePushHelper = _classThis = _classDescriptor.value;
15124
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
15125
- })();
15126
- _classThis.pusherMap = (__runInitializers(_classThis, _staticExtraInitializers), new WeakMap());
15127
- (function () {
15128
- __runInitializers(_classThis, _classExtraInitializers);
15129
- })();
15130
- return VeLivePushHelper = _classThis;
15131
- }();
15132
-
15133
15203
  /** {zh}
15134
15204
  * @detail keytype
15135
15205
  * @brief 推流本地文件录制配置。
@@ -25734,33 +25804,185 @@ var VeLiveAudioDevice = function () {
25734
25804
  return _classThis;
25735
25805
  }();
25736
25806
 
25737
- var VeLiveMixerManager$2 = function () {
25738
- var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.mixer.MixerManager')];
25739
- var _classDescriptor;
25740
- var _classExtraInitializers = [];
25741
- var _classThis;
25742
- var _instanceExtraInitializers = [];
25743
- var _setPusher_decorators;
25744
- var _addView_decorators;
25745
- var _updateView_decorators;
25746
- var _removeView_decorators;
25747
- _classThis = /** @class */ (function () {
25748
- function VeLiveMixerManager_1() {
25749
- __runInitializers(this, _instanceExtraInitializers);
25750
- }
25751
- VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
25752
- throw new Error('');
25753
- };
25754
- VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
25755
- throw new Error('');
25756
- };
25757
- VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
25758
- throw new Error('');
25759
- };
25760
- VeLiveMixerManager_1.prototype.removeView = function (viewId) {
25761
- throw new Error('');
25762
- };
25763
- return VeLiveMixerManager_1;
25807
+ /** {zh}
25808
+ * @detail errorcode
25809
+ * @brief 推流过程错误码定义。
25810
+ *
25811
+ */
25812
+ var VeLivePusherErrorCode;
25813
+ (function (VeLivePusherErrorCode) {
25814
+ /** {zh}
25815
+ * @brief 无错误。
25816
+ *
25817
+ */
25818
+ /** {en}
25819
+ * @brief No error.
25820
+ *
25821
+ */
25822
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherSuccess"] = 0] = "VeLivePusherSuccess";
25823
+ /** {zh}
25824
+ * @brief License 错误,可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。
25825
+ *
25826
+ */
25827
+ /** {en}
25828
+ * @brief SDK license error, possibly caused by an invalid or expired certificate.
25829
+ *
25830
+ */
25831
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherInvalidLicense"] = -1] = "VeLivePusherInvalidLicense";
25832
+ /** {zh}
25833
+ * @brief 参数错误,请检查入参,并重新调用。
25834
+ *
25835
+ */
25836
+ /** {en}
25837
+ * @brief Parameter error, possibly caused by an invalid parameter value or parameter type.
25838
+ *
25839
+ */
25840
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherInvalidParameter"] = -2] = "VeLivePusherInvalidParameter";
25841
+ /** {zh}
25842
+ * @brief 视频采集错误,可能未开启设备视频采集权限,请检查权限是否获取。
25843
+ *
25844
+ */
25845
+ /** {en}
25846
+ * @brief Video capture error, possibly caused by the lack of access to the video device.
25847
+ *
25848
+ */
25849
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoCaptureError"] = -3] = "VeLivePusherVideoCaptureError";
25850
+ /** {zh}
25851
+ * @brief 音频采集错误,可能未开启设备麦克风采集权限,请检查权限是否获取。
25852
+ *
25853
+ */
25854
+ /** {en}
25855
+ * @brief Audio capture error, possibly caused by the lack of access to the audio device.
25856
+ *
25857
+ */
25858
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioCaptureError"] = -4] = "VeLivePusherAudioCaptureError";
25859
+ /** {zh}
25860
+ * @brief 视频编码错误,可能配置了当前设备不支持的视频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25861
+ *
25862
+ */
25863
+ /** {en}
25864
+ * @brief Video encoding error, possibly caused by a configuration issue with the video encoder. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25865
+ *
25866
+ */
25867
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoEncoderError"] = -5] = "VeLivePusherVideoEncoderError";
25868
+ /** {zh}
25869
+ * @brief 音频编码错误,可能配置了当前设备不支持的音频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25870
+ *
25871
+ */
25872
+ /** {en}
25873
+ * @brief Audio encoding error, possibly caused by a configuration issue with the audio encoder. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25874
+ *
25875
+ */
25876
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioEncoderError"] = -6] = "VeLivePusherAudioEncoderError";
25877
+ /** {zh}
25878
+ * @brief 网络发送错误,可能当前网络链路不通,或者开启了代理和关闭了网络权限,请检查网络后重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25879
+ *
25880
+ */
25881
+ /** {en}
25882
+ * @brief Network error, which might be caused by network connection issues such as network instability or high latency. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25883
+ *
25884
+ */
25885
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherTransportError"] = -7] = "VeLivePusherTransportError";
25886
+ /** {zh}
25887
+ * @brief 视频特效错误,请检查视频特效 SDK 是否已经集成并且初试化成功。检查特效资源路径是否配置正确。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25888
+ *
25889
+ */
25890
+ /** {en}
25891
+ * @brief Special effects error. Please check if the Effects SDK has been integrated and initialized, and if the path of the effects resources is correctly set. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25892
+ *
25893
+ */
25894
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoEffectError"] = -8] = "VeLivePusherVideoEffectError";
25895
+ /** {zh}
25896
+ * @brief 音频模块错误,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25897
+ *
25898
+ */
25899
+ /** {en}
25900
+ * @brief Audio device error. Please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25901
+ *
25902
+ */
25903
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioDeviceError"] = -9] = "VeLivePusherAudioDeviceError";
25904
+ /** {zh}
25905
+ * @platform android
25906
+ * @brief 您使用的基础版 License 暂不支持 H.265 硬件编码,请登录火山引擎控制台获取高级版 License。
25907
+ *
25908
+ */
25909
+ /** {en}
25910
+ * @platform android
25911
+ * @brief The license does not support H265.
25912
+ *
25913
+ */
25914
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherLicenseUnsupportedH265"] = -10] = "VeLivePusherLicenseUnsupportedH265";
25915
+ /** {zh}
25916
+ * @brief 其他错误类型,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25917
+ *
25918
+ */
25919
+ /** {en}
25920
+ * @brief Internal error. Please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
25921
+ *
25922
+ */
25923
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherError"] = -100] = "VeLivePusherError";
25924
+ /** {zh}
25925
+ * @platform android
25926
+ * @brief 当前系统版本不支持屏幕采集功能
25927
+ *
25928
+ */
25929
+ /** {en}
25930
+ * @platform android
25931
+ * @brief
25932
+ *
25933
+ */
25934
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureNotSupportError"] = -99] = "VeLivePusherScreenCaptureNotSupportError";
25935
+ /** {zh}
25936
+ * @platform android
25937
+ * @brief 屏幕采集权限的获取被用户拒绝
25938
+ *
25939
+ */
25940
+ /** {en}
25941
+ * @platform android
25942
+ * @brief
25943
+ *
25944
+ */
25945
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureStartError"] = -98] = "VeLivePusherScreenCaptureStartError";
25946
+ /** {zh}
25947
+ * @platform android
25948
+ * @brief 屏幕采集被系统中断,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
25949
+ *
25950
+ */
25951
+ /** {en}
25952
+ * @platform android
25953
+ * @brief
25954
+ *
25955
+ */
25956
+ VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureInterruptedError"] = -97] = "VeLivePusherScreenCaptureInterruptedError";
25957
+ })(VeLivePusherErrorCode || (VeLivePusherErrorCode = {}));
25958
+
25959
+ var VeLiveMixerManager$2 = function () {
25960
+ var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.mixer.MixerManager')];
25961
+ var _classDescriptor;
25962
+ var _classExtraInitializers = [];
25963
+ var _classThis;
25964
+ var _instanceExtraInitializers = [];
25965
+ var _setPusher_decorators;
25966
+ var _addView_decorators;
25967
+ var _updateView_decorators;
25968
+ var _removeView_decorators;
25969
+ _classThis = /** @class */ (function () {
25970
+ function VeLiveMixerManager_1() {
25971
+ __runInitializers(this, _instanceExtraInitializers);
25972
+ }
25973
+ VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
25974
+ throw new Error('');
25975
+ };
25976
+ VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
25977
+ throw new Error('');
25978
+ };
25979
+ VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
25980
+ throw new Error('');
25981
+ };
25982
+ VeLiveMixerManager_1.prototype.removeView = function (viewId) {
25983
+ throw new Error('');
25984
+ };
25985
+ return VeLiveMixerManager_1;
25764
25986
  }());
25765
25987
  __setFunctionName(_classThis, "VeLiveMixerManager");
25766
25988
  (function () {
@@ -25962,6 +26184,7 @@ function runImpl(context, androidImpl, iosImpl) {
25962
26184
  throw new Error("not support: ".concat(env.getOS()));
25963
26185
  }
25964
26186
  }
26187
+
25965
26188
  extendsClassMethod(VeLivePusher, 'getMixerManager', function (origin) {
25966
26189
  return function getMixerManager() {
25967
26190
  if (Reflect.get(this, '__mixerManager')) {
@@ -26055,158 +26278,6 @@ extendsClassMethod(VeLivePusher, 'destroy', function (superFn) {
26055
26278
  };
26056
26279
  });
26057
26280
 
26058
- /** {zh}
26059
- * @detail errorcode
26060
- * @brief 推流过程错误码定义。
26061
- *
26062
- */
26063
- var VeLivePusherErrorCode;
26064
- (function (VeLivePusherErrorCode) {
26065
- /** {zh}
26066
- * @brief 无错误。
26067
- *
26068
- */
26069
- /** {en}
26070
- * @brief No error.
26071
- *
26072
- */
26073
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherSuccess"] = 0] = "VeLivePusherSuccess";
26074
- /** {zh}
26075
- * @brief License 错误,可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。
26076
- *
26077
- */
26078
- /** {en}
26079
- * @brief SDK license error, possibly caused by an invalid or expired certificate.
26080
- *
26081
- */
26082
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherInvalidLicense"] = -1] = "VeLivePusherInvalidLicense";
26083
- /** {zh}
26084
- * @brief 参数错误,请检查入参,并重新调用。
26085
- *
26086
- */
26087
- /** {en}
26088
- * @brief Parameter error, possibly caused by an invalid parameter value or parameter type.
26089
- *
26090
- */
26091
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherInvalidParameter"] = -2] = "VeLivePusherInvalidParameter";
26092
- /** {zh}
26093
- * @brief 视频采集错误,可能未开启设备视频采集权限,请检查权限是否获取。
26094
- *
26095
- */
26096
- /** {en}
26097
- * @brief Video capture error, possibly caused by the lack of access to the video device.
26098
- *
26099
- */
26100
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoCaptureError"] = -3] = "VeLivePusherVideoCaptureError";
26101
- /** {zh}
26102
- * @brief 音频采集错误,可能未开启设备麦克风采集权限,请检查权限是否获取。
26103
- *
26104
- */
26105
- /** {en}
26106
- * @brief Audio capture error, possibly caused by the lack of access to the audio device.
26107
- *
26108
- */
26109
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioCaptureError"] = -4] = "VeLivePusherAudioCaptureError";
26110
- /** {zh}
26111
- * @brief 视频编码错误,可能配置了当前设备不支持的视频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26112
- *
26113
- */
26114
- /** {en}
26115
- * @brief Video encoding error, possibly caused by a configuration issue with the video encoder. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26116
- *
26117
- */
26118
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoEncoderError"] = -5] = "VeLivePusherVideoEncoderError";
26119
- /** {zh}
26120
- * @brief 音频编码错误,可能配置了当前设备不支持的音频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26121
- *
26122
- */
26123
- /** {en}
26124
- * @brief Audio encoding error, possibly caused by a configuration issue with the audio encoder. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26125
- *
26126
- */
26127
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioEncoderError"] = -6] = "VeLivePusherAudioEncoderError";
26128
- /** {zh}
26129
- * @brief 网络发送错误,可能当前网络链路不通,或者开启了代理和关闭了网络权限,请检查网络后重新调用。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26130
- *
26131
- */
26132
- /** {en}
26133
- * @brief Network error, which might be caused by network connection issues such as network instability or high latency. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26134
- *
26135
- */
26136
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherTransportError"] = -7] = "VeLivePusherTransportError";
26137
- /** {zh}
26138
- * @brief 视频特效错误,请检查视频特效 SDK 是否已经集成并且初试化成功。检查特效资源路径是否配置正确。如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26139
- *
26140
- */
26141
- /** {en}
26142
- * @brief Special effects error. Please check if the Effects SDK has been integrated and initialized, and if the path of the effects resources is correctly set. If the error is not eliminated, please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26143
- *
26144
- */
26145
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherVideoEffectError"] = -8] = "VeLivePusherVideoEffectError";
26146
- /** {zh}
26147
- * @brief 音频模块错误,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26148
- *
26149
- */
26150
- /** {en}
26151
- * @brief Audio device error. Please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26152
- *
26153
- */
26154
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherAudioDeviceError"] = -9] = "VeLivePusherAudioDeviceError";
26155
- /** {zh}
26156
- * @platform android
26157
- * @brief 您使用的基础版 License 暂不支持 H.265 硬件编码,请登录火山引擎控制台获取高级版 License。
26158
- *
26159
- */
26160
- /** {en}
26161
- * @platform android
26162
- * @brief The license does not support H265.
26163
- *
26164
- */
26165
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherLicenseUnsupportedH265"] = -10] = "VeLivePusherLicenseUnsupportedH265";
26166
- /** {zh}
26167
- * @brief 其他错误类型,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26168
- *
26169
- */
26170
- /** {en}
26171
- * @brief Internal error. Please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance when using this callback method.
26172
- *
26173
- */
26174
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherError"] = -100] = "VeLivePusherError";
26175
- /** {zh}
26176
- * @platform android
26177
- * @brief 当前系统版本不支持屏幕采集功能
26178
- *
26179
- */
26180
- /** {en}
26181
- * @platform android
26182
- * @brief
26183
- *
26184
- */
26185
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureNotSupportError"] = -99] = "VeLivePusherScreenCaptureNotSupportError";
26186
- /** {zh}
26187
- * @platform android
26188
- * @brief 屏幕采集权限的获取被用户拒绝
26189
- *
26190
- */
26191
- /** {en}
26192
- * @platform android
26193
- * @brief
26194
- *
26195
- */
26196
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureStartError"] = -98] = "VeLivePusherScreenCaptureStartError";
26197
- /** {zh}
26198
- * @platform android
26199
- * @brief 屏幕采集被系统中断,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
26200
- *
26201
- */
26202
- /** {en}
26203
- * @platform android
26204
- * @brief
26205
- *
26206
- */
26207
- VeLivePusherErrorCode[VeLivePusherErrorCode["VeLivePusherScreenCaptureInterruptedError"] = -97] = "VeLivePusherScreenCaptureInterruptedError";
26208
- })(VeLivePusherErrorCode || (VeLivePusherErrorCode = {}));
26209
-
26210
26281
  var AndroidSurfaceView = function () {
26211
26282
  var _a;
26212
26283
  var _classSuper = NativeView;
@@ -26949,6 +27020,142 @@ function relaunchPusher(options) {
26949
27020
  });
26950
27021
  }
26951
27022
 
27023
+ /**
27024
+ * @detail api
27025
+ * @brief 设置美颜SDK资源,需要在app初识化时设置
27026
+ */
27027
+ function initVideoEffectResource() {
27028
+ return __awaiter(this, void 0, void 0, function () {
27029
+ return __generator(this, function (_a) {
27030
+ switch (env.getOS()) {
27031
+ case 'android':
27032
+ return [2 /*return*/, VeLiveEffectHelper.initVideoEffectResource()];
27033
+ case 'ios':
27034
+ return [2 /*return*/, Promise.resolve()];
27035
+ default:
27036
+ throw new Error('Unsupported platform');
27037
+ }
27038
+ });
27039
+ });
27040
+ }
27041
+ extendsClassMethod(VeLivePusher, 'setupEffectManager', function () {
27042
+ return function setupEffectManager(licenseFileName) {
27043
+ return __awaiter(this, void 0, void 0, function () {
27044
+ var a, i;
27045
+ var _this = this;
27046
+ return __generator(this, function (_a) {
27047
+ a = function () {
27048
+ var ins = _this._instance;
27049
+ var effectManager = ins.getVideoEffectManager();
27050
+ var licPath = VeLiveEffectHelper.getLicensePath(licenseFileName);
27051
+ var algoModePath = VeLiveEffectHelper.getModelPath();
27052
+ var licConfig = VeLiveVideoEffectLicenseConfiguration$2.create(licPath);
27053
+ effectManager.setupWithConfig(licConfig);
27054
+ effectManager.setAlgorithmModelPath(algoModePath);
27055
+ return packObject(effectManager, VeLiveVideoEffectManager);
27056
+ };
27057
+ i = function () { return __awaiter(_this, void 0, void 0, function () {
27058
+ var ins, effectManager, licenseConfiguration, licensePath, modelPath;
27059
+ return __generator(this, function (_a) {
27060
+ ins = this._instance;
27061
+ effectManager = ins.getVideoEffectManager();
27062
+ licenseConfiguration = new VeLiveVideoEffectLicenseConfiguration$1();
27063
+ licensePath = VeLivePushHelper.getResourcePath("LicenseBag.bundle/".concat(licenseFileName));
27064
+ modelPath = VeLivePushHelper.getResourcePath('ModelResource.bundle');
27065
+ licenseConfiguration.initWithPath(licensePath);
27066
+ effectManager.setupWithConfig(licenseConfiguration);
27067
+ effectManager.setAlgoModelPath(modelPath);
27068
+ return [2 /*return*/, packObject(effectManager, VeLiveVideoEffectManager)];
27069
+ });
27070
+ }); };
27071
+ if (Platform.OS === 'android') {
27072
+ return [2 /*return*/, a()];
27073
+ }
27074
+ else if (Platform.OS === 'ios') {
27075
+ return [2 /*return*/, i()];
27076
+ }
27077
+ else {
27078
+ throw new Error('Not Support Platform ' + Platform.OS);
27079
+ }
27080
+ });
27081
+ });
27082
+ };
27083
+ });
27084
+ extendsClassMethod(VeLiveVideoEffectManager, 'setComposeNodes', function (origin) {
27085
+ return function setComposeNodes(nodes) {
27086
+ return runImpl(this, function (engine) {
27087
+ var composePaths = nodes.map(function (path) {
27088
+ return VeLiveEffectHelper.getBeautyPathByName(path);
27089
+ });
27090
+ origin(composePaths);
27091
+ }, function (engine) {
27092
+ var composePaths = nodes.map(function (path) {
27093
+ return VeLivePushHelper.getResourcePath("ComposeMakeup.bundle/ComposeMakeup/".concat(path));
27094
+ });
27095
+ origin(composePaths);
27096
+ });
27097
+ };
27098
+ });
27099
+ extendsClassMethod(VeLiveVideoEffectManager, 'appendComposeNodes', function (origin) {
27100
+ return function appendComposeNodes(nodes) {
27101
+ return runImpl(this, function (engine) {
27102
+ var composePaths = nodes.map(function (path) {
27103
+ return VeLiveEffectHelper.getBeautyPathByName(path);
27104
+ });
27105
+ origin(composePaths);
27106
+ }, function (engine) {
27107
+ var composePaths = nodes.map(function (path) {
27108
+ return VeLivePushHelper.getResourcePath("ComposeMakeup.bundle/ComposeMakeup/".concat(path));
27109
+ });
27110
+ origin(composePaths);
27111
+ });
27112
+ };
27113
+ });
27114
+ extendsClassMethod(VeLiveVideoEffectManager, 'removeComposeNodes', function (origin) {
27115
+ return function removeComposeNodes(resourcePaths) {
27116
+ return runImpl(this, function (engine) {
27117
+ var composePaths = resourcePaths.map(function (path) {
27118
+ return VeLiveEffectHelper.getBeautyPathByName(path);
27119
+ });
27120
+ origin(composePaths);
27121
+ }, function (engine) {
27122
+ var composePaths = resourcePaths.map(function (path) {
27123
+ return VeLivePushHelper.getResourcePath("ComposeMakeup.bundle/ComposeMakeup/".concat(path));
27124
+ });
27125
+ origin(composePaths);
27126
+ });
27127
+ };
27128
+ });
27129
+ extendsClassMethod(VeLiveVideoEffectManager, 'updateComposerNodeIntensity', function (origin) {
27130
+ return function updateComposerNodeIntensity(path, key, intensity) {
27131
+ return runImpl(this, function (engine) {
27132
+ var fullPath = VeLiveEffectHelper.getBeautyPathByName(path);
27133
+ origin(fullPath, key, intensity);
27134
+ }, function (engine) {
27135
+ var fullPath = VeLivePushHelper.getResourcePath("ComposeMakeup.bundle/ComposeMakeup/".concat(path));
27136
+ origin(fullPath, key, intensity);
27137
+ });
27138
+ };
27139
+ });
27140
+ extendsClassMethod(VeLiveVideoEffectManager, 'setFilter', function (origin) {
27141
+ return function setFilter(path) {
27142
+ return runImpl(this, function (engine) {
27143
+ origin(VeLiveEffectHelper.getFilterPathByName(path));
27144
+ }, function (engine) {
27145
+ origin(VeLivePushHelper.getResourcePath("FilterResource.bundle/Filter/".concat(path)));
27146
+ });
27147
+ };
27148
+ });
27149
+ extendsClassMethod(VeLiveVideoEffectManager, 'setSticker', function (origin) {
27150
+ return function setSticker(path) {
27151
+ return runImpl(this, function (engine) {
27152
+ origin(VeLiveEffectHelper.getStickerPathByName(path));
27153
+ }, function (engine) {
27154
+ origin(VeLivePushHelper.getResourcePath("StickerResource.bundle/stickers/".concat(path)));
27155
+ });
27156
+ };
27157
+ });
27158
+
26952
27159
  var NativeMixView = requireNativeComponent('VeLiveMixView');
26953
27160
  var index = 0;
26954
27161
  var getId = function () {
@@ -27013,4 +27220,4 @@ var VeWebView = React.forwardRef(function (props, ref) {
27013
27220
  setupJSBridge(new ReactNativeBridge(NativeModules.VeLivePushModule, 'VeLivePush:onEvent'));
27014
27221
  setupEnv(new ReactNativeEnv());
27015
27222
 
27016
- export { MixView, NativeMixView, NativeViewComponent, VeImageView, VeLiveAudioBufferType, VeLiveAudioCaptureConfiguration, VeLiveAudioCaptureType, VeLiveAudioChannel, VeLiveAudioDevice, VeLiveAudioEncoderConfiguration, VeLiveAudioFrame, VeLiveAudioFrameSource, VeLiveAudioMixType, VeLiveAudioPowerLevel, VeLiveAudioProfile, VeLiveAudioSampleRate, VeLiveCameraDevice, VeLiveFileRecorderConfiguration, VeLiveFirstFrameType, VeLiveMediaPlayer, VeLiveMixAudioLayout, VeLiveMixVideoLayout, VeLiveNetworkQuality, VeLiveOrientation, VeLivePixelFormat, VeLivePusher, VeLivePusherConfiguration, VeLivePusherErrorCode, VeLivePusherLogLevel, VeLivePusherRenderMode, VeLivePusherStatistics, VeLivePusherStatus, VeLiveStreamMixDescription, VeLiveVideoBufferType, VeLiveVideoCaptureConfiguration, VeLiveVideoCaptureType, VeLiveVideoCodec, VeLiveVideoEffectLicenseConfiguration, VeLiveVideoEffectLicenseType, VeLiveVideoEffectManager, VeLiveVideoEncoderConfiguration, VeLiveVideoFrame, VeLiveVideoFrameSource, VeLiveVideoMirrorType, VeLiveVideoResolution, VeLiveVideoRotation, VeTextView, VeView, VeWebView, android_VeLiveAudioFrameFilter, android_VeLiveAudioFrameListener, android_VeLiveFileRecordingListener, android_VeLiveMediaPlayerFrameListener, android_VeLiveMediaPlayerListener, android_VeLivePusherObserver, android_VeLivePusherStatisticsObserver, android_VeLiveSnapshotListener, android_VeLiveVideoFrameFilter, android_VeLiveVideoFrameListener, initEnv, initPusher, ios_VeLiveAudioFrameFilter, ios_VeLiveAudioFrameListener, ios_VeLiveFileRecordingListener, ios_VeLiveMediaPlayerFrameListener, ios_VeLiveMediaPlayerListener, ios_VeLivePusherObserver, ios_VeLivePusherStatisticsObserver, ios_VeLiveSnapshotListener, ios_VeLiveVideoFrameFilter, ios_VeLiveVideoFrameListener, relaunchPusher };
27223
+ export { MixView, NativeMixView, NativeViewComponent, VeImageView, VeLiveAudioBufferType, VeLiveAudioCaptureConfiguration, VeLiveAudioCaptureType, VeLiveAudioChannel, VeLiveAudioDevice, VeLiveAudioEncoderConfiguration, VeLiveAudioFrame, VeLiveAudioFrameSource, VeLiveAudioMixType, VeLiveAudioPowerLevel, VeLiveAudioProfile, VeLiveAudioSampleRate, VeLiveCameraDevice, VeLiveFileRecorderConfiguration, VeLiveFirstFrameType, VeLiveMediaPlayer, VeLiveMixAudioLayout, VeLiveMixVideoLayout, VeLiveNetworkQuality, VeLiveOrientation, VeLivePixelFormat, VeLivePusher, VeLivePusherConfiguration, VeLivePusherErrorCode, VeLivePusherLogLevel, VeLivePusherRenderMode, VeLivePusherStatistics, VeLivePusherStatus, VeLiveStreamMixDescription, VeLiveVideoBufferType, VeLiveVideoCaptureConfiguration, VeLiveVideoCaptureType, VeLiveVideoCodec, VeLiveVideoEffectLicenseConfiguration, VeLiveVideoEffectLicenseType, VeLiveVideoEffectManager, VeLiveVideoEncoderConfiguration, VeLiveVideoFrame, VeLiveVideoFrameSource, VeLiveVideoMirrorType, VeLiveVideoResolution, VeLiveVideoRotation, VeTextView, VeView, VeWebView, android_VeLiveAudioFrameFilter, android_VeLiveAudioFrameListener, android_VeLiveFileRecordingListener, android_VeLiveMediaPlayerFrameListener, android_VeLiveMediaPlayerListener, android_VeLivePusherObserver, android_VeLivePusherStatisticsObserver, android_VeLiveSnapshotListener, android_VeLiveVideoFrameFilter, android_VeLiveVideoFrameListener, initEnv, initPusher, initVideoEffectResource, ios_VeLiveAudioFrameFilter, ios_VeLiveAudioFrameListener, ios_VeLiveFileRecordingListener, ios_VeLiveMediaPlayerFrameListener, ios_VeLiveMediaPlayerListener, ios_VeLivePusherObserver, ios_VeLivePusherStatisticsObserver, ios_VeLiveSnapshotListener, ios_VeLiveVideoFrameFilter, ios_VeLiveVideoFrameListener, relaunchPusher };