@byteplus/react-native-live-push 1.1.3-rc.4 → 1.1.4-rc.0

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 (123) hide show
  1. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +2 -13
  2. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushPackage.java +13 -16
  3. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +0 -16
  4. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +2 -7
  5. package/lib/commonjs/index.js +1027 -466
  6. package/lib/module/index.js +1029 -463
  7. package/lib/typescript/codegen/android/api.d.ts +121 -1
  8. package/lib/typescript/codegen/ios/api.d.ts +28 -1
  9. package/lib/typescript/codegen/pack/api.d.ts +133 -1
  10. package/lib/typescript/core/api.d.ts +2 -17
  11. package/lib/typescript/core/keytype.d.ts +0 -16
  12. package/lib/typescript/index.d.ts +0 -1
  13. package/package.json +1 -1
  14. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +0 -412
  15. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +0 -423
  16. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerViewManager.java +0 -79
  17. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/TextureMgr.java +0 -168
  18. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/YuvHelper.java +0 -165
  19. package/ios/VeLiveMixerHelper.h +0 -44
  20. package/ios/VeLiveMixerHelper.m +0 -620
  21. package/ios/VeLiveMixerView.h +0 -69
  22. package/ios/VeLiveMixerView.m +0 -600
  23. package/ios/VeLiveMixerViewManager.m +0 -92
  24. package/lib/commonjs/typescript/android/index.d.ts +0 -47
  25. package/lib/commonjs/typescript/codegen/android/api.d.ts +0 -1527
  26. package/lib/commonjs/typescript/codegen/android/callback.d.ts +0 -91
  27. package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +0 -26
  28. package/lib/commonjs/typescript/codegen/android/index.d.ts +0 -5
  29. package/lib/commonjs/typescript/codegen/android/keytype.d.ts +0 -846
  30. package/lib/commonjs/typescript/codegen/android/types.d.ts +0 -33
  31. package/lib/commonjs/typescript/codegen/ios/api.d.ts +0 -222
  32. package/lib/commonjs/typescript/codegen/ios/callback.d.ts +0 -80
  33. package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +0 -54
  34. package/lib/commonjs/typescript/codegen/ios/external.d.ts +0 -1
  35. package/lib/commonjs/typescript/codegen/ios/index.d.ts +0 -6
  36. package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +0 -460
  37. package/lib/commonjs/typescript/codegen/ios/types.d.ts +0 -46
  38. package/lib/commonjs/typescript/codegen/pack/api.d.ts +0 -1835
  39. package/lib/commonjs/typescript/codegen/pack/callback.d.ts +0 -400
  40. package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +0 -35
  41. package/lib/commonjs/typescript/codegen/pack/index.d.ts +0 -5
  42. package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +0 -1392
  43. package/lib/commonjs/typescript/codegen/pack/types.d.ts +0 -68
  44. package/lib/commonjs/typescript/codegen/type-shim.d.ts +0 -6
  45. package/lib/commonjs/typescript/component.d.ts +0 -15
  46. package/lib/commonjs/typescript/core/api.d.ts +0 -17
  47. package/lib/commonjs/typescript/core/callback.d.ts +0 -2
  48. package/lib/commonjs/typescript/core/env.d.ts +0 -29
  49. package/lib/commonjs/typescript/core/errorcode.d.ts +0 -2
  50. package/lib/commonjs/typescript/core/index.d.ts +0 -6
  51. package/lib/commonjs/typescript/core/keytype.d.ts +0 -18
  52. package/lib/commonjs/typescript/core/mixer.d.ts +0 -26
  53. package/lib/commonjs/typescript/core/pusher.d.ts +0 -16
  54. package/lib/commonjs/typescript/index.d.ts +0 -3
  55. package/lib/commonjs/typescript/ios/extends.d.ts +0 -41
  56. package/lib/commonjs/typescript/platforms/android/extends.d.ts +0 -8
  57. package/lib/commonjs/typescript/platforms/android/helper.d.ts +0 -8
  58. package/lib/commonjs/typescript/platforms/android/mixer.d.ts +0 -8
  59. package/lib/commonjs/typescript/platforms/ios/extends.d.ts +0 -17
  60. package/lib/commonjs/typescript/platforms/ios/helper.d.ts +0 -8
  61. package/lib/commonjs/typescript/platforms/ios/mixer.d.ts +0 -9
  62. package/lib/commonjs/typescript/runtime.d.ts +0 -1
  63. package/lib/commonjs/typescript/view/MixView.d.ts +0 -52
  64. package/lib/commonjs/typescript/view/VeImageView.d.ts +0 -19
  65. package/lib/commonjs/typescript/view/VeTextView.d.ts +0 -7
  66. package/lib/commonjs/typescript/view/VeView.d.ts +0 -7
  67. package/lib/commonjs/typescript/view/VeWebView.d.ts +0 -7
  68. package/lib/commonjs/typescript/view/index.d.ts +0 -5
  69. package/lib/module/typescript/android/index.d.ts +0 -47
  70. package/lib/module/typescript/codegen/android/api.d.ts +0 -1527
  71. package/lib/module/typescript/codegen/android/callback.d.ts +0 -91
  72. package/lib/module/typescript/codegen/android/errorcode.d.ts +0 -26
  73. package/lib/module/typescript/codegen/android/index.d.ts +0 -5
  74. package/lib/module/typescript/codegen/android/keytype.d.ts +0 -846
  75. package/lib/module/typescript/codegen/android/types.d.ts +0 -33
  76. package/lib/module/typescript/codegen/ios/api.d.ts +0 -222
  77. package/lib/module/typescript/codegen/ios/callback.d.ts +0 -80
  78. package/lib/module/typescript/codegen/ios/errorcode.d.ts +0 -54
  79. package/lib/module/typescript/codegen/ios/external.d.ts +0 -1
  80. package/lib/module/typescript/codegen/ios/index.d.ts +0 -6
  81. package/lib/module/typescript/codegen/ios/keytype.d.ts +0 -460
  82. package/lib/module/typescript/codegen/ios/types.d.ts +0 -46
  83. package/lib/module/typescript/codegen/pack/api.d.ts +0 -1835
  84. package/lib/module/typescript/codegen/pack/callback.d.ts +0 -400
  85. package/lib/module/typescript/codegen/pack/errorcode.d.ts +0 -35
  86. package/lib/module/typescript/codegen/pack/index.d.ts +0 -5
  87. package/lib/module/typescript/codegen/pack/keytype.d.ts +0 -1392
  88. package/lib/module/typescript/codegen/pack/types.d.ts +0 -68
  89. package/lib/module/typescript/codegen/type-shim.d.ts +0 -6
  90. package/lib/module/typescript/component.d.ts +0 -15
  91. package/lib/module/typescript/core/api.d.ts +0 -17
  92. package/lib/module/typescript/core/callback.d.ts +0 -2
  93. package/lib/module/typescript/core/env.d.ts +0 -29
  94. package/lib/module/typescript/core/errorcode.d.ts +0 -2
  95. package/lib/module/typescript/core/index.d.ts +0 -6
  96. package/lib/module/typescript/core/keytype.d.ts +0 -18
  97. package/lib/module/typescript/core/mixer.d.ts +0 -26
  98. package/lib/module/typescript/core/pusher.d.ts +0 -16
  99. package/lib/module/typescript/index.d.ts +0 -3
  100. package/lib/module/typescript/ios/extends.d.ts +0 -41
  101. package/lib/module/typescript/platforms/android/extends.d.ts +0 -8
  102. package/lib/module/typescript/platforms/android/helper.d.ts +0 -8
  103. package/lib/module/typescript/platforms/android/mixer.d.ts +0 -8
  104. package/lib/module/typescript/platforms/ios/extends.d.ts +0 -17
  105. package/lib/module/typescript/platforms/ios/helper.d.ts +0 -8
  106. package/lib/module/typescript/platforms/ios/mixer.d.ts +0 -9
  107. package/lib/module/typescript/runtime.d.ts +0 -1
  108. package/lib/module/typescript/view/MixView.d.ts +0 -52
  109. package/lib/module/typescript/view/VeImageView.d.ts +0 -19
  110. package/lib/module/typescript/view/VeTextView.d.ts +0 -7
  111. package/lib/module/typescript/view/VeView.d.ts +0 -7
  112. package/lib/module/typescript/view/VeWebView.d.ts +0 -7
  113. package/lib/module/typescript/view/index.d.ts +0 -5
  114. package/lib/typescript/core/mixer.d.ts +0 -26
  115. package/lib/typescript/platforms/android/extends.d.ts +0 -8
  116. package/lib/typescript/platforms/android/mixer.d.ts +0 -8
  117. package/lib/typescript/platforms/ios/mixer.d.ts +0 -9
  118. package/lib/typescript/view/MixView.d.ts +0 -52
  119. package/lib/typescript/view/VeImageView.d.ts +0 -19
  120. package/lib/typescript/view/VeTextView.d.ts +0 -7
  121. package/lib/typescript/view/VeView.d.ts +0 -7
  122. package/lib/typescript/view/VeWebView.d.ts +0 -7
  123. package/lib/typescript/view/index.d.ts +0 -5
@@ -2,7 +2,6 @@
2
2
 
3
3
  var reactNative = require('react-native');
4
4
  var React = require('react');
5
- var jsxRuntime = require('react/jsx-runtime');
6
5
 
7
6
  /**
8
7
  * base64.ts
@@ -2211,17 +2210,6 @@ function __extends(d, b) {
2211
2210
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2212
2211
  }
2213
2212
 
2214
- var __assign = function() {
2215
- __assign = Object.assign || function __assign(t) {
2216
- for (var s, i = 1, n = arguments.length; i < n; i++) {
2217
- s = arguments[i];
2218
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2219
- }
2220
- return t;
2221
- };
2222
- return __assign.apply(this, arguments);
2223
- };
2224
-
2225
2213
  function __rest(s, e) {
2226
2214
  var t = {};
2227
2215
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -5978,6 +5966,7 @@ var VeLivePusher$2 = function () {
5978
5966
  var _getAudioDevice_decorators;
5979
5967
  var _setAudioFrameFilter_decorators;
5980
5968
  var _createPlayer_decorators;
5969
+ var _getMixerManager_decorators;
5981
5970
  var _startScreenRecording_decorators;
5982
5971
  var _stopScreenRecording_decorators;
5983
5972
  var _isScreenRecording_decorators;
@@ -6883,6 +6872,25 @@ var VeLivePusher$2 = function () {
6883
6872
  VeLivePusher_1.prototype.createPlayer = function () {
6884
6873
  throw new Error('not implement');
6885
6874
  };
6875
+ /** {zh}
6876
+ * @detail api
6877
+ * @brief 获取混流管理对象。
6878
+ * @return <br>
6879
+ * 混流管理对象 VeLiveMixerManager{@link #VeLiveMixerManager}。
6880
+ * @order 51
6881
+ *
6882
+ */
6883
+ /** {en}
6884
+ * @detail api
6885
+ * @brief Gets the audio and video mixer.
6886
+ * @return <br>
6887
+ * The audio and video mixer. See VeLiveMixerManager {@link #VeLiveMixerManager} for details.
6888
+ * @order 51
6889
+ *
6890
+ */
6891
+ VeLivePusher_1.prototype.getMixerManager = function () {
6892
+ throw new Error('not implement');
6893
+ };
6886
6894
  /** {zh}
6887
6895
  * @detail api
6888
6896
  * @brief 开始屏幕采集。
@@ -7098,6 +7106,7 @@ var VeLivePusher$2 = function () {
7098
7106
  _getAudioDevice_decorators = [ReturnClass(function () { return VeLiveAudioDevice$2; }), NativeMethodSync()];
7099
7107
  _setAudioFrameFilter_decorators = [NativeMethodSync()];
7100
7108
  _createPlayer_decorators = [ReturnClass(function () { return VeLiveMediaPlayer$2; }), NativeMethodSync()];
7109
+ _getMixerManager_decorators = [ReturnClass(function () { return VeLiveMixerManager$2; }), NativeMethodSync()];
7101
7110
  _startScreenRecording_decorators = [NativeMethodSync()];
7102
7111
  _stopScreenRecording_decorators = [NativeMethodSync()];
7103
7112
  _isScreenRecording_decorators = [NativeMethodSync()];
@@ -7149,6 +7158,7 @@ var VeLivePusher$2 = function () {
7149
7158
  __esDecorate(_classThis, null, _getAudioDevice_decorators, { kind: "method", name: "getAudioDevice", static: false, private: false, access: { has: function (obj) { return "getAudioDevice" in obj; }, get: function (obj) { return obj.getAudioDevice; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7150
7159
  __esDecorate(_classThis, null, _setAudioFrameFilter_decorators, { kind: "method", name: "setAudioFrameFilter", static: false, private: false, access: { has: function (obj) { return "setAudioFrameFilter" in obj; }, get: function (obj) { return obj.setAudioFrameFilter; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7151
7160
  __esDecorate(_classThis, null, _createPlayer_decorators, { kind: "method", name: "createPlayer", static: false, private: false, access: { has: function (obj) { return "createPlayer" in obj; }, get: function (obj) { return obj.createPlayer; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7161
+ __esDecorate(_classThis, null, _getMixerManager_decorators, { kind: "method", name: "getMixerManager", static: false, private: false, access: { has: function (obj) { return "getMixerManager" in obj; }, get: function (obj) { return obj.getMixerManager; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7152
7162
  __esDecorate(_classThis, null, _startScreenRecording_decorators, { kind: "method", name: "startScreenRecording", static: false, private: false, access: { has: function (obj) { return "startScreenRecording" in obj; }, get: function (obj) { return obj.startScreenRecording; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7153
7163
  __esDecorate(_classThis, null, _stopScreenRecording_decorators, { kind: "method", name: "stopScreenRecording", static: false, private: false, access: { has: function (obj) { return "stopScreenRecording" in obj; }, get: function (obj) { return obj.stopScreenRecording; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7154
7164
  __esDecorate(_classThis, null, _isScreenRecording_decorators, { kind: "method", name: "isScreenRecording", static: false, private: false, access: { has: function (obj) { return "isScreenRecording" in obj; }, get: function (obj) { return obj.isScreenRecording; } }, metadata: _metadata }, null, _instanceExtraInitializers);
@@ -7165,6 +7175,269 @@ var VeLivePusher$2 = function () {
7165
7175
  })();
7166
7176
  return _classThis;
7167
7177
  }();
7178
+ var VeLiveMixerManager$2 = function () {
7179
+ var _classDecorators = [NativeClass('com.ss.avframework.live.VeLiveMixerManager')];
7180
+ var _classDescriptor;
7181
+ var _classExtraInitializers = [];
7182
+ var _classThis;
7183
+ var _instanceExtraInitializers = [];
7184
+ var _addVideoStream_decorators;
7185
+ var _addAudioStream_decorators;
7186
+ var _addAudioStream_type_decorators;
7187
+ var _getOriginVideoStream_decorators;
7188
+ var _getOriginAudioStream_decorators;
7189
+ var _getOriginScreenStream_decorators;
7190
+ var _getOriginSystemAudioStream_decorators;
7191
+ var _sendCustomVideoFrame_decorators;
7192
+ var _sendCustomAudioFrame_decorators;
7193
+ var _updateStreamMixDescription_decorators;
7194
+ var _removeVideoStream_decorators;
7195
+ var _removeAudioStream_decorators;
7196
+ _classThis = /** @class */ (function () {
7197
+ function VeLiveMixerManager_1() {
7198
+ __runInitializers(this, _instanceExtraInitializers);
7199
+ }
7200
+ /** {zh}
7201
+ * @detail api
7202
+ * @brief 添加一路需要混流的视频流到混流器中。
7203
+ * @return <br>
7204
+ * 视频流 ID。
7205
+ * @order 79
7206
+ *
7207
+ */
7208
+ /** {en}
7209
+ * @detail api
7210
+ * @brief Adds a video stream to the mixer.
7211
+ * @return <br>
7212
+ * The video stream ID.
7213
+ * @order 79
7214
+ *
7215
+ */
7216
+ VeLiveMixerManager_1.prototype.addVideoStream = function () {
7217
+ throw new Error('not implement');
7218
+ };
7219
+ /** {zh}
7220
+ * @detail api
7221
+ * @brief 添加一路音频流到混流器中。
7222
+ * @return <br>
7223
+ * 音频流 ID。
7224
+ * @order 80
7225
+ *
7226
+ */
7227
+ /** {en}
7228
+ * @detail api
7229
+ * @brief Adds an audio stream to the mixer.
7230
+ * @return <br>
7231
+ * The audio stream ID.
7232
+ * @order 80
7233
+ *
7234
+ */
7235
+ VeLiveMixerManager_1.prototype.addAudioStream = function () {
7236
+ throw new Error('not implement');
7237
+ };
7238
+ /** {zh}
7239
+ * @detail api
7240
+ * @brief 添加一路音频流到混流器中,并指定混流类型。
7241
+ * @return <br>
7242
+ * 音频流 ID。
7243
+ * @order 81
7244
+ * @param type 混流类型,详情请参见 [VeLiveAudioMixType](147521#VeLiveAudioMixType) 。
7245
+ *
7246
+ */
7247
+ /** {en}
7248
+ * @detail api
7249
+ * @brief Adds an audio stream to the mixer.
7250
+ * @return <br>
7251
+ * The audio stream ID.
7252
+ * @order 80
7253
+ *
7254
+ */
7255
+ VeLiveMixerManager_1.prototype.addAudioStream_type = function (type) {
7256
+ throw new Error('not implement');
7257
+ };
7258
+ /** {zh}
7259
+ * @detail api
7260
+ * @brief 获取主路视频流 ID。
7261
+ * @order 83
7262
+ *
7263
+ */
7264
+ /** {en}
7265
+ * @detail api
7266
+ * @brief Gets the ID of the primary video stream.
7267
+ * @order 83
7268
+ *
7269
+ */
7270
+ VeLiveMixerManager_1.prototype.getOriginVideoStream = function () {
7271
+ throw new Error('not implement');
7272
+ };
7273
+ /** {zh}
7274
+ * @detail api
7275
+ * @brief 获取主路音频流 ID。
7276
+ * @order 84
7277
+ *
7278
+ */
7279
+ /** {en}
7280
+ * @detail api
7281
+ * @brief Gets the ID of the primary audio stream.
7282
+ * @order 84
7283
+ *
7284
+ */
7285
+ VeLiveMixerManager_1.prototype.getOriginAudioStream = function () {
7286
+ throw new Error('not implement');
7287
+ };
7288
+ /** {zh}
7289
+ * @detail api
7290
+ * @brief 获取主路屏幕流 ID。
7291
+ * @order 85
7292
+ *
7293
+ */
7294
+ /** {en}
7295
+ * @detail api
7296
+ * @brief Gets the ID of the primary screen stream.
7297
+ * @order 85
7298
+ *
7299
+ */
7300
+ VeLiveMixerManager_1.prototype.getOriginScreenStream = function () {
7301
+ throw new Error('not implement');
7302
+ };
7303
+ /** {zh}
7304
+ * @detail api
7305
+ * @brief 获取主路系统音频流 ID。
7306
+ * @order 86
7307
+ *
7308
+ */
7309
+ /** {en}
7310
+ * @detail api
7311
+ * @brief Gets the ID of the primary system audio stream.
7312
+ * @order 86
7313
+ *
7314
+ */
7315
+ VeLiveMixerManager_1.prototype.getOriginSystemAudioStream = function () {
7316
+ throw new Error('not implement');
7317
+ };
7318
+ /** {zh}
7319
+ * @detail api
7320
+ * @brief 发送指定混流 ID 的自定义视频帧数据。
7321
+ * @order 87
7322
+ * @param frame 自定义的视频帧,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame) 。
7323
+ * @param streamId 需要混流的视频流 ID。
7324
+ *
7325
+ */
7326
+ /** {en}
7327
+ * @detail api
7328
+ * @brief Sends a custom video frame with a specified stream ID.
7329
+ * @param frame The custom video frame. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
7330
+ * @param streamId The ID of the video stream to mix.
7331
+ * @order 87
7332
+ *
7333
+ */
7334
+ VeLiveMixerManager_1.prototype.sendCustomVideoFrame = function (frame, streamId) {
7335
+ throw new Error('not implement');
7336
+ };
7337
+ /** {zh}
7338
+ * @detail api
7339
+ * @brief 发送指定混流 ID 的自定义音频帧数据。
7340
+ * @order 88
7341
+ * @param frame 自定义的音频帧,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame) 。
7342
+ * @param streamId 混流的音频流 ID。
7343
+ *
7344
+ */
7345
+ /** {en}
7346
+ * @detail api
7347
+ * @brief Sends a custom audio frame with a specified stream ID.
7348
+ * @param frame The custom audio frame. See VeLiveAudioFrame {@link #VeLiveAudioFrame} for details.
7349
+ * @param streamId The ID of the audio stream to mix.
7350
+ * @order 88
7351
+ *
7352
+ */
7353
+ VeLiveMixerManager_1.prototype.sendCustomAudioFrame = function (frame, streamId) {
7354
+ throw new Error('not implement');
7355
+ };
7356
+ /** {zh}
7357
+ * @detail api
7358
+ * @brief 更新音视频混流的布局。
7359
+ * @param mixDescription 新的音视频混流布局,详情请参见 [VeLiveStreamMixDescription](147521#VeLiveStreamMixDescription)。
7360
+ *
7361
+ */
7362
+ /** {en}
7363
+ * @detail api
7364
+ * @brief Updates the configurations for audio and video mixing.
7365
+ * @param mixDescription The updated configurations for audio and video mixing. See VeLiveStreamMixDescription {@link #VeLiveStreamMixDescription} for details.
7366
+ *
7367
+ */
7368
+ VeLiveMixerManager_1.prototype.updateStreamMixDescription = function (mixDescription) {
7369
+ throw new Error('not implement');
7370
+ };
7371
+ /** {zh}
7372
+ * @detail api
7373
+ * @brief 从混流器中移除一路非主路的视频流。
7374
+ * @order 80
7375
+ * @param streamId 需要移除的非主路视频流 ID。
7376
+ *
7377
+ */
7378
+ /** {en}
7379
+ * @detail api
7380
+ * @brief Removes a non-primary video stream from the mixer.
7381
+ * @param streamId The ID of the video stream to remove.
7382
+ * @order 80
7383
+ *
7384
+ */
7385
+ VeLiveMixerManager_1.prototype.removeVideoStream = function (streamId) {
7386
+ throw new Error('not implement');
7387
+ };
7388
+ /** {zh}
7389
+ * @detail api
7390
+ * @brief 从混流器中移除一路非主路的音频流。
7391
+ * @order 82
7392
+ * @param streamId 需要移除的非主路音频流 ID。
7393
+ *
7394
+ */
7395
+ /** {en}
7396
+ * @detail api
7397
+ * @brief Removes a non-primary audio stream from the mixer.
7398
+ * @param streamId The ID of the audio stream to remove.
7399
+ * @order 82
7400
+ *
7401
+ */
7402
+ VeLiveMixerManager_1.prototype.removeAudioStream = function (streamId) {
7403
+ throw new Error('not implement');
7404
+ };
7405
+ return VeLiveMixerManager_1;
7406
+ }());
7407
+ __setFunctionName(_classThis, "VeLiveMixerManager");
7408
+ (function () {
7409
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
7410
+ _addVideoStream_decorators = [NativeMethodSync()];
7411
+ _addAudioStream_decorators = [NativeMethodSync()];
7412
+ _addAudioStream_type_decorators = [NativeMethodSync('addAudioStream')];
7413
+ _getOriginVideoStream_decorators = [NativeMethodSync()];
7414
+ _getOriginAudioStream_decorators = [NativeMethodSync()];
7415
+ _getOriginScreenStream_decorators = [NativeMethodSync()];
7416
+ _getOriginSystemAudioStream_decorators = [NativeMethodSync()];
7417
+ _sendCustomVideoFrame_decorators = [NativeMethodSync()];
7418
+ _sendCustomAudioFrame_decorators = [NativeMethodSync()];
7419
+ _updateStreamMixDescription_decorators = [NativeMethodSync()];
7420
+ _removeVideoStream_decorators = [NativeMethodSync()];
7421
+ _removeAudioStream_decorators = [NativeMethodSync()];
7422
+ __esDecorate(_classThis, null, _addVideoStream_decorators, { kind: "method", name: "addVideoStream", static: false, private: false, access: { has: function (obj) { return "addVideoStream" in obj; }, get: function (obj) { return obj.addVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7423
+ __esDecorate(_classThis, null, _addAudioStream_decorators, { kind: "method", name: "addAudioStream", static: false, private: false, access: { has: function (obj) { return "addAudioStream" in obj; }, get: function (obj) { return obj.addAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7424
+ __esDecorate(_classThis, null, _addAudioStream_type_decorators, { kind: "method", name: "addAudioStream_type", static: false, private: false, access: { has: function (obj) { return "addAudioStream_type" in obj; }, get: function (obj) { return obj.addAudioStream_type; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7425
+ __esDecorate(_classThis, null, _getOriginVideoStream_decorators, { kind: "method", name: "getOriginVideoStream", static: false, private: false, access: { has: function (obj) { return "getOriginVideoStream" in obj; }, get: function (obj) { return obj.getOriginVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7426
+ __esDecorate(_classThis, null, _getOriginAudioStream_decorators, { kind: "method", name: "getOriginAudioStream", static: false, private: false, access: { has: function (obj) { return "getOriginAudioStream" in obj; }, get: function (obj) { return obj.getOriginAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7427
+ __esDecorate(_classThis, null, _getOriginScreenStream_decorators, { kind: "method", name: "getOriginScreenStream", static: false, private: false, access: { has: function (obj) { return "getOriginScreenStream" in obj; }, get: function (obj) { return obj.getOriginScreenStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7428
+ __esDecorate(_classThis, null, _getOriginSystemAudioStream_decorators, { kind: "method", name: "getOriginSystemAudioStream", static: false, private: false, access: { has: function (obj) { return "getOriginSystemAudioStream" in obj; }, get: function (obj) { return obj.getOriginSystemAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7429
+ __esDecorate(_classThis, null, _sendCustomVideoFrame_decorators, { kind: "method", name: "sendCustomVideoFrame", static: false, private: false, access: { has: function (obj) { return "sendCustomVideoFrame" in obj; }, get: function (obj) { return obj.sendCustomVideoFrame; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7430
+ __esDecorate(_classThis, null, _sendCustomAudioFrame_decorators, { kind: "method", name: "sendCustomAudioFrame", static: false, private: false, access: { has: function (obj) { return "sendCustomAudioFrame" in obj; }, get: function (obj) { return obj.sendCustomAudioFrame; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7431
+ __esDecorate(_classThis, null, _updateStreamMixDescription_decorators, { kind: "method", name: "updateStreamMixDescription", static: false, private: false, access: { has: function (obj) { return "updateStreamMixDescription" in obj; }, get: function (obj) { return obj.updateStreamMixDescription; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7432
+ __esDecorate(_classThis, null, _removeVideoStream_decorators, { kind: "method", name: "removeVideoStream", static: false, private: false, access: { has: function (obj) { return "removeVideoStream" in obj; }, get: function (obj) { return obj.removeVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7433
+ __esDecorate(_classThis, null, _removeAudioStream_decorators, { kind: "method", name: "removeAudioStream", static: false, private: false, access: { has: function (obj) { return "removeAudioStream" in obj; }, get: function (obj) { return obj.removeAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
7434
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
7435
+ _classThis = _classDescriptor.value;
7436
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
7437
+ __runInitializers(_classThis, _classExtraInitializers);
7438
+ })();
7439
+ return _classThis;
7440
+ }();
7168
7441
  var VeLiveMediaPlayer$2 = function () {
7169
7442
  var _classDecorators = [NativeClass('com.ss.avframework.live.VeLiveMediaPlayer')];
7170
7443
  var _classDescriptor;
@@ -9199,92 +9472,255 @@ var VeLiveAudioDevice$1 = function () {
9199
9472
  })();
9200
9473
  return _classThis;
9201
9474
  }();
9202
- var VeLivePusher$1 = function () {
9203
- var _classDecorators = [NativeClass('VeLivePusher')];
9475
+ var VeLiveMixerManager$1 = function () {
9476
+ var _classDecorators = [NativeClass('VeLiveMixerManager')];
9204
9477
  var _classDescriptor;
9205
9478
  var _classExtraInitializers = [];
9206
9479
  var _classThis;
9207
- var _staticExtraInitializers = [];
9208
9480
  var _instanceExtraInitializers = [];
9209
- var _static_setLogLevel_decorators;
9210
- var _startScreenCapture_decorators;
9211
- var _stopScreenCapture_decorators;
9481
+ var _addVideoStream_decorators;
9482
+ var _removeVideoStream_decorators;
9483
+ var _addAudioStream_decorators;
9484
+ var _removeAudioStream_decorators;
9485
+ var _setAudioStream_decorators;
9486
+ var _getOriginVideoStream_decorators;
9487
+ var _getOriginAudioStream_decorators;
9488
+ var _getAppAudioStream_decorators;
9489
+ var _sendCustomVideoFrame_decorators;
9490
+ var _sendCustomAudioFrame_decorators;
9491
+ var _updateStreamMixDescription_decorators;
9212
9492
  var _init_decorators;
9213
- var _initWithConfig_decorators;
9214
- var _destroy_decorators;
9215
- var _setObserver_decorators;
9216
- var _setStatisticsObserver_decorators;
9217
- var _addVideoFrameListener_decorators;
9218
- var _removeVideoFrameListener_decorators;
9219
- var _addAudioFrameListener_decorators;
9220
- var _removeAudioFrameListener_decorators;
9221
- var _setScreenCaptureObserver_decorators;
9222
- var _setRenderView_decorators;
9223
- var _setRenderFillMode_decorators;
9224
- var _setVideoMirror_decorators;
9225
- var _startPush_decorators;
9226
- var _startPushWithUrls_decorators;
9227
- var _stopPush_decorators;
9228
- var _isPushing_decorators;
9229
- var _startVideoCapture_decorators;
9230
- var _stopVideoCapture_decorators;
9231
- var _switchVideoCapture_decorators;
9232
- var _startAudioCapture_decorators;
9233
- var _stopAudioCapture_decorators;
9234
- var _switchAudioCapture_decorators;
9235
- var _getCurrentVideoCaptureType_decorators;
9236
- var _getCurrentAudioCaptureType_decorators;
9237
- var _updateCustomImage_decorators;
9238
- var _setMute_decorators;
9239
- var _isMute_decorators;
9240
- var _setVideoEncoderConfiguration_decorators;
9241
- var _setAudioEncoderConfiguration_decorators;
9242
- var _startFileRecording_decorators;
9243
- var _stopFileRecording_decorators;
9244
- var _getCameraDevice_decorators;
9245
- var _getAudioDevice_decorators;
9246
- var _getVideoEffectManager_decorators;
9247
- var _createPlayer_decorators;
9248
- var _setVideoFrameFilter_decorators;
9249
- var _setAudioFrameFilter_decorators;
9250
- var _setOrientation_decorators;
9251
- var _setWatermark_decorators;
9252
- var _snapshot_decorators;
9253
- var _sendSeiMessage_decorators;
9254
- var _pushExternalVideoFrame_decorators;
9255
- var _pushExternalVideoEncodeFrame_decorators;
9256
- var _pushExternalAudioFrame_decorators;
9257
- var _setProperty_decorators;
9258
- var _requestIDRFrame_decorators;
9259
9493
  _classThis = /** @class */ (function () {
9260
- function VeLivePusher_1() {
9494
+ function VeLiveMixerManager_1() {
9261
9495
  __runInitializers(this, _instanceExtraInitializers);
9262
9496
  }
9263
9497
  /** {zh}
9264
9498
  * @detail api
9265
- * @brief 设置输出到控制台的日志等级。
9266
- * @order 48
9267
- * @param level 输出的日志级别,默认值为 `VeLivePusherLogLevelNone`,表示关闭日志。级别详情请参见 [VeLivePusherLogLevel](155321#VeLivePusherLogLevel)
9499
+ * @brief 添加一路需要混流的视频流到混流器中。
9500
+ * @return <br>
9501
+ * 视频流 ID
9502
+ * @order 65
9268
9503
  */
9269
- VeLivePusher_1.setLogLevel = function (level) {
9504
+ VeLiveMixerManager_1.prototype.addVideoStream = function () {
9270
9505
  throw new Error('not implement');
9271
9506
  };
9272
9507
  /** {zh}
9273
9508
  * @detail api
9274
- * @param applicationGroupIdentifier iOS app group 标识符。
9275
- * @brief 开启屏幕采集。
9509
+ * @brief 从混流器中移除一路非主路的视频流。
9510
+ * @order 66
9511
+ * @param streamId 需要移除的非主路视频流 ID。
9276
9512
  */
9277
- VeLivePusher_1.prototype.startScreenCapture = function (applicationGroupIdentifier) {
9513
+ VeLiveMixerManager_1.prototype.removeVideoStream = function (streamId) {
9278
9514
  throw new Error('not implement');
9279
9515
  };
9280
9516
  /** {zh}
9281
9517
  * @detail api
9282
- * @brief 关闭屏幕采集。
9518
+ * @brief 添加一路音频流到混流器中,并指定混流类型。
9519
+ * @param type 混流类型,详情请参见 VeLiveAudioMixType{@link #VeLiveAudioMixType}
9520
+ * @return <br>
9521
+ * 音频流 ID。
9522
+ * @order 68
9283
9523
  */
9284
- VeLivePusher_1.prototype.stopScreenCapture = function () {
9285
- throw new Error('not implement');
9286
- };
9287
- VeLivePusher_1.prototype.init = function () {
9524
+ VeLiveMixerManager_1.prototype.addAudioStream = function (type) {
9525
+ throw new Error('not implement');
9526
+ };
9527
+ /** {zh}
9528
+ * @detail api
9529
+ * @brief 从混流器中移除一路非主路的音频流。
9530
+ * @order 69
9531
+ * @param streamId 需要移除的非主路音频流 ID。
9532
+ */
9533
+ VeLiveMixerManager_1.prototype.removeAudioStream = function (streamId) {
9534
+ throw new Error('not implement');
9535
+ };
9536
+ /** {zh}
9537
+ * @detail api
9538
+ * @brief 设置指定混流音频的音量。当你将 VeLiveAudioMixType{@link #VeLiveAudioMixType} 设置为 `VeLiveAudioMixPlayAndPush` 时,该方法同时控制该路音频在拉流端和本地的播放音量。
9539
+ * @order 70
9540
+ * @param streamId 非主路音频流 ID。
9541
+ * @param volume 音量大小,范围为 [0.0,4.0]。
9542
+ */
9543
+ VeLiveMixerManager_1.prototype.setAudioStream = function (streamId, volume) {
9544
+ throw new Error('not implement');
9545
+ };
9546
+ /** {zh}
9547
+ * @detail api
9548
+ * @brief 获取主路视频流 ID。
9549
+ * @order 71
9550
+ */
9551
+ VeLiveMixerManager_1.prototype.getOriginVideoStream = function () {
9552
+ throw new Error('not implement');
9553
+ };
9554
+ /** {zh}
9555
+ * @detail api
9556
+ * @brief 获取主路音频流 ID。
9557
+ * @order 72
9558
+ */
9559
+ VeLiveMixerManager_1.prototype.getOriginAudioStream = function () {
9560
+ throw new Error('not implement');
9561
+ };
9562
+ /** {zh}
9563
+ * @detail api
9564
+ * @brief 获取屏幕推流App音频流 ID。
9565
+ */
9566
+ VeLiveMixerManager_1.prototype.getAppAudioStream = function () {
9567
+ throw new Error('not implement');
9568
+ };
9569
+ /** {zh}
9570
+ * @detail api
9571
+ * @order 73
9572
+ * @brief 发送指定混流 ID 的自定义视频帧数据。
9573
+ * @param frame 自定义的视频帧,详情请参见 [VeLiveVideoFrame](155321#VeLiveVideoFrame)。
9574
+ * @param streamId 需要混流的视频流 ID。
9575
+ */
9576
+ VeLiveMixerManager_1.prototype.sendCustomVideoFrame = function (frame, streamId) {
9577
+ throw new Error('not implement');
9578
+ };
9579
+ /** {zh}
9580
+ * @detail api
9581
+ * @order 74
9582
+ * @brief 发送指定混流 ID 的自定义音频帧数据。
9583
+ * @param frame 自定义的音频帧,详情请参见 [VeLiveAudioFrame](155321#VeLiveAudioFrame)。
9584
+ * @param streamId 混流的音频流 ID。
9585
+ */
9586
+ VeLiveMixerManager_1.prototype.sendCustomAudioFrame = function (frame, streamId) {
9587
+ throw new Error('not implement');
9588
+ };
9589
+ /** {zh}
9590
+ * @detail api
9591
+ * @brief 更新音视频混流的布局。
9592
+ * @order 75
9593
+ * @param mixDescription 新的音视频混流布局,详情请参见 [VeLiveStreamMixDescription](155321#VeLiveStreamMixDescription)。
9594
+ */
9595
+ VeLiveMixerManager_1.prototype.updateStreamMixDescription = function (mixDescription) {
9596
+ throw new Error('not implement');
9597
+ };
9598
+ VeLiveMixerManager_1.prototype.init = function () {
9599
+ throw new Error('not implement');
9600
+ };
9601
+ return VeLiveMixerManager_1;
9602
+ }());
9603
+ __setFunctionName(_classThis, "VeLiveMixerManager");
9604
+ (function () {
9605
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
9606
+ _addVideoStream_decorators = [NativeMethodSync('addVideoStream')];
9607
+ _removeVideoStream_decorators = [NativeMethodSync('removeVideoStream:')];
9608
+ _addAudioStream_decorators = [NativeMethodSync('addAudioStream:')];
9609
+ _removeAudioStream_decorators = [NativeMethodSync('removeAudioStream:')];
9610
+ _setAudioStream_decorators = [NativeMethodSync('setAudioStream:volume:')];
9611
+ _getOriginVideoStream_decorators = [NativeMethodSync('getOriginVideoStream')];
9612
+ _getOriginAudioStream_decorators = [NativeMethodSync('getOriginAudioStream')];
9613
+ _getAppAudioStream_decorators = [NativeMethodSync('getAppAudioStream')];
9614
+ _sendCustomVideoFrame_decorators = [NativeMethodSync('sendCustomVideoFrame:streamId:')];
9615
+ _sendCustomAudioFrame_decorators = [NativeMethodSync('sendCustomAudioFrame:streamId:')];
9616
+ _updateStreamMixDescription_decorators = [NativeMethodSync('updateStreamMixDescription:')];
9617
+ _init_decorators = [NativeMethodSync('init')];
9618
+ __esDecorate(_classThis, null, _addVideoStream_decorators, { kind: "method", name: "addVideoStream", static: false, private: false, access: { has: function (obj) { return "addVideoStream" in obj; }, get: function (obj) { return obj.addVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9619
+ __esDecorate(_classThis, null, _removeVideoStream_decorators, { kind: "method", name: "removeVideoStream", static: false, private: false, access: { has: function (obj) { return "removeVideoStream" in obj; }, get: function (obj) { return obj.removeVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9620
+ __esDecorate(_classThis, null, _addAudioStream_decorators, { kind: "method", name: "addAudioStream", static: false, private: false, access: { has: function (obj) { return "addAudioStream" in obj; }, get: function (obj) { return obj.addAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9621
+ __esDecorate(_classThis, null, _removeAudioStream_decorators, { kind: "method", name: "removeAudioStream", static: false, private: false, access: { has: function (obj) { return "removeAudioStream" in obj; }, get: function (obj) { return obj.removeAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9622
+ __esDecorate(_classThis, null, _setAudioStream_decorators, { kind: "method", name: "setAudioStream", static: false, private: false, access: { has: function (obj) { return "setAudioStream" in obj; }, get: function (obj) { return obj.setAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9623
+ __esDecorate(_classThis, null, _getOriginVideoStream_decorators, { kind: "method", name: "getOriginVideoStream", static: false, private: false, access: { has: function (obj) { return "getOriginVideoStream" in obj; }, get: function (obj) { return obj.getOriginVideoStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9624
+ __esDecorate(_classThis, null, _getOriginAudioStream_decorators, { kind: "method", name: "getOriginAudioStream", static: false, private: false, access: { has: function (obj) { return "getOriginAudioStream" in obj; }, get: function (obj) { return obj.getOriginAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9625
+ __esDecorate(_classThis, null, _getAppAudioStream_decorators, { kind: "method", name: "getAppAudioStream", static: false, private: false, access: { has: function (obj) { return "getAppAudioStream" in obj; }, get: function (obj) { return obj.getAppAudioStream; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9626
+ __esDecorate(_classThis, null, _sendCustomVideoFrame_decorators, { kind: "method", name: "sendCustomVideoFrame", static: false, private: false, access: { has: function (obj) { return "sendCustomVideoFrame" in obj; }, get: function (obj) { return obj.sendCustomVideoFrame; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9627
+ __esDecorate(_classThis, null, _sendCustomAudioFrame_decorators, { kind: "method", name: "sendCustomAudioFrame", static: false, private: false, access: { has: function (obj) { return "sendCustomAudioFrame" in obj; }, get: function (obj) { return obj.sendCustomAudioFrame; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9628
+ __esDecorate(_classThis, null, _updateStreamMixDescription_decorators, { kind: "method", name: "updateStreamMixDescription", static: false, private: false, access: { has: function (obj) { return "updateStreamMixDescription" in obj; }, get: function (obj) { return obj.updateStreamMixDescription; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9629
+ __esDecorate(_classThis, null, _init_decorators, { kind: "method", name: "init", static: false, private: false, access: { has: function (obj) { return "init" in obj; }, get: function (obj) { return obj.init; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9630
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
9631
+ _classThis = _classDescriptor.value;
9632
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
9633
+ __runInitializers(_classThis, _classExtraInitializers);
9634
+ })();
9635
+ return _classThis;
9636
+ }();
9637
+ var VeLivePusher$1 = function () {
9638
+ var _classDecorators = [NativeClass('VeLivePusher')];
9639
+ var _classDescriptor;
9640
+ var _classExtraInitializers = [];
9641
+ var _classThis;
9642
+ var _staticExtraInitializers = [];
9643
+ var _instanceExtraInitializers = [];
9644
+ var _static_setLogLevel_decorators;
9645
+ var _startScreenCapture_decorators;
9646
+ var _stopScreenCapture_decorators;
9647
+ var _init_decorators;
9648
+ var _initWithConfig_decorators;
9649
+ var _destroy_decorators;
9650
+ var _setObserver_decorators;
9651
+ var _setStatisticsObserver_decorators;
9652
+ var _addVideoFrameListener_decorators;
9653
+ var _removeVideoFrameListener_decorators;
9654
+ var _addAudioFrameListener_decorators;
9655
+ var _removeAudioFrameListener_decorators;
9656
+ var _setScreenCaptureObserver_decorators;
9657
+ var _setRenderView_decorators;
9658
+ var _setRenderFillMode_decorators;
9659
+ var _setVideoMirror_decorators;
9660
+ var _startPush_decorators;
9661
+ var _startPushWithUrls_decorators;
9662
+ var _stopPush_decorators;
9663
+ var _isPushing_decorators;
9664
+ var _startVideoCapture_decorators;
9665
+ var _stopVideoCapture_decorators;
9666
+ var _switchVideoCapture_decorators;
9667
+ var _startAudioCapture_decorators;
9668
+ var _stopAudioCapture_decorators;
9669
+ var _switchAudioCapture_decorators;
9670
+ var _getCurrentVideoCaptureType_decorators;
9671
+ var _getCurrentAudioCaptureType_decorators;
9672
+ var _updateCustomImage_decorators;
9673
+ var _setMute_decorators;
9674
+ var _isMute_decorators;
9675
+ var _setVideoEncoderConfiguration_decorators;
9676
+ var _setAudioEncoderConfiguration_decorators;
9677
+ var _startFileRecording_decorators;
9678
+ var _stopFileRecording_decorators;
9679
+ var _getCameraDevice_decorators;
9680
+ var _getAudioDevice_decorators;
9681
+ var _getMixerManager_decorators;
9682
+ var _getVideoEffectManager_decorators;
9683
+ var _createPlayer_decorators;
9684
+ var _setVideoFrameFilter_decorators;
9685
+ var _setAudioFrameFilter_decorators;
9686
+ var _setOrientation_decorators;
9687
+ var _setWatermark_decorators;
9688
+ var _snapshot_decorators;
9689
+ var _sendSeiMessage_decorators;
9690
+ var _pushExternalVideoFrame_decorators;
9691
+ var _pushExternalVideoEncodeFrame_decorators;
9692
+ var _pushExternalAudioFrame_decorators;
9693
+ var _setProperty_decorators;
9694
+ var _requestIDRFrame_decorators;
9695
+ _classThis = /** @class */ (function () {
9696
+ function VeLivePusher_1() {
9697
+ __runInitializers(this, _instanceExtraInitializers);
9698
+ }
9699
+ /** {zh}
9700
+ * @detail api
9701
+ * @brief 设置输出到控制台的日志等级。
9702
+ * @order 48
9703
+ * @param level 输出的日志级别,默认值为 `VeLivePusherLogLevelNone`,表示关闭日志。级别详情请参见 [VeLivePusherLogLevel](155321#VeLivePusherLogLevel)。
9704
+ */
9705
+ VeLivePusher_1.setLogLevel = function (level) {
9706
+ throw new Error('not implement');
9707
+ };
9708
+ /** {zh}
9709
+ * @detail api
9710
+ * @param applicationGroupIdentifier iOS app group 标识符。
9711
+ * @brief 开启屏幕采集。
9712
+ */
9713
+ VeLivePusher_1.prototype.startScreenCapture = function (applicationGroupIdentifier) {
9714
+ throw new Error('not implement');
9715
+ };
9716
+ /** {zh}
9717
+ * @detail api
9718
+ * @brief 关闭屏幕采集。
9719
+ */
9720
+ VeLivePusher_1.prototype.stopScreenCapture = function () {
9721
+ throw new Error('not implement');
9722
+ };
9723
+ VeLivePusher_1.prototype.init = function () {
9288
9724
  throw new Error('not implement');
9289
9725
  };
9290
9726
  /** {zh}
@@ -9651,6 +10087,16 @@ var VeLivePusher$1 = function () {
9651
10087
  VeLivePusher_1.prototype.getAudioDevice = function () {
9652
10088
  throw new Error('not implement');
9653
10089
  };
10090
+ /** {zh}
10091
+ * @detail api
10092
+ * @brief 获取混流管理对象。
10093
+ * @return <br>
10094
+ * 混流管理对象 VeLiveMixerManager{@link #VeLiveMixerManager}。
10095
+ * @order 31
10096
+ */
10097
+ VeLivePusher_1.prototype.getMixerManager = function () {
10098
+ throw new Error('not implement');
10099
+ };
9654
10100
  /** {zh}
9655
10101
  * @detail api
9656
10102
  * @brief 获取视频特效管理对象 `VeLiveVideoEffectManager`。通过视频特效管理,您可以使用以下功能。
@@ -9855,6 +10301,7 @@ var VeLivePusher$1 = function () {
9855
10301
  _stopFileRecording_decorators = [NativeMethodSync('stopFileRecording')];
9856
10302
  _getCameraDevice_decorators = [ReturnClass(function () { return VeLiveCameraDevice$1; }), NativeMethodSync('getCameraDevice')];
9857
10303
  _getAudioDevice_decorators = [ReturnClass(function () { return VeLiveAudioDevice$1; }), NativeMethodSync('getAudioDevice')];
10304
+ _getMixerManager_decorators = [ReturnClass(function () { return VeLiveMixerManager$1; }), NativeMethodSync('getMixerManager')];
9858
10305
  _getVideoEffectManager_decorators = [ReturnClass(function () { return VeLiveVideoEffectManager$1; }), NativeMethodSync('getVideoEffectManager')];
9859
10306
  _createPlayer_decorators = [ReturnClass(function () { return VeLiveMediaPlayer$1; }), NativeMethodSync('createPlayer')];
9860
10307
  _setVideoFrameFilter_decorators = [NativeMethodSync('setVideoFrameFilter:')];
@@ -9905,6 +10352,7 @@ var VeLivePusher$1 = function () {
9905
10352
  __esDecorate(_classThis, null, _stopFileRecording_decorators, { kind: "method", name: "stopFileRecording", static: false, private: false, access: { has: function (obj) { return "stopFileRecording" in obj; }, get: function (obj) { return obj.stopFileRecording; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9906
10353
  __esDecorate(_classThis, null, _getCameraDevice_decorators, { kind: "method", name: "getCameraDevice", static: false, private: false, access: { has: function (obj) { return "getCameraDevice" in obj; }, get: function (obj) { return obj.getCameraDevice; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9907
10354
  __esDecorate(_classThis, null, _getAudioDevice_decorators, { kind: "method", name: "getAudioDevice", static: false, private: false, access: { has: function (obj) { return "getAudioDevice" in obj; }, get: function (obj) { return obj.getAudioDevice; } }, metadata: _metadata }, null, _instanceExtraInitializers);
10355
+ __esDecorate(_classThis, null, _getMixerManager_decorators, { kind: "method", name: "getMixerManager", static: false, private: false, access: { has: function (obj) { return "getMixerManager" in obj; }, get: function (obj) { return obj.getMixerManager; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9908
10356
  __esDecorate(_classThis, null, _getVideoEffectManager_decorators, { kind: "method", name: "getVideoEffectManager", static: false, private: false, access: { has: function (obj) { return "getVideoEffectManager" in obj; }, get: function (obj) { return obj.getVideoEffectManager; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9909
10357
  __esDecorate(_classThis, null, _createPlayer_decorators, { kind: "method", name: "createPlayer", static: false, private: false, access: { has: function (obj) { return "createPlayer" in obj; }, get: function (obj) { return obj.createPlayer; } }, metadata: _metadata }, null, _instanceExtraInitializers);
9910
10358
  __esDecorate(_classThis, null, _setVideoFrameFilter_decorators, { kind: "method", name: "setVideoFrameFilter", static: false, private: false, access: { has: function (obj) { return "setVideoFrameFilter" in obj; }, get: function (obj) { return obj.setVideoFrameFilter; } }, metadata: _metadata }, null, _instanceExtraInitializers);
@@ -19026,6 +19474,37 @@ var VeLivePusher = function () {
19026
19474
  throw new Error('Not Support Platform ' + $os);
19027
19475
  }
19028
19476
  };
19477
+ /** {zh}
19478
+ * @detail api
19479
+ * @brief 获取混流管理对象。
19480
+ * @return <br>
19481
+ * 混流管理对象 VeLiveMixerManager{@link #VeLiveMixerManager}。
19482
+ * @order 51
19483
+ *
19484
+ */
19485
+ /** {en}
19486
+ * @detail api
19487
+ * @brief Gets the audio and video mixer.
19488
+ * @return <br>
19489
+ * The audio and video mixer. See VeLiveMixerManager {@link #VeLiveMixerManager} for details.
19490
+ * @order 51
19491
+ *
19492
+ */
19493
+ VeLivePusher_1.prototype.getMixerManager = function () {
19494
+ var _this = this;
19495
+ var a = function () { return packObject(_this._instance.getMixerManager(), VeLiveMixerManager); };
19496
+ var i = function () { return packObject(_this._instance.getMixerManager(), VeLiveMixerManager); };
19497
+ var $os = env.getOS();
19498
+ if ($os === 'android') {
19499
+ return a();
19500
+ }
19501
+ else if ($os === 'ios') {
19502
+ return i();
19503
+ }
19504
+ else {
19505
+ throw new Error('Not Support Platform ' + $os);
19506
+ }
19507
+ };
19029
19508
  /** {zh}
19030
19509
  * @platform android
19031
19510
  * @detail api
@@ -22303,85 +22782,474 @@ var VeLiveVideoEffectManager = function () {
22303
22782
  }();
22304
22783
  /** {zh}
22305
22784
  * @detail api
22306
- * @brief 音频帧的数据信息。
22785
+ * @brief 音视频混流器管理对象。支持添加/移除音视频流、发送自定义音视频帧、更新混流布局等。
22307
22786
  */
22308
- var VeLiveAudioFrame = function () {
22787
+ var VeLiveMixerManager = function () {
22309
22788
  var _classDecorators = [PackClass()];
22310
22789
  var _classDescriptor;
22311
22790
  var _classExtraInitializers = [];
22312
22791
  var _classThis;
22313
22792
  _classThis = /** @class */ (function () {
22314
- function VeLiveAudioFrame_1() {
22793
+ function VeLiveMixerManager_1() {
22315
22794
  }
22316
- Object.defineProperty(VeLiveAudioFrame_1.prototype, "bufferType", {
22317
- get: function () {
22318
- var $os = env.getOS();
22319
- if ($os === 'android') {
22320
- return t_VeLiveAudioBufferType.android_to_ts(this._instance.bufferType);
22321
- }
22322
- else if ($os === 'ios') {
22323
- return t_VeLiveAudioBufferType.ios_to_ts(this._instance.bufferType);
22324
- }
22325
- else {
22326
- throw new Error('Not Support Platform ' + $os);
22327
- }
22328
- },
22329
- set: function (value) {
22330
- var $os = env.getOS();
22331
- if ($os === 'android') {
22332
- this._instance.bufferType = t_VeLiveAudioBufferType.ts_to_android(value);
22333
- }
22334
- else if ($os === 'ios') {
22335
- this._instance.bufferType = t_VeLiveAudioBufferType.ts_to_ios(value);
22336
- }
22337
- else {
22338
- throw new Error('Not Support Platform ' + $os);
22339
- }
22340
- },
22341
- enumerable: false,
22342
- configurable: true
22343
- });
22344
- Object.defineProperty(VeLiveAudioFrame_1.prototype, "sampleRate", {
22345
- get: function () {
22346
- var $os = env.getOS();
22347
- if ($os === 'android') {
22348
- return this._instance.sampleRate;
22349
- }
22350
- else if ($os === 'ios') {
22351
- return this._instance.sampleRate;
22352
- }
22353
- else {
22354
- throw new Error('Not Support Platform ' + $os);
22355
- }
22356
- },
22357
- set: function (value) {
22358
- var $os = env.getOS();
22359
- if ($os === 'android') {
22360
- this._instance.sampleRate = value;
22361
- }
22362
- else if ($os === 'ios') {
22363
- this._instance.sampleRate = value;
22364
- }
22365
- else {
22366
- throw new Error('Not Support Platform ' + $os);
22367
- }
22368
- },
22369
- enumerable: false,
22370
- configurable: true
22371
- });
22372
- Object.defineProperty(VeLiveAudioFrame_1.prototype, "channels", {
22373
- get: function () {
22374
- var $os = env.getOS();
22375
- if ($os === 'android') {
22376
- return this._instance.channels;
22377
- }
22378
- else if ($os === 'ios') {
22379
- return this._instance.channels;
22380
- }
22381
- else {
22382
- throw new Error('Not Support Platform ' + $os);
22383
- }
22384
- },
22795
+ VeLiveMixerManager_1.prototype.__init = function () {
22796
+ var args = [];
22797
+ for (var _i = 0; _i < arguments.length; _i++) {
22798
+ args[_i] = arguments[_i];
22799
+ }
22800
+ this._instance = this.__new_instance.apply(this, args);
22801
+ };
22802
+ VeLiveMixerManager_1.prototype.__new_instance = function () {
22803
+ var args = [];
22804
+ for (var _i = 0; _i < arguments.length; _i++) {
22805
+ args[_i] = arguments[_i];
22806
+ }
22807
+ var i = function () {
22808
+ var _a;
22809
+ return new ((_a = VeLiveMixerManager$1).bind.apply(_a, __spreadArray([void 0], args, false)))();
22810
+ };
22811
+ var a = function () {
22812
+ var _a;
22813
+ return new ((_a = VeLiveMixerManager$2).bind.apply(_a, __spreadArray([void 0], args, false)))();
22814
+ };
22815
+ var $os = env.getOS();
22816
+ if ($os === 'android') {
22817
+ return a();
22818
+ }
22819
+ else if ($os === 'ios') {
22820
+ return i();
22821
+ }
22822
+ else {
22823
+ throw new Error('Not Support Platform ' + $os);
22824
+ }
22825
+ };
22826
+ /** {zh}
22827
+ * @detail api
22828
+ * @brief 添加一路需要混流的视频流到混流器中。
22829
+ * @return <br>
22830
+ * 视频流 ID。
22831
+ * @order 79
22832
+ *
22833
+ */
22834
+ /** {en}
22835
+ * @detail api
22836
+ * @brief Adds a video stream to the mixer.
22837
+ * @return <br>
22838
+ * The video stream ID.
22839
+ * @order 79
22840
+ *
22841
+ */
22842
+ VeLiveMixerManager_1.prototype.addVideoStream = function () {
22843
+ var _this = this;
22844
+ var a = function () { return Number(_this._instance.addVideoStream()); };
22845
+ var i = function () { return Number(_this._instance.addVideoStream()); };
22846
+ var $os = env.getOS();
22847
+ if ($os === 'android') {
22848
+ return a();
22849
+ }
22850
+ else if ($os === 'ios') {
22851
+ return i();
22852
+ }
22853
+ else {
22854
+ throw new Error('Not Support Platform ' + $os);
22855
+ }
22856
+ };
22857
+ /** {zh}
22858
+ * @platform android
22859
+ * @detail api
22860
+ * @brief 添加一路音频流到混流器中,并指定混流类型。
22861
+ * @return <br>
22862
+ * 音频流 ID。
22863
+ * @order 81
22864
+ * @param type 混流类型,详情请参见 [VeLiveAudioMixType](147521#VeLiveAudioMixType) 。
22865
+ *
22866
+ */
22867
+ /** {en}
22868
+ * @platform android
22869
+ * @detail api
22870
+ * @brief Adds an audio stream to the mixer.
22871
+ * @return <br>
22872
+ * The audio stream ID.
22873
+ * @order 80
22874
+ *
22875
+ */
22876
+ VeLiveMixerManager_1.prototype.android_addAudioStream_type = function (type) {
22877
+ var _this = this;
22878
+ var $ = function () { return Number(_this._instance.addAudioStream_type(type)); };
22879
+ return $();
22880
+ };
22881
+ /** {zh}
22882
+ * @detail api
22883
+ * @brief 获取主路视频流 ID。
22884
+ * @order 83
22885
+ *
22886
+ */
22887
+ /** {en}
22888
+ * @detail api
22889
+ * @brief Gets the ID of the primary video stream.
22890
+ * @order 83
22891
+ *
22892
+ */
22893
+ VeLiveMixerManager_1.prototype.getOriginVideoStream = function () {
22894
+ var _this = this;
22895
+ var a = function () { return Number(_this._instance.getOriginVideoStream()); };
22896
+ var i = function () { return Number(_this._instance.getOriginVideoStream()); };
22897
+ var $os = env.getOS();
22898
+ if ($os === 'android') {
22899
+ return a();
22900
+ }
22901
+ else if ($os === 'ios') {
22902
+ return i();
22903
+ }
22904
+ else {
22905
+ throw new Error('Not Support Platform ' + $os);
22906
+ }
22907
+ };
22908
+ /** {zh}
22909
+ * @detail api
22910
+ * @brief 获取主路音频流 ID。
22911
+ * @order 84
22912
+ *
22913
+ */
22914
+ /** {en}
22915
+ * @detail api
22916
+ * @brief Gets the ID of the primary audio stream.
22917
+ * @order 84
22918
+ *
22919
+ */
22920
+ VeLiveMixerManager_1.prototype.getOriginAudioStream = function () {
22921
+ var _this = this;
22922
+ var a = function () { return Number(_this._instance.getOriginAudioStream()); };
22923
+ var i = function () { return Number(_this._instance.getOriginAudioStream()); };
22924
+ var $os = env.getOS();
22925
+ if ($os === 'android') {
22926
+ return a();
22927
+ }
22928
+ else if ($os === 'ios') {
22929
+ return i();
22930
+ }
22931
+ else {
22932
+ throw new Error('Not Support Platform ' + $os);
22933
+ }
22934
+ };
22935
+ /** {zh}
22936
+ * @platform android
22937
+ * @detail api
22938
+ * @brief 获取主路屏幕流 ID。
22939
+ * @order 85
22940
+ *
22941
+ */
22942
+ /** {en}
22943
+ * @platform android
22944
+ * @detail api
22945
+ * @brief Gets the ID of the primary screen stream.
22946
+ * @order 85
22947
+ *
22948
+ */
22949
+ VeLiveMixerManager_1.prototype.android_getOriginScreenStream = function () {
22950
+ var _this = this;
22951
+ var $ = function () { return Number(_this._instance.getOriginScreenStream()); };
22952
+ return $();
22953
+ };
22954
+ /** {zh}
22955
+ * @platform android
22956
+ * @detail api
22957
+ * @brief 获取主路系统音频流 ID。
22958
+ * @order 86
22959
+ *
22960
+ */
22961
+ /** {en}
22962
+ * @platform android
22963
+ * @detail api
22964
+ * @brief Gets the ID of the primary system audio stream.
22965
+ * @order 86
22966
+ *
22967
+ */
22968
+ VeLiveMixerManager_1.prototype.android_getOriginSystemAudioStream = function () {
22969
+ var _this = this;
22970
+ var $ = function () { return Number(_this._instance.getOriginSystemAudioStream()); };
22971
+ return $();
22972
+ };
22973
+ /** {zh}
22974
+ * @detail api
22975
+ * @brief 发送指定混流 ID 的自定义视频帧数据。
22976
+ * @order 87
22977
+ * @param frame 自定义的视频帧,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame) 。
22978
+ * @param streamId 需要混流的视频流 ID。
22979
+ *
22980
+ */
22981
+ /** {en}
22982
+ * @detail api
22983
+ * @brief Sends a custom video frame with a specified stream ID.
22984
+ * @param frame The custom video frame. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
22985
+ * @param streamId The ID of the video stream to mix.
22986
+ * @order 87
22987
+ *
22988
+ */
22989
+ VeLiveMixerManager_1.prototype.sendCustomVideoFrame = function (frame, streamId) {
22990
+ var _this = this;
22991
+ var a = function () { return (_this._instance.sendCustomVideoFrame(unpackObject(frame), streamId),
22992
+ void 0); };
22993
+ var i = function () { return (_this._instance.sendCustomVideoFrame(unpackObject(frame), streamId),
22994
+ void 0); };
22995
+ var $os = env.getOS();
22996
+ if ($os === 'android') {
22997
+ return a();
22998
+ }
22999
+ else if ($os === 'ios') {
23000
+ return i();
23001
+ }
23002
+ else {
23003
+ throw new Error('Not Support Platform ' + $os);
23004
+ }
23005
+ };
23006
+ /** {zh}
23007
+ * @detail api
23008
+ * @brief 发送指定混流 ID 的自定义音频帧数据。
23009
+ * @order 88
23010
+ * @param frame 自定义的音频帧,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame) 。
23011
+ * @param streamId 混流的音频流 ID。
23012
+ *
23013
+ */
23014
+ /** {en}
23015
+ * @detail api
23016
+ * @brief Sends a custom audio frame with a specified stream ID.
23017
+ * @param frame The custom audio frame. See VeLiveAudioFrame {@link #VeLiveAudioFrame} for details.
23018
+ * @param streamId The ID of the audio stream to mix.
23019
+ * @order 88
23020
+ *
23021
+ */
23022
+ VeLiveMixerManager_1.prototype.sendCustomAudioFrame = function (frame, streamId) {
23023
+ var _this = this;
23024
+ var a = function () { return (_this._instance.sendCustomAudioFrame(unpackObject(frame), streamId),
23025
+ void 0); };
23026
+ var i = function () { return (_this._instance.sendCustomAudioFrame(unpackObject(frame), streamId),
23027
+ void 0); };
23028
+ var $os = env.getOS();
23029
+ if ($os === 'android') {
23030
+ return a();
23031
+ }
23032
+ else if ($os === 'ios') {
23033
+ return i();
23034
+ }
23035
+ else {
23036
+ throw new Error('Not Support Platform ' + $os);
23037
+ }
23038
+ };
23039
+ /** {zh}
23040
+ * @detail api
23041
+ * @brief 更新音视频混流的布局。
23042
+ * @param mixDescription 新的音视频混流布局,详情请参见 [VeLiveStreamMixDescription](147521#VeLiveStreamMixDescription)。
23043
+ *
23044
+ */
23045
+ /** {en}
23046
+ * @detail api
23047
+ * @brief Updates the configurations for audio and video mixing.
23048
+ * @param mixDescription The updated configurations for audio and video mixing. See VeLiveStreamMixDescription {@link #VeLiveStreamMixDescription} for details.
23049
+ *
23050
+ */
23051
+ VeLiveMixerManager_1.prototype.updateStreamMixDescription = function (mixDescription) {
23052
+ var _this = this;
23053
+ var a = function () { return (_this._instance.updateStreamMixDescription(unpackObject(mixDescription)),
23054
+ void 0); };
23055
+ var i = function () { return (_this._instance.updateStreamMixDescription(unpackObject(mixDescription)),
23056
+ void 0); };
23057
+ var $os = env.getOS();
23058
+ if ($os === 'android') {
23059
+ return a();
23060
+ }
23061
+ else if ($os === 'ios') {
23062
+ return i();
23063
+ }
23064
+ else {
23065
+ throw new Error('Not Support Platform ' + $os);
23066
+ }
23067
+ };
23068
+ /** {zh}
23069
+ * @detail api
23070
+ * @brief 从混流器中移除一路非主路的视频流。
23071
+ * @order 80
23072
+ * @param streamId 需要移除的非主路视频流 ID。
23073
+ *
23074
+ */
23075
+ /** {en}
23076
+ * @detail api
23077
+ * @brief Removes a non-primary video stream from the mixer.
23078
+ * @param streamId The ID of the video stream to remove.
23079
+ * @order 80
23080
+ *
23081
+ */
23082
+ VeLiveMixerManager_1.prototype.removeVideoStream = function (streamId) {
23083
+ var _this = this;
23084
+ var a = function () { return (_this._instance.removeVideoStream(streamId), void 0); };
23085
+ var i = function () { return (_this._instance.removeVideoStream(streamId), void 0); };
23086
+ var $os = env.getOS();
23087
+ if ($os === 'android') {
23088
+ return a();
23089
+ }
23090
+ else if ($os === 'ios') {
23091
+ return i();
23092
+ }
23093
+ else {
23094
+ throw new Error('Not Support Platform ' + $os);
23095
+ }
23096
+ };
23097
+ /** {zh}
23098
+ * @detail api
23099
+ * @brief 从混流器中移除一路非主路的音频流。
23100
+ * @order 82
23101
+ * @param streamId 需要移除的非主路音频流 ID。
23102
+ *
23103
+ */
23104
+ /** {en}
23105
+ * @detail api
23106
+ * @brief Removes a non-primary audio stream from the mixer.
23107
+ * @param streamId The ID of the audio stream to remove.
23108
+ * @order 82
23109
+ *
23110
+ */
23111
+ VeLiveMixerManager_1.prototype.removeAudioStream = function (streamId) {
23112
+ var _this = this;
23113
+ var a = function () { return (_this._instance.removeAudioStream(streamId), void 0); };
23114
+ var i = function () { return (_this._instance.removeAudioStream(streamId), void 0); };
23115
+ var $os = env.getOS();
23116
+ if ($os === 'android') {
23117
+ return a();
23118
+ }
23119
+ else if ($os === 'ios') {
23120
+ return i();
23121
+ }
23122
+ else {
23123
+ throw new Error('Not Support Platform ' + $os);
23124
+ }
23125
+ };
23126
+ /** {zh}
23127
+ * @platform ios
23128
+ * @detail api
23129
+ * @brief 设置指定混流音频的音量。当你将 VeLiveAudioMixType{@link #VeLiveAudioMixType} 设置为 `VeLiveAudioMixPlayAndPush` 时,该方法同时控制该路音频在拉流端和本地的播放音量。
23130
+ * @order 70
23131
+ * @param streamId 非主路音频流 ID。
23132
+ * @param volume 音量大小,范围为 [0.0,4.0]。
23133
+ */
23134
+ /** {en}
23135
+ * @platform ios
23136
+ * @detail api
23137
+ * @brief Sets the volume of a non-primary audio stream. If you set VeLiveAudioMixType{@link #VeLiveAudioMixType} to `VeLiveAudioMixPlayAndPush`, this method takes effect on both the host and the audience sides.
23138
+ * @param streamId The audio stream ID.
23139
+ * @param volume The audio volume. The value range is [0.0,4.0].
23140
+ * @order 70
23141
+ */
23142
+ VeLiveMixerManager_1.prototype.ios_setAudioStream = function (streamId, volume) {
23143
+ var _this = this;
23144
+ var $ = function () { return (_this._instance.setAudioStream(streamId, volume), void 0); };
23145
+ return $();
23146
+ };
23147
+ /** {zh}
23148
+ * @platform ios
23149
+ * @detail api
23150
+ * @brief 获取屏幕推流App音频流 ID。
23151
+ */
23152
+ /** {en}
23153
+ * @platform ios
23154
+ */
23155
+ VeLiveMixerManager_1.prototype.ios_getAppAudioStream = function () {
23156
+ var _this = this;
23157
+ var $ = function () { return Number(_this._instance.getAppAudioStream()); };
23158
+ return $();
23159
+ };
23160
+ return VeLiveMixerManager_1;
23161
+ }());
23162
+ __setFunctionName(_classThis, "VeLiveMixerManager");
23163
+ (function () {
23164
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
23165
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
23166
+ _classThis = _classDescriptor.value;
23167
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
23168
+ __runInitializers(_classThis, _classExtraInitializers);
23169
+ })();
23170
+ return _classThis;
23171
+ }();
23172
+ /** {zh}
23173
+ * @detail api
23174
+ * @brief 音频帧的数据信息。
23175
+ */
23176
+ var VeLiveAudioFrame = function () {
23177
+ var _classDecorators = [PackClass()];
23178
+ var _classDescriptor;
23179
+ var _classExtraInitializers = [];
23180
+ var _classThis;
23181
+ _classThis = /** @class */ (function () {
23182
+ function VeLiveAudioFrame_1() {
23183
+ }
23184
+ Object.defineProperty(VeLiveAudioFrame_1.prototype, "bufferType", {
23185
+ get: function () {
23186
+ var $os = env.getOS();
23187
+ if ($os === 'android') {
23188
+ return t_VeLiveAudioBufferType.android_to_ts(this._instance.bufferType);
23189
+ }
23190
+ else if ($os === 'ios') {
23191
+ return t_VeLiveAudioBufferType.ios_to_ts(this._instance.bufferType);
23192
+ }
23193
+ else {
23194
+ throw new Error('Not Support Platform ' + $os);
23195
+ }
23196
+ },
23197
+ set: function (value) {
23198
+ var $os = env.getOS();
23199
+ if ($os === 'android') {
23200
+ this._instance.bufferType = t_VeLiveAudioBufferType.ts_to_android(value);
23201
+ }
23202
+ else if ($os === 'ios') {
23203
+ this._instance.bufferType = t_VeLiveAudioBufferType.ts_to_ios(value);
23204
+ }
23205
+ else {
23206
+ throw new Error('Not Support Platform ' + $os);
23207
+ }
23208
+ },
23209
+ enumerable: false,
23210
+ configurable: true
23211
+ });
23212
+ Object.defineProperty(VeLiveAudioFrame_1.prototype, "sampleRate", {
23213
+ get: function () {
23214
+ var $os = env.getOS();
23215
+ if ($os === 'android') {
23216
+ return this._instance.sampleRate;
23217
+ }
23218
+ else if ($os === 'ios') {
23219
+ return this._instance.sampleRate;
23220
+ }
23221
+ else {
23222
+ throw new Error('Not Support Platform ' + $os);
23223
+ }
23224
+ },
23225
+ set: function (value) {
23226
+ var $os = env.getOS();
23227
+ if ($os === 'android') {
23228
+ this._instance.sampleRate = value;
23229
+ }
23230
+ else if ($os === 'ios') {
23231
+ this._instance.sampleRate = value;
23232
+ }
23233
+ else {
23234
+ throw new Error('Not Support Platform ' + $os);
23235
+ }
23236
+ },
23237
+ enumerable: false,
23238
+ configurable: true
23239
+ });
23240
+ Object.defineProperty(VeLiveAudioFrame_1.prototype, "channels", {
23241
+ get: function () {
23242
+ var $os = env.getOS();
23243
+ if ($os === 'android') {
23244
+ return this._instance.channels;
23245
+ }
23246
+ else if ($os === 'ios') {
23247
+ return this._instance.channels;
23248
+ }
23249
+ else {
23250
+ throw new Error('Not Support Platform ' + $os);
23251
+ }
23252
+ },
22385
23253
  set: function (value) {
22386
23254
  var $os = env.getOS();
22387
23255
  if ($os === 'android') {
@@ -22874,221 +23742,6 @@ var VeLiveAudioDevice = function () {
22874
23742
  return _classThis;
22875
23743
  }();
22876
23744
 
22877
- var VeLiveMixerManager$2 = function () {
22878
- var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.mixer.MixerManager')];
22879
- var _classDescriptor;
22880
- var _classExtraInitializers = [];
22881
- var _classThis;
22882
- var _instanceExtraInitializers = [];
22883
- var _setPusher_decorators;
22884
- var _addView_decorators;
22885
- var _updateView_decorators;
22886
- var _removeView_decorators;
22887
- _classThis = /** @class */ (function () {
22888
- function VeLiveMixerManager_1() {
22889
- __runInitializers(this, _instanceExtraInitializers);
22890
- }
22891
- VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
22892
- throw new Error('');
22893
- };
22894
- VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
22895
- throw new Error('');
22896
- };
22897
- VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
22898
- throw new Error('');
22899
- };
22900
- VeLiveMixerManager_1.prototype.removeView = function (viewId) {
22901
- throw new Error('');
22902
- };
22903
- return VeLiveMixerManager_1;
22904
- }());
22905
- __setFunctionName(_classThis, "VeLiveMixerManager");
22906
- (function () {
22907
- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
22908
- _setPusher_decorators = [NativeMethodSync()];
22909
- _addView_decorators = [NativeMethod()];
22910
- _updateView_decorators = [NativeMethod()];
22911
- _removeView_decorators = [NativeMethod()];
22912
- __esDecorate(_classThis, null, _setPusher_decorators, { kind: "method", name: "setPusher", static: false, private: false, access: { has: function (obj) { return "setPusher" in obj; }, get: function (obj) { return obj.setPusher; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22913
- __esDecorate(_classThis, null, _addView_decorators, { kind: "method", name: "addView", static: false, private: false, access: { has: function (obj) { return "addView" in obj; }, get: function (obj) { return obj.addView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22914
- __esDecorate(_classThis, null, _updateView_decorators, { kind: "method", name: "updateView", static: false, private: false, access: { has: function (obj) { return "updateView" in obj; }, get: function (obj) { return obj.updateView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22915
- __esDecorate(_classThis, null, _removeView_decorators, { kind: "method", name: "removeView", static: false, private: false, access: { has: function (obj) { return "removeView" in obj; }, get: function (obj) { return obj.removeView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22916
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
22917
- _classThis = _classDescriptor.value;
22918
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
22919
- __runInitializers(_classThis, _classExtraInitializers);
22920
- })();
22921
- return _classThis;
22922
- }();
22923
-
22924
- var VeLiveMixerManager$1 = function () {
22925
- var _classDecorators = [NativeClass('VeLiveMixerHelper')];
22926
- var _classDescriptor;
22927
- var _classExtraInitializers = [];
22928
- var _classThis;
22929
- var _instanceExtraInitializers = [];
22930
- var _setPusher_decorators;
22931
- var _addView_decorators;
22932
- var _updateView_decorators;
22933
- var _removeView_decorators;
22934
- var _captureView_decorators;
22935
- _classThis = /** @class */ (function () {
22936
- function VeLiveMixerManager_1() {
22937
- __runInitializers(this, _instanceExtraInitializers);
22938
- }
22939
- VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
22940
- throw new Error('');
22941
- };
22942
- VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
22943
- throw new Error('');
22944
- };
22945
- VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
22946
- throw new Error('');
22947
- };
22948
- VeLiveMixerManager_1.prototype.removeView = function (viewId) {
22949
- throw new Error('');
22950
- };
22951
- VeLiveMixerManager_1.prototype.captureView = function (viewId) {
22952
- throw new Error('');
22953
- };
22954
- return VeLiveMixerManager_1;
22955
- }());
22956
- __setFunctionName(_classThis, "VeLiveMixerManager");
22957
- (function () {
22958
- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
22959
- _setPusher_decorators = [NativeMethodSync('setPusher:')];
22960
- _addView_decorators = [NativeMethod('addView:config:')];
22961
- _updateView_decorators = [NativeMethod('updateView:config:')];
22962
- _removeView_decorators = [NativeMethod('removeView:')];
22963
- _captureView_decorators = [NativeMethod('captureView:')];
22964
- __esDecorate(_classThis, null, _setPusher_decorators, { kind: "method", name: "setPusher", static: false, private: false, access: { has: function (obj) { return "setPusher" in obj; }, get: function (obj) { return obj.setPusher; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22965
- __esDecorate(_classThis, null, _addView_decorators, { kind: "method", name: "addView", static: false, private: false, access: { has: function (obj) { return "addView" in obj; }, get: function (obj) { return obj.addView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22966
- __esDecorate(_classThis, null, _updateView_decorators, { kind: "method", name: "updateView", static: false, private: false, access: { has: function (obj) { return "updateView" in obj; }, get: function (obj) { return obj.updateView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22967
- __esDecorate(_classThis, null, _removeView_decorators, { kind: "method", name: "removeView", static: false, private: false, access: { has: function (obj) { return "removeView" in obj; }, get: function (obj) { return obj.removeView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22968
- __esDecorate(_classThis, null, _captureView_decorators, { kind: "method", name: "captureView", static: false, private: false, access: { has: function (obj) { return "captureView" in obj; }, get: function (obj) { return obj.captureView; } }, metadata: _metadata }, null, _instanceExtraInitializers);
22969
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
22970
- _classThis = _classDescriptor.value;
22971
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
22972
- __runInitializers(_classThis, _classExtraInitializers);
22973
- })();
22974
- return _classThis;
22975
- }();
22976
-
22977
- var VeLiveMixerManager = function () {
22978
- var _classDecorators = [PackClass()];
22979
- var _classDescriptor;
22980
- var _classExtraInitializers = [];
22981
- var _classThis;
22982
- _classThis = /** @class */ (function () {
22983
- function VeLiveMixerManager_1(pusher) {
22984
- this._views = new Map();
22985
- this._pusher = pusher;
22986
- }
22987
- VeLiveMixerManager_1.prototype.__init = function () {
22988
- this._instance = this.__new_instance();
22989
- };
22990
- VeLiveMixerManager_1.prototype.__new_instance = function () {
22991
- var $os = env.getOS();
22992
- if ($os === 'android') {
22993
- var instance = new VeLiveMixerManager$2();
22994
- instance.setPusher(unpackObject(this._pusher));
22995
- return instance;
22996
- }
22997
- else if ($os === 'ios') {
22998
- var instance = new VeLiveMixerManager$1();
22999
- instance.setPusher(unpackObject(this._pusher));
23000
- return instance;
23001
- }
23002
- else {
23003
- throw new Error('Not Support Platform ' + $os);
23004
- }
23005
- };
23006
- /**
23007
- * Add view to mixer - support hybrid-runtime way
23008
- * @param viewId viewId string
23009
- * @param config mixer configuration
23010
- */
23011
- VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
23012
- return __awaiter(this, void 0, void 0, function () {
23013
- return __generator(this, function (_a) {
23014
- switch (_a.label) {
23015
- case 0:
23016
- _a.trys.push([0, 2, , 3]);
23017
- if (!this._instance) {
23018
- return [2 /*return*/, false];
23019
- }
23020
- this._views.set(viewId, config);
23021
- return [4 /*yield*/, this._instance.addView(viewId, config)];
23022
- case 1:
23023
- _a.sent();
23024
- return [2 /*return*/, true];
23025
- case 2:
23026
- _a.sent();
23027
- return [2 /*return*/, false];
23028
- case 3: return [2 /*return*/];
23029
- }
23030
- });
23031
- });
23032
- };
23033
- /**
23034
- * Update view configuration
23035
- */
23036
- VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
23037
- return __awaiter(this, void 0, void 0, function () {
23038
- var existingConfig, newConfig;
23039
- return __generator(this, function (_a) {
23040
- switch (_a.label) {
23041
- case 0:
23042
- _a.trys.push([0, 2, , 3]);
23043
- existingConfig = this._views.get(viewId);
23044
- if (!existingConfig) {
23045
- return [2 /*return*/, false];
23046
- }
23047
- newConfig = __assign(__assign({}, existingConfig), config);
23048
- this._views.set(viewId, newConfig);
23049
- return [4 /*yield*/, this._instance.updateView(viewId, newConfig)];
23050
- case 1:
23051
- _a.sent();
23052
- return [2 /*return*/, true];
23053
- case 2:
23054
- _a.sent();
23055
- return [2 /*return*/, false];
23056
- case 3: return [2 /*return*/];
23057
- }
23058
- });
23059
- });
23060
- };
23061
- /**
23062
- * Remove view
23063
- */
23064
- VeLiveMixerManager_1.prototype.removeView = function (viewId) {
23065
- return __awaiter(this, void 0, void 0, function () {
23066
- return __generator(this, function (_a) {
23067
- try {
23068
- this._views.delete(viewId);
23069
- this._instance.removeView(viewId);
23070
- return [2 /*return*/, true];
23071
- }
23072
- catch (error) {
23073
- return [2 /*return*/, false];
23074
- }
23075
- return [2 /*return*/];
23076
- });
23077
- });
23078
- };
23079
- return VeLiveMixerManager_1;
23080
- }());
23081
- __setFunctionName(_classThis, "VeLiveMixerManager");
23082
- (function () {
23083
- var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
23084
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
23085
- _classThis = _classDescriptor.value;
23086
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
23087
- __runInitializers(_classThis, _classExtraInitializers);
23088
- })();
23089
- return _classThis;
23090
- }();
23091
-
23092
23745
  function runImpl(context, androidImpl, iosImpl) {
23093
23746
  if (env.getOS() === 'android') {
23094
23747
  var androidEngine = unpackObject(context);
@@ -23102,18 +23755,8 @@ function runImpl(context, androidImpl, iosImpl) {
23102
23755
  throw new Error("not support: ".concat(env.getOS()));
23103
23756
  }
23104
23757
  }
23105
- extendsClassMethod(VeLivePusher, 'getMixerManager', function (origin) {
23106
- return function getMixerManager() {
23107
- if (Reflect.get(this, '__mixerManager')) {
23108
- return Reflect.get(this, '__mixerManager');
23109
- }
23110
- var mixerManager = new VeLiveMixerManager(this);
23111
- Reflect.set(this, '__mixerManager', mixerManager);
23112
- return mixerManager;
23113
- };
23114
- });
23115
23758
  extendsClassMethod(VeLivePusher, 'destroy', function (origin) {
23116
- return function destroy() {
23759
+ return function destory() {
23117
23760
  var _this = this;
23118
23761
  origin();
23119
23762
  return runImpl(this, function (engine) { return __awaiter(_this, void 0, void 0, function () {
@@ -23976,29 +24619,14 @@ function initIOSPusher(options) {
23976
24619
  }
23977
24620
  function initPusher(options) {
23978
24621
  return __awaiter(this, void 0, void 0, function () {
23979
- var pusher, _a, mixerManager;
23980
- return __generator(this, function (_b) {
23981
- switch (_b.label) {
23982
- case 0:
23983
- _a = reactNative.Platform.OS;
23984
- switch (_a) {
23985
- case 'android': return [3 /*break*/, 1];
23986
- case 'ios': return [3 /*break*/, 3];
23987
- }
23988
- return [3 /*break*/, 5];
23989
- case 1: return [4 /*yield*/, initAndroidPusher(options)];
23990
- case 2:
23991
- pusher = (_b.sent());
23992
- return [3 /*break*/, 6];
23993
- case 3: return [4 /*yield*/, initIOSPusher(options)];
23994
- case 4:
23995
- pusher = (_b.sent());
23996
- return [3 /*break*/, 6];
23997
- case 5: throw new Error('Unsupported platform');
23998
- case 6:
23999
- mixerManager = new VeLiveMixerManager(pusher);
24000
- Reflect.set(pusher, '__mixerManager', mixerManager);
24001
- return [2 /*return*/, pusher];
24622
+ return __generator(this, function (_a) {
24623
+ switch (reactNative.Platform.OS) {
24624
+ case 'android':
24625
+ return [2 /*return*/, initAndroidPusher(options)];
24626
+ case 'ios':
24627
+ return [2 /*return*/, initIOSPusher(options)];
24628
+ default:
24629
+ throw new Error('Unsupported platform');
24002
24630
  }
24003
24631
  });
24004
24632
  });
@@ -24047,78 +24675,13 @@ function startScreenCapture(pusher, options) {
24047
24675
  });
24048
24676
  }
24049
24677
 
24050
- var NativeMixView = reactNative.requireNativeComponent('VeLiveMixView');
24051
- var index = 0;
24052
- var getId = function () {
24053
- return Math.random().toString(36).substring(2, 10) + index++;
24054
- };
24055
- var MixView = React.forwardRef(function (props, ref) {
24056
- var _a = props.captureMode, captureMode = _a === void 0 ? 'onchange' : _a, // Default to most performant mode
24057
- captureFramerate = props.captureFramerate, _b = props.autoSensitivity, autoSensitivity = _b === void 0 ? 5 : _b, // Default sensitivity
24058
- onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, restProps = __rest(props, ["captureMode", "captureFramerate", "autoSensitivity", "onViewMount", "onViewUnmount"]);
24059
- var viewId = React.useMemo(function () {
24060
- return restProps.viewId || getId();
24061
- }, [restProps.viewId]);
24062
- React.useEffect(function () {
24063
- if (onViewMount) {
24064
- onViewMount(viewId);
24065
- }
24066
- return function () {
24067
- if (onViewUnmount) {
24068
- onViewUnmount(viewId);
24069
- }
24070
- };
24071
- // eslint-disable-next-line react-hooks/exhaustive-deps
24072
- }, [viewId]);
24073
- return (jsxRuntime.jsx(NativeMixView, __assign({}, restProps, { viewId: viewId, captureMode: captureMode, captureFramerate: captureFramerate, autoSensitivity: autoSensitivity, ref: ref })));
24074
- });
24075
-
24076
- var VeView = React.forwardRef(function (props, ref) {
24077
- var children = props.children, renderMode = props.renderMode, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, viewProps = __rest(props, ["children", "renderMode", "onViewMount", "onViewUnmount", "viewId"]);
24078
- return (jsxRuntime.jsx(MixView, { renderMode: renderMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntime.jsx(reactNative.View, __assign({}, viewProps, { ref: ref, children: children })) }));
24079
- });
24080
-
24081
- var VeTextView = React.forwardRef(function (props, ref) {
24082
- var renderMode = props.renderMode, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, textProps = __rest(props, ["renderMode", "onViewMount", "onViewUnmount", "viewId"]);
24083
- return (jsxRuntime.jsx(MixView, { renderMode: renderMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntime.jsx(reactNative.Text, __assign({}, textProps, { ref: ref, children: textProps.children })) }));
24084
- });
24085
-
24086
- var VeImageView = React.forwardRef(function (props, ref) {
24087
- var children = props.children, renderMode = props.renderMode, _a = props.animated, animated = _a === void 0 ? false : _a, captureMode = props.captureMode, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, style = props.style, imageProps = __rest(props, ["children", "renderMode", "animated", "captureMode", "onViewMount", "onViewUnmount", "viewId", "style"]);
24088
- var captureViewId = React.useRef(viewId || '');
24089
- // Auto-detect capture mode based on animation
24090
- var finalCaptureMode = captureMode || (animated ? 'realtime' : 'onchange');
24091
- var handleImageLoad = function () {
24092
- onViewMount === null || onViewMount === void 0 ? void 0 : onViewMount(captureViewId.current);
24093
- };
24094
- var onWrapperViewMount = function (calcViewId) {
24095
- captureViewId.current = calcViewId;
24096
- };
24097
- var mergedStyle = React.useMemo(function () {
24098
- var defaultStyle = {
24099
- width: '100%',
24100
- height: '100%',
24101
- };
24102
- return reactNative.StyleSheet.flatten([defaultStyle, style]);
24103
- }, [style]);
24104
- return (jsxRuntime.jsx(MixView, { renderMode: renderMode, captureMode: finalCaptureMode, viewId: viewId, onViewMount: onWrapperViewMount, onViewUnmount: onViewUnmount, children: children ? (children) : (jsxRuntime.jsx(reactNative.Image, __assign({}, imageProps, { onLoad: handleImageLoad, style: mergedStyle, ref: ref }))) }));
24105
- });
24106
-
24107
- var VeWebView = React.forwardRef(function (props, ref) {
24108
- var renderMode = props.renderMode, _a = props.captureMode, captureMode = _a === void 0 ? 'auto' : _a, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, viewProps = __rest(props, ["renderMode", "captureMode", "onViewMount", "onViewUnmount", "viewId"]);
24109
- return (jsxRuntime.jsx(MixView, { renderMode: renderMode, captureMode: captureMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntime.jsx(reactNative.View, __assign({}, viewProps, { ref: ref })) }));
24110
- });
24111
-
24112
24678
  setupJSBridge(new ReactNativeBridge(reactNative.NativeModules.VeLivePushModule, 'VeLivePush:onEvent'));
24113
24679
  setupEnv(new ReactNativeEnv());
24114
24680
  setupLogger({
24115
24681
  customer: function (msg) { return console.log('vepusher-log:', msg); },
24116
24682
  });
24117
24683
 
24118
- exports.MixView = MixView;
24119
- exports.NativeMixView = NativeMixView;
24120
24684
  exports.NativeViewComponent = NativeViewComponent;
24121
- exports.VeImageView = VeImageView;
24122
24685
  exports.VeLiveAudioCaptureConfiguration = VeLiveAudioCaptureConfiguration;
24123
24686
  exports.VeLiveAudioDevice = VeLiveAudioDevice;
24124
24687
  exports.VeLiveAudioEncoderConfiguration = VeLiveAudioEncoderConfiguration;
@@ -24128,6 +24691,7 @@ exports.VeLiveFileRecorderConfiguration = VeLiveFileRecorderConfiguration;
24128
24691
  exports.VeLiveMediaPlayer = VeLiveMediaPlayer;
24129
24692
  exports.VeLiveMixAudioLayout = VeLiveMixAudioLayout;
24130
24693
  exports.VeLiveMixVideoLayout = VeLiveMixVideoLayout;
24694
+ exports.VeLiveMixerManager = VeLiveMixerManager;
24131
24695
  exports.VeLivePusher = VeLivePusher;
24132
24696
  exports.VeLivePusherConfiguration = VeLivePusherConfiguration;
24133
24697
  exports.VeLivePusherStatistics = VeLivePusherStatistics;
@@ -24137,9 +24701,6 @@ exports.VeLiveVideoEffectLicenseConfiguration = VeLiveVideoEffectLicenseConfigur
24137
24701
  exports.VeLiveVideoEffectManager = VeLiveVideoEffectManager;
24138
24702
  exports.VeLiveVideoEncoderConfiguration = VeLiveVideoEncoderConfiguration;
24139
24703
  exports.VeLiveVideoFrame = VeLiveVideoFrame;
24140
- exports.VeTextView = VeTextView;
24141
- exports.VeView = VeView;
24142
- exports.VeWebView = VeWebView;
24143
24704
  exports.android_VeLiveAudioFrameFilter = android_VeLiveAudioFrameFilter;
24144
24705
  exports.android_VeLiveAudioFrameListener = android_VeLiveAudioFrameListener;
24145
24706
  exports.android_VeLiveFileRecordingListener = android_VeLiveFileRecordingListener;