@byteplus/react-native-live-push 1.1.3-rc.0 → 1.1.3-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 (123) hide show
  1. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +13 -2
  2. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushPackage.java +16 -13
  3. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +16 -0
  4. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +7 -2
  5. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +392 -0
  6. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +415 -0
  7. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerViewManager.java +79 -0
  8. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/TextureMgr.java +168 -0
  9. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/YuvHelper.java +154 -0
  10. package/ios/VeLiveMixerHelper.h +44 -0
  11. package/ios/VeLiveMixerHelper.m +562 -0
  12. package/ios/VeLiveMixerView.h +69 -0
  13. package/ios/VeLiveMixerView.m +592 -0
  14. package/ios/VeLiveMixerViewManager.m +92 -0
  15. package/lib/commonjs/index.js +1779 -980
  16. package/lib/commonjs/typescript/android/index.d.ts +47 -0
  17. package/lib/commonjs/typescript/codegen/android/api.d.ts +1527 -0
  18. package/lib/commonjs/typescript/codegen/android/callback.d.ts +91 -0
  19. package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +26 -0
  20. package/lib/commonjs/typescript/codegen/android/index.d.ts +5 -0
  21. package/lib/commonjs/typescript/codegen/android/keytype.d.ts +846 -0
  22. package/lib/commonjs/typescript/codegen/android/types.d.ts +33 -0
  23. package/lib/commonjs/typescript/codegen/ios/api.d.ts +222 -0
  24. package/lib/commonjs/typescript/codegen/ios/callback.d.ts +80 -0
  25. package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +54 -0
  26. package/lib/commonjs/typescript/codegen/ios/external.d.ts +1 -0
  27. package/lib/commonjs/typescript/codegen/ios/index.d.ts +6 -0
  28. package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +460 -0
  29. package/lib/commonjs/typescript/codegen/ios/types.d.ts +46 -0
  30. package/lib/commonjs/typescript/codegen/pack/api.d.ts +1835 -0
  31. package/lib/commonjs/typescript/codegen/pack/callback.d.ts +400 -0
  32. package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +35 -0
  33. package/lib/commonjs/typescript/codegen/pack/index.d.ts +5 -0
  34. package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +1392 -0
  35. package/lib/commonjs/typescript/codegen/pack/types.d.ts +68 -0
  36. package/lib/commonjs/typescript/codegen/type-shim.d.ts +6 -0
  37. package/lib/commonjs/typescript/component.d.ts +15 -0
  38. package/lib/commonjs/typescript/core/api.d.ts +17 -0
  39. package/lib/commonjs/typescript/core/callback.d.ts +2 -0
  40. package/lib/commonjs/typescript/core/env.d.ts +29 -0
  41. package/lib/commonjs/typescript/core/errorcode.d.ts +2 -0
  42. package/lib/commonjs/typescript/core/index.d.ts +6 -0
  43. package/lib/commonjs/typescript/core/keytype.d.ts +17 -0
  44. package/lib/commonjs/typescript/core/mixer.d.ts +26 -0
  45. package/lib/commonjs/typescript/core/pusher.d.ts +16 -0
  46. package/lib/commonjs/typescript/index.d.ts +3 -0
  47. package/lib/commonjs/typescript/ios/extends.d.ts +41 -0
  48. package/lib/commonjs/typescript/platforms/android/extends.d.ts +8 -0
  49. package/lib/commonjs/typescript/platforms/android/helper.d.ts +8 -0
  50. package/lib/commonjs/typescript/platforms/android/mixer.d.ts +8 -0
  51. package/lib/commonjs/typescript/platforms/ios/extends.d.ts +17 -0
  52. package/lib/commonjs/typescript/platforms/ios/helper.d.ts +8 -0
  53. package/lib/commonjs/typescript/platforms/ios/mixer.d.ts +9 -0
  54. package/lib/commonjs/typescript/runtime.d.ts +1 -0
  55. package/lib/commonjs/typescript/view/MixView.d.ts +52 -0
  56. package/lib/commonjs/typescript/view/VeImageView.d.ts +19 -0
  57. package/lib/commonjs/typescript/view/VeTextView.d.ts +7 -0
  58. package/lib/commonjs/typescript/view/VeView.d.ts +7 -0
  59. package/lib/commonjs/typescript/view/VeWebView.d.ts +7 -0
  60. package/lib/commonjs/typescript/view/index.d.ts +5 -0
  61. package/lib/module/index.js +1776 -982
  62. package/lib/module/typescript/android/index.d.ts +47 -0
  63. package/lib/module/typescript/codegen/android/api.d.ts +1527 -0
  64. package/lib/module/typescript/codegen/android/callback.d.ts +91 -0
  65. package/lib/module/typescript/codegen/android/errorcode.d.ts +26 -0
  66. package/lib/module/typescript/codegen/android/index.d.ts +5 -0
  67. package/lib/module/typescript/codegen/android/keytype.d.ts +846 -0
  68. package/lib/module/typescript/codegen/android/types.d.ts +33 -0
  69. package/lib/module/typescript/codegen/ios/api.d.ts +222 -0
  70. package/lib/module/typescript/codegen/ios/callback.d.ts +80 -0
  71. package/lib/module/typescript/codegen/ios/errorcode.d.ts +54 -0
  72. package/lib/module/typescript/codegen/ios/external.d.ts +1 -0
  73. package/lib/module/typescript/codegen/ios/index.d.ts +6 -0
  74. package/lib/module/typescript/codegen/ios/keytype.d.ts +460 -0
  75. package/lib/module/typescript/codegen/ios/types.d.ts +46 -0
  76. package/lib/module/typescript/codegen/pack/api.d.ts +1835 -0
  77. package/lib/module/typescript/codegen/pack/callback.d.ts +400 -0
  78. package/lib/module/typescript/codegen/pack/errorcode.d.ts +35 -0
  79. package/lib/module/typescript/codegen/pack/index.d.ts +5 -0
  80. package/lib/module/typescript/codegen/pack/keytype.d.ts +1392 -0
  81. package/lib/module/typescript/codegen/pack/types.d.ts +68 -0
  82. package/lib/module/typescript/codegen/type-shim.d.ts +6 -0
  83. package/lib/module/typescript/component.d.ts +15 -0
  84. package/lib/module/typescript/core/api.d.ts +17 -0
  85. package/lib/module/typescript/core/callback.d.ts +2 -0
  86. package/lib/module/typescript/core/env.d.ts +29 -0
  87. package/lib/module/typescript/core/errorcode.d.ts +2 -0
  88. package/lib/module/typescript/core/index.d.ts +6 -0
  89. package/lib/module/typescript/core/keytype.d.ts +17 -0
  90. package/lib/module/typescript/core/mixer.d.ts +26 -0
  91. package/lib/module/typescript/core/pusher.d.ts +16 -0
  92. package/lib/module/typescript/index.d.ts +3 -0
  93. package/lib/module/typescript/ios/extends.d.ts +41 -0
  94. package/lib/module/typescript/platforms/android/extends.d.ts +8 -0
  95. package/lib/module/typescript/platforms/android/helper.d.ts +8 -0
  96. package/lib/module/typescript/platforms/android/mixer.d.ts +8 -0
  97. package/lib/module/typescript/platforms/ios/extends.d.ts +17 -0
  98. package/lib/module/typescript/platforms/ios/helper.d.ts +8 -0
  99. package/lib/module/typescript/platforms/ios/mixer.d.ts +9 -0
  100. package/lib/module/typescript/runtime.d.ts +1 -0
  101. package/lib/module/typescript/view/MixView.d.ts +52 -0
  102. package/lib/module/typescript/view/VeImageView.d.ts +19 -0
  103. package/lib/module/typescript/view/VeTextView.d.ts +7 -0
  104. package/lib/module/typescript/view/VeView.d.ts +7 -0
  105. package/lib/module/typescript/view/VeWebView.d.ts +7 -0
  106. package/lib/module/typescript/view/index.d.ts +5 -0
  107. package/lib/typescript/codegen/android/api.d.ts +1 -121
  108. package/lib/typescript/codegen/ios/api.d.ts +1 -28
  109. package/lib/typescript/codegen/pack/api.d.ts +1 -133
  110. package/lib/typescript/core/api.d.ts +17 -2
  111. package/lib/typescript/core/keytype.d.ts +15 -0
  112. package/lib/typescript/core/mixer.d.ts +26 -0
  113. package/lib/typescript/index.d.ts +1 -0
  114. package/lib/typescript/platforms/android/extends.d.ts +8 -0
  115. package/lib/typescript/platforms/android/mixer.d.ts +8 -0
  116. package/lib/typescript/platforms/ios/mixer.d.ts +9 -0
  117. package/lib/typescript/view/MixView.d.ts +52 -0
  118. package/lib/typescript/view/VeImageView.d.ts +19 -0
  119. package/lib/typescript/view/VeTextView.d.ts +7 -0
  120. package/lib/typescript/view/VeView.d.ts +7 -0
  121. package/lib/typescript/view/VeWebView.d.ts +7 -0
  122. package/lib/typescript/view/index.d.ts +5 -0
  123. package/package.json +1 -1
@@ -2210,6 +2210,17 @@ function __extends(d, b) {
2210
2210
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2211
2211
  }
2212
2212
 
2213
+ var __assign = function() {
2214
+ __assign = Object.assign || function __assign(t) {
2215
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2216
+ s = arguments[i];
2217
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2218
+ }
2219
+ return t;
2220
+ };
2221
+ return __assign.apply(this, arguments);
2222
+ };
2223
+
2213
2224
  function __rest(s, e) {
2214
2225
  var t = {};
2215
2226
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -5966,7 +5977,6 @@ var VeLivePusher$2 = function () {
5966
5977
  var _getAudioDevice_decorators;
5967
5978
  var _setAudioFrameFilter_decorators;
5968
5979
  var _createPlayer_decorators;
5969
- var _getMixerManager_decorators;
5970
5980
  var _startScreenRecording_decorators;
5971
5981
  var _stopScreenRecording_decorators;
5972
5982
  var _isScreenRecording_decorators;
@@ -6872,25 +6882,6 @@ var VeLivePusher$2 = function () {
6872
6882
  VeLivePusher_1.prototype.createPlayer = function () {
6873
6883
  throw new Error('not implement');
6874
6884
  };
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
- };
6894
6885
  /** {zh}
6895
6886
  * @detail api
6896
6887
  * @brief 开始屏幕采集。
@@ -7106,7 +7097,6 @@ var VeLivePusher$2 = function () {
7106
7097
  _getAudioDevice_decorators = [ReturnClass(function () { return VeLiveAudioDevice$2; }), NativeMethodSync()];
7107
7098
  _setAudioFrameFilter_decorators = [NativeMethodSync()];
7108
7099
  _createPlayer_decorators = [ReturnClass(function () { return VeLiveMediaPlayer$2; }), NativeMethodSync()];
7109
- _getMixerManager_decorators = [ReturnClass(function () { return VeLiveMixerManager$2; }), NativeMethodSync()];
7110
7100
  _startScreenRecording_decorators = [NativeMethodSync()];
7111
7101
  _stopScreenRecording_decorators = [NativeMethodSync()];
7112
7102
  _isScreenRecording_decorators = [NativeMethodSync()];
@@ -7158,7 +7148,6 @@ var VeLivePusher$2 = function () {
7158
7148
  __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);
7159
7149
  __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);
7160
7150
  __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);
7162
7151
  __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);
7163
7152
  __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);
7164
7153
  __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);
@@ -7175,269 +7164,6 @@ var VeLivePusher$2 = function () {
7175
7164
  })();
7176
7165
  return _classThis;
7177
7166
  }();
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
- }();
7441
7167
  var VeLiveMediaPlayer$2 = function () {
7442
7168
  var _classDecorators = [NativeClass('com.ss.avframework.live.VeLiveMediaPlayer')];
7443
7169
  var _classDescriptor;
@@ -9472,255 +9198,92 @@ var VeLiveAudioDevice$1 = function () {
9472
9198
  })();
9473
9199
  return _classThis;
9474
9200
  }();
9475
- var VeLiveMixerManager$1 = function () {
9476
- var _classDecorators = [NativeClass('VeLiveMixerManager')];
9201
+ var VeLivePusher$1 = function () {
9202
+ var _classDecorators = [NativeClass('VeLivePusher')];
9477
9203
  var _classDescriptor;
9478
9204
  var _classExtraInitializers = [];
9479
9205
  var _classThis;
9206
+ var _staticExtraInitializers = [];
9480
9207
  var _instanceExtraInitializers = [];
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;
9208
+ var _static_setLogLevel_decorators;
9209
+ var _startScreenCapture_decorators;
9210
+ var _stopScreenCapture_decorators;
9492
9211
  var _init_decorators;
9212
+ var _initWithConfig_decorators;
9213
+ var _destroy_decorators;
9214
+ var _setObserver_decorators;
9215
+ var _setStatisticsObserver_decorators;
9216
+ var _addVideoFrameListener_decorators;
9217
+ var _removeVideoFrameListener_decorators;
9218
+ var _addAudioFrameListener_decorators;
9219
+ var _removeAudioFrameListener_decorators;
9220
+ var _setScreenCaptureObserver_decorators;
9221
+ var _setRenderView_decorators;
9222
+ var _setRenderFillMode_decorators;
9223
+ var _setVideoMirror_decorators;
9224
+ var _startPush_decorators;
9225
+ var _startPushWithUrls_decorators;
9226
+ var _stopPush_decorators;
9227
+ var _isPushing_decorators;
9228
+ var _startVideoCapture_decorators;
9229
+ var _stopVideoCapture_decorators;
9230
+ var _switchVideoCapture_decorators;
9231
+ var _startAudioCapture_decorators;
9232
+ var _stopAudioCapture_decorators;
9233
+ var _switchAudioCapture_decorators;
9234
+ var _getCurrentVideoCaptureType_decorators;
9235
+ var _getCurrentAudioCaptureType_decorators;
9236
+ var _updateCustomImage_decorators;
9237
+ var _setMute_decorators;
9238
+ var _isMute_decorators;
9239
+ var _setVideoEncoderConfiguration_decorators;
9240
+ var _setAudioEncoderConfiguration_decorators;
9241
+ var _startFileRecording_decorators;
9242
+ var _stopFileRecording_decorators;
9243
+ var _getCameraDevice_decorators;
9244
+ var _getAudioDevice_decorators;
9245
+ var _getVideoEffectManager_decorators;
9246
+ var _createPlayer_decorators;
9247
+ var _setVideoFrameFilter_decorators;
9248
+ var _setAudioFrameFilter_decorators;
9249
+ var _setOrientation_decorators;
9250
+ var _setWatermark_decorators;
9251
+ var _snapshot_decorators;
9252
+ var _sendSeiMessage_decorators;
9253
+ var _pushExternalVideoFrame_decorators;
9254
+ var _pushExternalVideoEncodeFrame_decorators;
9255
+ var _pushExternalAudioFrame_decorators;
9256
+ var _setProperty_decorators;
9257
+ var _requestIDRFrame_decorators;
9493
9258
  _classThis = /** @class */ (function () {
9494
- function VeLiveMixerManager_1() {
9259
+ function VeLivePusher_1() {
9495
9260
  __runInitializers(this, _instanceExtraInitializers);
9496
9261
  }
9497
9262
  /** {zh}
9498
9263
  * @detail api
9499
- * @brief 添加一路需要混流的视频流到混流器中。
9500
- * @return <br>
9501
- * 视频流 ID
9502
- * @order 65
9264
+ * @brief 设置输出到控制台的日志等级。
9265
+ * @order 48
9266
+ * @param level 输出的日志级别,默认值为 `VeLivePusherLogLevelNone`,表示关闭日志。级别详情请参见 [VeLivePusherLogLevel](155321#VeLivePusherLogLevel)
9503
9267
  */
9504
- VeLiveMixerManager_1.prototype.addVideoStream = function () {
9268
+ VeLivePusher_1.setLogLevel = function (level) {
9505
9269
  throw new Error('not implement');
9506
9270
  };
9507
9271
  /** {zh}
9508
9272
  * @detail api
9509
- * @brief 从混流器中移除一路非主路的视频流。
9510
- * @order 66
9511
- * @param streamId 需要移除的非主路视频流 ID。
9273
+ * @param applicationGroupIdentifier iOS app group 标识符。
9274
+ * @brief 开启屏幕采集。
9512
9275
  */
9513
- VeLiveMixerManager_1.prototype.removeVideoStream = function (streamId) {
9276
+ VeLivePusher_1.prototype.startScreenCapture = function (applicationGroupIdentifier) {
9514
9277
  throw new Error('not implement');
9515
9278
  };
9516
9279
  /** {zh}
9517
9280
  * @detail api
9518
- * @brief 添加一路音频流到混流器中,并指定混流类型。
9519
- * @param type 混流类型,详情请参见 VeLiveAudioMixType{@link #VeLiveAudioMixType}
9520
- * @return <br>
9521
- * 音频流 ID。
9522
- * @order 68
9281
+ * @brief 关闭屏幕采集。
9523
9282
  */
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 () {
9283
+ VeLivePusher_1.prototype.stopScreenCapture = function () {
9284
+ throw new Error('not implement');
9285
+ };
9286
+ VeLivePusher_1.prototype.init = function () {
9724
9287
  throw new Error('not implement');
9725
9288
  };
9726
9289
  /** {zh}
@@ -10087,16 +9650,6 @@ var VeLivePusher$1 = function () {
10087
9650
  VeLivePusher_1.prototype.getAudioDevice = function () {
10088
9651
  throw new Error('not implement');
10089
9652
  };
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
- };
10100
9653
  /** {zh}
10101
9654
  * @detail api
10102
9655
  * @brief 获取视频特效管理对象 `VeLiveVideoEffectManager`。通过视频特效管理,您可以使用以下功能。
@@ -10301,7 +9854,6 @@ var VeLivePusher$1 = function () {
10301
9854
  _stopFileRecording_decorators = [NativeMethodSync('stopFileRecording')];
10302
9855
  _getCameraDevice_decorators = [ReturnClass(function () { return VeLiveCameraDevice$1; }), NativeMethodSync('getCameraDevice')];
10303
9856
  _getAudioDevice_decorators = [ReturnClass(function () { return VeLiveAudioDevice$1; }), NativeMethodSync('getAudioDevice')];
10304
- _getMixerManager_decorators = [ReturnClass(function () { return VeLiveMixerManager$1; }), NativeMethodSync('getMixerManager')];
10305
9857
  _getVideoEffectManager_decorators = [ReturnClass(function () { return VeLiveVideoEffectManager$1; }), NativeMethodSync('getVideoEffectManager')];
10306
9858
  _createPlayer_decorators = [ReturnClass(function () { return VeLiveMediaPlayer$1; }), NativeMethodSync('createPlayer')];
10307
9859
  _setVideoFrameFilter_decorators = [NativeMethodSync('setVideoFrameFilter:')];
@@ -10352,7 +9904,6 @@ var VeLivePusher$1 = function () {
10352
9904
  __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);
10353
9905
  __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);
10354
9906
  __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);
10356
9907
  __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);
10357
9908
  __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);
10358
9909
  __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);
@@ -19474,37 +19025,6 @@ var VeLivePusher = function () {
19474
19025
  throw new Error('Not Support Platform ' + $os);
19475
19026
  }
19476
19027
  };
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
- };
19508
19028
  /** {zh}
19509
19029
  * @platform android
19510
19030
  * @detail api
@@ -22782,404 +22302,15 @@ var VeLiveVideoEffectManager = function () {
22782
22302
  }();
22783
22303
  /** {zh}
22784
22304
  * @detail api
22785
- * @brief 音视频混流器管理对象。支持添加/移除音视频流、发送自定义音视频帧、更新混流布局等。
22305
+ * @brief 音频帧的数据信息。
22786
22306
  */
22787
- var VeLiveMixerManager = function () {
22307
+ var VeLiveAudioFrame = function () {
22788
22308
  var _classDecorators = [PackClass()];
22789
22309
  var _classDescriptor;
22790
22310
  var _classExtraInitializers = [];
22791
22311
  var _classThis;
22792
22312
  _classThis = /** @class */ (function () {
22793
- function VeLiveMixerManager_1() {
22794
- }
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() {
22313
+ function VeLiveAudioFrame_1() {
23183
22314
  }
23184
22315
  Object.defineProperty(VeLiveAudioFrame_1.prototype, "bufferType", {
23185
22316
  get: function () {
@@ -23742,29 +22873,254 @@ var VeLiveAudioDevice = function () {
23742
22873
  return _classThis;
23743
22874
  }();
23744
22875
 
23745
- function runImpl(context, androidImpl, iosImpl) {
23746
- if (env.getOS() === 'android') {
23747
- var androidEngine = unpackObject(context);
23748
- return androidImpl(androidEngine);
23749
- }
23750
- else if (env.getOS() === 'ios') {
23751
- var iosEngine = unpackObject(context);
23752
- return iosImpl(iosEngine);
23753
- }
23754
- else {
23755
- throw new Error("not support: ".concat(env.getOS()));
23756
- }
23757
- }
23758
- extendsClassMethod(VeLivePusher, 'destroy', function (origin) {
23759
- return function destory() {
23760
- var _this = this;
23761
- origin();
23762
- return runImpl(this, function (engine) { return __awaiter(_this, void 0, void 0, function () {
23763
- return __generator(this, function (_a) {
23764
- VeLivePushHelper$1.removePusher(engine);
23765
- return [2 /*return*/];
23766
- });
23767
- }); }, function (engine) { return __awaiter(_this, void 0, void 0, function () {
22876
+ var VeLiveMixerManager$2 = function () {
22877
+ var _classDecorators = [NativeClass('com.volcengine.velive.rn.push.mixer.MixerManager')];
22878
+ var _classDescriptor;
22879
+ var _classExtraInitializers = [];
22880
+ var _classThis;
22881
+ var _instanceExtraInitializers = [];
22882
+ var _setPusher_decorators;
22883
+ var _addView_decorators;
22884
+ var _updateView_decorators;
22885
+ var _removeView_decorators;
22886
+ _classThis = /** @class */ (function () {
22887
+ function VeLiveMixerManager_1() {
22888
+ __runInitializers(this, _instanceExtraInitializers);
22889
+ }
22890
+ VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
22891
+ throw new Error('');
22892
+ };
22893
+ VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
22894
+ throw new Error('');
22895
+ };
22896
+ VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
22897
+ throw new Error('');
22898
+ };
22899
+ VeLiveMixerManager_1.prototype.removeView = function (viewId) {
22900
+ throw new Error('');
22901
+ };
22902
+ return VeLiveMixerManager_1;
22903
+ }());
22904
+ __setFunctionName(_classThis, "VeLiveMixerManager");
22905
+ (function () {
22906
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
22907
+ _setPusher_decorators = [NativeMethodSync()];
22908
+ _addView_decorators = [NativeMethod()];
22909
+ _updateView_decorators = [NativeMethod()];
22910
+ _removeView_decorators = [NativeMethod()];
22911
+ __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);
22912
+ __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);
22913
+ __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);
22914
+ __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);
22915
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
22916
+ _classThis = _classDescriptor.value;
22917
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
22918
+ __runInitializers(_classThis, _classExtraInitializers);
22919
+ })();
22920
+ return _classThis;
22921
+ }();
22922
+
22923
+ var VeLiveMixerManager$1 = function () {
22924
+ var _classDecorators = [NativeClass('VeLiveMixerHelper')];
22925
+ var _classDescriptor;
22926
+ var _classExtraInitializers = [];
22927
+ var _classThis;
22928
+ var _instanceExtraInitializers = [];
22929
+ var _setPusher_decorators;
22930
+ var _addView_decorators;
22931
+ var _updateView_decorators;
22932
+ var _removeView_decorators;
22933
+ var _captureView_decorators;
22934
+ _classThis = /** @class */ (function () {
22935
+ function VeLiveMixerManager_1() {
22936
+ __runInitializers(this, _instanceExtraInitializers);
22937
+ }
22938
+ VeLiveMixerManager_1.prototype.setPusher = function (pusher) {
22939
+ throw new Error('');
22940
+ };
22941
+ VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
22942
+ throw new Error('');
22943
+ };
22944
+ VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
22945
+ throw new Error('');
22946
+ };
22947
+ VeLiveMixerManager_1.prototype.removeView = function (viewId) {
22948
+ throw new Error('');
22949
+ };
22950
+ VeLiveMixerManager_1.prototype.captureView = function (viewId) {
22951
+ throw new Error('');
22952
+ };
22953
+ return VeLiveMixerManager_1;
22954
+ }());
22955
+ __setFunctionName(_classThis, "VeLiveMixerManager");
22956
+ (function () {
22957
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
22958
+ _setPusher_decorators = [NativeMethodSync('setPusher:')];
22959
+ _addView_decorators = [NativeMethod('addView:config:')];
22960
+ _updateView_decorators = [NativeMethod('updateView:config:')];
22961
+ _removeView_decorators = [NativeMethod('removeView:')];
22962
+ _captureView_decorators = [NativeMethod('captureView:')];
22963
+ __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);
22964
+ __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);
22965
+ __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);
22966
+ __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);
22967
+ __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);
22968
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
22969
+ _classThis = _classDescriptor.value;
22970
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
22971
+ __runInitializers(_classThis, _classExtraInitializers);
22972
+ })();
22973
+ return _classThis;
22974
+ }();
22975
+
22976
+ var VeLiveMixerManager = function () {
22977
+ var _classDecorators = [PackClass()];
22978
+ var _classDescriptor;
22979
+ var _classExtraInitializers = [];
22980
+ var _classThis;
22981
+ _classThis = /** @class */ (function () {
22982
+ function VeLiveMixerManager_1(pusher) {
22983
+ this._views = new Map();
22984
+ this._pusher = pusher;
22985
+ }
22986
+ VeLiveMixerManager_1.prototype.__init = function () {
22987
+ this._instance = this.__new_instance();
22988
+ };
22989
+ VeLiveMixerManager_1.prototype.__new_instance = function () {
22990
+ var $os = env.getOS();
22991
+ if ($os === 'android') {
22992
+ var instance = new VeLiveMixerManager$2();
22993
+ instance.setPusher(unpackObject(this._pusher));
22994
+ return instance;
22995
+ }
22996
+ else if ($os === 'ios') {
22997
+ var instance = new VeLiveMixerManager$1();
22998
+ instance.setPusher(unpackObject(this._pusher));
22999
+ return instance;
23000
+ }
23001
+ else {
23002
+ throw new Error('Not Support Platform ' + $os);
23003
+ }
23004
+ };
23005
+ /**
23006
+ * Add view to mixer - support hybrid-runtime way
23007
+ * @param viewId viewId string
23008
+ * @param config mixer configuration
23009
+ */
23010
+ VeLiveMixerManager_1.prototype.addView = function (viewId, config) {
23011
+ return __awaiter(this, void 0, void 0, function () {
23012
+ return __generator(this, function (_a) {
23013
+ switch (_a.label) {
23014
+ case 0:
23015
+ _a.trys.push([0, 2, , 3]);
23016
+ if (!this._instance) {
23017
+ return [2 /*return*/, false];
23018
+ }
23019
+ this._views.set(viewId, config);
23020
+ return [4 /*yield*/, this._instance.addView(viewId, config)];
23021
+ case 1:
23022
+ _a.sent();
23023
+ return [2 /*return*/, true];
23024
+ case 2:
23025
+ _a.sent();
23026
+ return [2 /*return*/, false];
23027
+ case 3: return [2 /*return*/];
23028
+ }
23029
+ });
23030
+ });
23031
+ };
23032
+ /**
23033
+ * Update view configuration
23034
+ */
23035
+ VeLiveMixerManager_1.prototype.updateView = function (viewId, config) {
23036
+ return __awaiter(this, void 0, void 0, function () {
23037
+ var existingConfig, newConfig;
23038
+ return __generator(this, function (_a) {
23039
+ switch (_a.label) {
23040
+ case 0:
23041
+ _a.trys.push([0, 2, , 3]);
23042
+ existingConfig = this._views.get(viewId);
23043
+ if (!existingConfig) {
23044
+ return [2 /*return*/, false];
23045
+ }
23046
+ newConfig = __assign(__assign({}, existingConfig), config);
23047
+ this._views.set(viewId, newConfig);
23048
+ return [4 /*yield*/, this._instance.updateView(viewId, newConfig)];
23049
+ case 1:
23050
+ _a.sent();
23051
+ return [2 /*return*/, true];
23052
+ case 2:
23053
+ _a.sent();
23054
+ return [2 /*return*/, false];
23055
+ case 3: return [2 /*return*/];
23056
+ }
23057
+ });
23058
+ });
23059
+ };
23060
+ /**
23061
+ * Remove view
23062
+ */
23063
+ VeLiveMixerManager_1.prototype.removeView = function (viewId) {
23064
+ return __awaiter(this, void 0, void 0, function () {
23065
+ return __generator(this, function (_a) {
23066
+ try {
23067
+ this._views.delete(viewId);
23068
+ this._instance.removeView(viewId);
23069
+ return [2 /*return*/, true];
23070
+ }
23071
+ catch (error) {
23072
+ return [2 /*return*/, false];
23073
+ }
23074
+ return [2 /*return*/];
23075
+ });
23076
+ });
23077
+ };
23078
+ return VeLiveMixerManager_1;
23079
+ }());
23080
+ __setFunctionName(_classThis, "VeLiveMixerManager");
23081
+ (function () {
23082
+ var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
23083
+ __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
23084
+ _classThis = _classDescriptor.value;
23085
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
23086
+ __runInitializers(_classThis, _classExtraInitializers);
23087
+ })();
23088
+ return _classThis;
23089
+ }();
23090
+
23091
+ function runImpl(context, androidImpl, iosImpl) {
23092
+ if (env.getOS() === 'android') {
23093
+ var androidEngine = unpackObject(context);
23094
+ return androidImpl(androidEngine);
23095
+ }
23096
+ else if (env.getOS() === 'ios') {
23097
+ var iosEngine = unpackObject(context);
23098
+ return iosImpl(iosEngine);
23099
+ }
23100
+ else {
23101
+ throw new Error("not support: ".concat(env.getOS()));
23102
+ }
23103
+ }
23104
+ extendsClassMethod(VeLivePusher, 'getMixerManager', function (origin) {
23105
+ return function getMixerManager() {
23106
+ if (Reflect.get(this, '__mixerManager')) {
23107
+ return Reflect.get(this, '__mixerManager');
23108
+ }
23109
+ var mixerManager = new VeLiveMixerManager(this);
23110
+ Reflect.set(this, '__mixerManager', mixerManager);
23111
+ return mixerManager;
23112
+ };
23113
+ });
23114
+ extendsClassMethod(VeLivePusher, 'destroy', function (origin) {
23115
+ return function destroy() {
23116
+ var _this = this;
23117
+ origin();
23118
+ return runImpl(this, function (engine) { return __awaiter(_this, void 0, void 0, function () {
23119
+ return __generator(this, function (_a) {
23120
+ VeLivePushHelper$1.removePusher(engine);
23121
+ return [2 /*return*/];
23122
+ });
23123
+ }); }, function (engine) { return __awaiter(_this, void 0, void 0, function () {
23768
23124
  return __generator(this, function (_a) {
23769
23125
  VeLivePushHelper.removePusher(engine);
23770
23126
  return [2 /*return*/];
@@ -24619,14 +23975,29 @@ function initIOSPusher(options) {
24619
23975
  }
24620
23976
  function initPusher(options) {
24621
23977
  return __awaiter(this, void 0, void 0, function () {
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');
23978
+ var pusher, _a, mixerManager;
23979
+ return __generator(this, function (_b) {
23980
+ switch (_b.label) {
23981
+ case 0:
23982
+ _a = reactNative.Platform.OS;
23983
+ switch (_a) {
23984
+ case 'android': return [3 /*break*/, 1];
23985
+ case 'ios': return [3 /*break*/, 3];
23986
+ }
23987
+ return [3 /*break*/, 5];
23988
+ case 1: return [4 /*yield*/, initAndroidPusher(options)];
23989
+ case 2:
23990
+ pusher = (_b.sent());
23991
+ return [3 /*break*/, 6];
23992
+ case 3: return [4 /*yield*/, initIOSPusher(options)];
23993
+ case 4:
23994
+ pusher = (_b.sent());
23995
+ return [3 /*break*/, 6];
23996
+ case 5: throw new Error('Unsupported platform');
23997
+ case 6:
23998
+ mixerManager = new VeLiveMixerManager(pusher);
23999
+ Reflect.set(pusher, '__mixerManager', mixerManager);
24000
+ return [2 /*return*/, pusher];
24630
24001
  }
24631
24002
  });
24632
24003
  });
@@ -24675,13 +24046,1439 @@ function startScreenCapture(pusher, options) {
24675
24046
  });
24676
24047
  }
24677
24048
 
24049
+ var jsxRuntime = {exports: {}};
24050
+
24051
+ var reactJsxRuntime_production_min = {};
24052
+
24053
+ /**
24054
+ * @license React
24055
+ * react-jsx-runtime.production.min.js
24056
+ *
24057
+ * Copyright (c) Facebook, Inc. and its affiliates.
24058
+ *
24059
+ * This source code is licensed under the MIT license found in the
24060
+ * LICENSE file in the root directory of this source tree.
24061
+ */
24062
+
24063
+ var hasRequiredReactJsxRuntime_production_min;
24064
+
24065
+ function requireReactJsxRuntime_production_min () {
24066
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
24067
+ hasRequiredReactJsxRuntime_production_min = 1;
24068
+ var f=React,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
24069
+ function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
24070
+ return reactJsxRuntime_production_min;
24071
+ }
24072
+
24073
+ var reactJsxRuntime_development = {};
24074
+
24075
+ /**
24076
+ * @license React
24077
+ * react-jsx-runtime.development.js
24078
+ *
24079
+ * Copyright (c) Facebook, Inc. and its affiliates.
24080
+ *
24081
+ * This source code is licensed under the MIT license found in the
24082
+ * LICENSE file in the root directory of this source tree.
24083
+ */
24084
+
24085
+ var hasRequiredReactJsxRuntime_development;
24086
+
24087
+ function requireReactJsxRuntime_development () {
24088
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
24089
+ hasRequiredReactJsxRuntime_development = 1;
24090
+
24091
+ if (process.env.NODE_ENV !== "production") {
24092
+ (function() {
24093
+
24094
+ var React$1 = React;
24095
+
24096
+ // ATTENTION
24097
+ // When adding new symbols to this file,
24098
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
24099
+ // The Symbol used to tag the ReactElement-like types.
24100
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
24101
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
24102
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
24103
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
24104
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
24105
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
24106
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
24107
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
24108
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
24109
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
24110
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
24111
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
24112
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
24113
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
24114
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
24115
+ function getIteratorFn(maybeIterable) {
24116
+ if (maybeIterable === null || typeof maybeIterable !== 'object') {
24117
+ return null;
24118
+ }
24119
+
24120
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
24121
+
24122
+ if (typeof maybeIterator === 'function') {
24123
+ return maybeIterator;
24124
+ }
24125
+
24126
+ return null;
24127
+ }
24128
+
24129
+ var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
24130
+
24131
+ function error(format) {
24132
+ {
24133
+ {
24134
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
24135
+ args[_key2 - 1] = arguments[_key2];
24136
+ }
24137
+
24138
+ printWarning('error', format, args);
24139
+ }
24140
+ }
24141
+ }
24142
+
24143
+ function printWarning(level, format, args) {
24144
+ // When changing this logic, you might want to also
24145
+ // update consoleWithStackDev.www.js as well.
24146
+ {
24147
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
24148
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
24149
+
24150
+ if (stack !== '') {
24151
+ format += '%s';
24152
+ args = args.concat([stack]);
24153
+ } // eslint-disable-next-line react-internal/safe-string-coercion
24154
+
24155
+
24156
+ var argsWithFormat = args.map(function (item) {
24157
+ return String(item);
24158
+ }); // Careful: RN currently depends on this prefix
24159
+
24160
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
24161
+ // breaks IE9: https://github.com/facebook/react/issues/13610
24162
+ // eslint-disable-next-line react-internal/no-production-logging
24163
+
24164
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
24165
+ }
24166
+ }
24167
+
24168
+ // -----------------------------------------------------------------------------
24169
+
24170
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
24171
+ var enableCacheElement = false;
24172
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
24173
+
24174
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
24175
+ // stuff. Intended to enable React core members to more easily debug scheduling
24176
+ // issues in DEV builds.
24177
+
24178
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
24179
+
24180
+ var REACT_MODULE_REFERENCE;
24181
+
24182
+ {
24183
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
24184
+ }
24185
+
24186
+ function isValidElementType(type) {
24187
+ if (typeof type === 'string' || typeof type === 'function') {
24188
+ return true;
24189
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
24190
+
24191
+
24192
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
24193
+ return true;
24194
+ }
24195
+
24196
+ if (typeof type === 'object' && type !== null) {
24197
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
24198
+ // types supported by any Flight configuration anywhere since
24199
+ // we don't know which Flight build this will end up being used
24200
+ // with.
24201
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
24202
+ return true;
24203
+ }
24204
+ }
24205
+
24206
+ return false;
24207
+ }
24208
+
24209
+ function getWrappedName(outerType, innerType, wrapperName) {
24210
+ var displayName = outerType.displayName;
24211
+
24212
+ if (displayName) {
24213
+ return displayName;
24214
+ }
24215
+
24216
+ var functionName = innerType.displayName || innerType.name || '';
24217
+ return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
24218
+ } // Keep in sync with react-reconciler/getComponentNameFromFiber
24219
+
24220
+
24221
+ function getContextName(type) {
24222
+ return type.displayName || 'Context';
24223
+ } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
24224
+
24225
+
24226
+ function getComponentNameFromType(type) {
24227
+ if (type == null) {
24228
+ // Host root, text node or just invalid type.
24229
+ return null;
24230
+ }
24231
+
24232
+ {
24233
+ if (typeof type.tag === 'number') {
24234
+ error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
24235
+ }
24236
+ }
24237
+
24238
+ if (typeof type === 'function') {
24239
+ return type.displayName || type.name || null;
24240
+ }
24241
+
24242
+ if (typeof type === 'string') {
24243
+ return type;
24244
+ }
24245
+
24246
+ switch (type) {
24247
+ case REACT_FRAGMENT_TYPE:
24248
+ return 'Fragment';
24249
+
24250
+ case REACT_PORTAL_TYPE:
24251
+ return 'Portal';
24252
+
24253
+ case REACT_PROFILER_TYPE:
24254
+ return 'Profiler';
24255
+
24256
+ case REACT_STRICT_MODE_TYPE:
24257
+ return 'StrictMode';
24258
+
24259
+ case REACT_SUSPENSE_TYPE:
24260
+ return 'Suspense';
24261
+
24262
+ case REACT_SUSPENSE_LIST_TYPE:
24263
+ return 'SuspenseList';
24264
+
24265
+ }
24266
+
24267
+ if (typeof type === 'object') {
24268
+ switch (type.$$typeof) {
24269
+ case REACT_CONTEXT_TYPE:
24270
+ var context = type;
24271
+ return getContextName(context) + '.Consumer';
24272
+
24273
+ case REACT_PROVIDER_TYPE:
24274
+ var provider = type;
24275
+ return getContextName(provider._context) + '.Provider';
24276
+
24277
+ case REACT_FORWARD_REF_TYPE:
24278
+ return getWrappedName(type, type.render, 'ForwardRef');
24279
+
24280
+ case REACT_MEMO_TYPE:
24281
+ var outerName = type.displayName || null;
24282
+
24283
+ if (outerName !== null) {
24284
+ return outerName;
24285
+ }
24286
+
24287
+ return getComponentNameFromType(type.type) || 'Memo';
24288
+
24289
+ case REACT_LAZY_TYPE:
24290
+ {
24291
+ var lazyComponent = type;
24292
+ var payload = lazyComponent._payload;
24293
+ var init = lazyComponent._init;
24294
+
24295
+ try {
24296
+ return getComponentNameFromType(init(payload));
24297
+ } catch (x) {
24298
+ return null;
24299
+ }
24300
+ }
24301
+
24302
+ // eslint-disable-next-line no-fallthrough
24303
+ }
24304
+ }
24305
+
24306
+ return null;
24307
+ }
24308
+
24309
+ var assign = Object.assign;
24310
+
24311
+ // Helpers to patch console.logs to avoid logging during side-effect free
24312
+ // replaying on render function. This currently only patches the object
24313
+ // lazily which won't cover if the log function was extracted eagerly.
24314
+ // We could also eagerly patch the method.
24315
+ var disabledDepth = 0;
24316
+ var prevLog;
24317
+ var prevInfo;
24318
+ var prevWarn;
24319
+ var prevError;
24320
+ var prevGroup;
24321
+ var prevGroupCollapsed;
24322
+ var prevGroupEnd;
24323
+
24324
+ function disabledLog() {}
24325
+
24326
+ disabledLog.__reactDisabledLog = true;
24327
+ function disableLogs() {
24328
+ {
24329
+ if (disabledDepth === 0) {
24330
+ /* eslint-disable react-internal/no-production-logging */
24331
+ prevLog = console.log;
24332
+ prevInfo = console.info;
24333
+ prevWarn = console.warn;
24334
+ prevError = console.error;
24335
+ prevGroup = console.group;
24336
+ prevGroupCollapsed = console.groupCollapsed;
24337
+ prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
24338
+
24339
+ var props = {
24340
+ configurable: true,
24341
+ enumerable: true,
24342
+ value: disabledLog,
24343
+ writable: true
24344
+ }; // $FlowFixMe Flow thinks console is immutable.
24345
+
24346
+ Object.defineProperties(console, {
24347
+ info: props,
24348
+ log: props,
24349
+ warn: props,
24350
+ error: props,
24351
+ group: props,
24352
+ groupCollapsed: props,
24353
+ groupEnd: props
24354
+ });
24355
+ /* eslint-enable react-internal/no-production-logging */
24356
+ }
24357
+
24358
+ disabledDepth++;
24359
+ }
24360
+ }
24361
+ function reenableLogs() {
24362
+ {
24363
+ disabledDepth--;
24364
+
24365
+ if (disabledDepth === 0) {
24366
+ /* eslint-disable react-internal/no-production-logging */
24367
+ var props = {
24368
+ configurable: true,
24369
+ enumerable: true,
24370
+ writable: true
24371
+ }; // $FlowFixMe Flow thinks console is immutable.
24372
+
24373
+ Object.defineProperties(console, {
24374
+ log: assign({}, props, {
24375
+ value: prevLog
24376
+ }),
24377
+ info: assign({}, props, {
24378
+ value: prevInfo
24379
+ }),
24380
+ warn: assign({}, props, {
24381
+ value: prevWarn
24382
+ }),
24383
+ error: assign({}, props, {
24384
+ value: prevError
24385
+ }),
24386
+ group: assign({}, props, {
24387
+ value: prevGroup
24388
+ }),
24389
+ groupCollapsed: assign({}, props, {
24390
+ value: prevGroupCollapsed
24391
+ }),
24392
+ groupEnd: assign({}, props, {
24393
+ value: prevGroupEnd
24394
+ })
24395
+ });
24396
+ /* eslint-enable react-internal/no-production-logging */
24397
+ }
24398
+
24399
+ if (disabledDepth < 0) {
24400
+ error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
24401
+ }
24402
+ }
24403
+ }
24404
+
24405
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
24406
+ var prefix;
24407
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
24408
+ {
24409
+ if (prefix === undefined) {
24410
+ // Extract the VM specific prefix used by each line.
24411
+ try {
24412
+ throw Error();
24413
+ } catch (x) {
24414
+ var match = x.stack.trim().match(/\n( *(at )?)/);
24415
+ prefix = match && match[1] || '';
24416
+ }
24417
+ } // We use the prefix to ensure our stacks line up with native stack frames.
24418
+
24419
+
24420
+ return '\n' + prefix + name;
24421
+ }
24422
+ }
24423
+ var reentry = false;
24424
+ var componentFrameCache;
24425
+
24426
+ {
24427
+ var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
24428
+ componentFrameCache = new PossiblyWeakMap();
24429
+ }
24430
+
24431
+ function describeNativeComponentFrame(fn, construct) {
24432
+ // If something asked for a stack inside a fake render, it should get ignored.
24433
+ if ( !fn || reentry) {
24434
+ return '';
24435
+ }
24436
+
24437
+ {
24438
+ var frame = componentFrameCache.get(fn);
24439
+
24440
+ if (frame !== undefined) {
24441
+ return frame;
24442
+ }
24443
+ }
24444
+
24445
+ var control;
24446
+ reentry = true;
24447
+ var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.
24448
+
24449
+ Error.prepareStackTrace = undefined;
24450
+ var previousDispatcher;
24451
+
24452
+ {
24453
+ previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
24454
+ // for warnings.
24455
+
24456
+ ReactCurrentDispatcher.current = null;
24457
+ disableLogs();
24458
+ }
24459
+
24460
+ try {
24461
+ // This should throw.
24462
+ if (construct) {
24463
+ // Something should be setting the props in the constructor.
24464
+ var Fake = function () {
24465
+ throw Error();
24466
+ }; // $FlowFixMe
24467
+
24468
+
24469
+ Object.defineProperty(Fake.prototype, 'props', {
24470
+ set: function () {
24471
+ // We use a throwing setter instead of frozen or non-writable props
24472
+ // because that won't throw in a non-strict mode function.
24473
+ throw Error();
24474
+ }
24475
+ });
24476
+
24477
+ if (typeof Reflect === 'object' && Reflect.construct) {
24478
+ // We construct a different control for this case to include any extra
24479
+ // frames added by the construct call.
24480
+ try {
24481
+ Reflect.construct(Fake, []);
24482
+ } catch (x) {
24483
+ control = x;
24484
+ }
24485
+
24486
+ Reflect.construct(fn, [], Fake);
24487
+ } else {
24488
+ try {
24489
+ Fake.call();
24490
+ } catch (x) {
24491
+ control = x;
24492
+ }
24493
+
24494
+ fn.call(Fake.prototype);
24495
+ }
24496
+ } else {
24497
+ try {
24498
+ throw Error();
24499
+ } catch (x) {
24500
+ control = x;
24501
+ }
24502
+
24503
+ fn();
24504
+ }
24505
+ } catch (sample) {
24506
+ // This is inlined manually because closure doesn't do it for us.
24507
+ if (sample && control && typeof sample.stack === 'string') {
24508
+ // This extracts the first frame from the sample that isn't also in the control.
24509
+ // Skipping one frame that we assume is the frame that calls the two.
24510
+ var sampleLines = sample.stack.split('\n');
24511
+ var controlLines = control.stack.split('\n');
24512
+ var s = sampleLines.length - 1;
24513
+ var c = controlLines.length - 1;
24514
+
24515
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
24516
+ // We expect at least one stack frame to be shared.
24517
+ // Typically this will be the root most one. However, stack frames may be
24518
+ // cut off due to maximum stack limits. In this case, one maybe cut off
24519
+ // earlier than the other. We assume that the sample is longer or the same
24520
+ // and there for cut off earlier. So we should find the root most frame in
24521
+ // the sample somewhere in the control.
24522
+ c--;
24523
+ }
24524
+
24525
+ for (; s >= 1 && c >= 0; s--, c--) {
24526
+ // Next we find the first one that isn't the same which should be the
24527
+ // frame that called our sample function and the control.
24528
+ if (sampleLines[s] !== controlLines[c]) {
24529
+ // In V8, the first line is describing the message but other VMs don't.
24530
+ // If we're about to return the first line, and the control is also on the same
24531
+ // line, that's a pretty good indicator that our sample threw at same line as
24532
+ // the control. I.e. before we entered the sample frame. So we ignore this result.
24533
+ // This can happen if you passed a class to function component, or non-function.
24534
+ if (s !== 1 || c !== 1) {
24535
+ do {
24536
+ s--;
24537
+ c--; // We may still have similar intermediate frames from the construct call.
24538
+ // The next one that isn't the same should be our match though.
24539
+
24540
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
24541
+ // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
24542
+ var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "<anonymous>"
24543
+ // but we have a user-provided "displayName"
24544
+ // splice it in to make the stack more readable.
24545
+
24546
+
24547
+ if (fn.displayName && _frame.includes('<anonymous>')) {
24548
+ _frame = _frame.replace('<anonymous>', fn.displayName);
24549
+ }
24550
+
24551
+ {
24552
+ if (typeof fn === 'function') {
24553
+ componentFrameCache.set(fn, _frame);
24554
+ }
24555
+ } // Return the line we found.
24556
+
24557
+
24558
+ return _frame;
24559
+ }
24560
+ } while (s >= 1 && c >= 0);
24561
+ }
24562
+
24563
+ break;
24564
+ }
24565
+ }
24566
+ }
24567
+ } finally {
24568
+ reentry = false;
24569
+
24570
+ {
24571
+ ReactCurrentDispatcher.current = previousDispatcher;
24572
+ reenableLogs();
24573
+ }
24574
+
24575
+ Error.prepareStackTrace = previousPrepareStackTrace;
24576
+ } // Fallback to just using the name if we couldn't make it throw.
24577
+
24578
+
24579
+ var name = fn ? fn.displayName || fn.name : '';
24580
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
24581
+
24582
+ {
24583
+ if (typeof fn === 'function') {
24584
+ componentFrameCache.set(fn, syntheticFrame);
24585
+ }
24586
+ }
24587
+
24588
+ return syntheticFrame;
24589
+ }
24590
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
24591
+ {
24592
+ return describeNativeComponentFrame(fn, false);
24593
+ }
24594
+ }
24595
+
24596
+ function shouldConstruct(Component) {
24597
+ var prototype = Component.prototype;
24598
+ return !!(prototype && prototype.isReactComponent);
24599
+ }
24600
+
24601
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
24602
+
24603
+ if (type == null) {
24604
+ return '';
24605
+ }
24606
+
24607
+ if (typeof type === 'function') {
24608
+ {
24609
+ return describeNativeComponentFrame(type, shouldConstruct(type));
24610
+ }
24611
+ }
24612
+
24613
+ if (typeof type === 'string') {
24614
+ return describeBuiltInComponentFrame(type);
24615
+ }
24616
+
24617
+ switch (type) {
24618
+ case REACT_SUSPENSE_TYPE:
24619
+ return describeBuiltInComponentFrame('Suspense');
24620
+
24621
+ case REACT_SUSPENSE_LIST_TYPE:
24622
+ return describeBuiltInComponentFrame('SuspenseList');
24623
+ }
24624
+
24625
+ if (typeof type === 'object') {
24626
+ switch (type.$$typeof) {
24627
+ case REACT_FORWARD_REF_TYPE:
24628
+ return describeFunctionComponentFrame(type.render);
24629
+
24630
+ case REACT_MEMO_TYPE:
24631
+ // Memo may contain any component type so we recursively resolve it.
24632
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
24633
+
24634
+ case REACT_LAZY_TYPE:
24635
+ {
24636
+ var lazyComponent = type;
24637
+ var payload = lazyComponent._payload;
24638
+ var init = lazyComponent._init;
24639
+
24640
+ try {
24641
+ // Lazy may contain any component type so we recursively resolve it.
24642
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
24643
+ } catch (x) {}
24644
+ }
24645
+ }
24646
+ }
24647
+
24648
+ return '';
24649
+ }
24650
+
24651
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
24652
+
24653
+ var loggedTypeFailures = {};
24654
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
24655
+
24656
+ function setCurrentlyValidatingElement(element) {
24657
+ {
24658
+ if (element) {
24659
+ var owner = element._owner;
24660
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
24661
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
24662
+ } else {
24663
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
24664
+ }
24665
+ }
24666
+ }
24667
+
24668
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
24669
+ {
24670
+ // $FlowFixMe This is okay but Flow doesn't know it.
24671
+ var has = Function.call.bind(hasOwnProperty);
24672
+
24673
+ for (var typeSpecName in typeSpecs) {
24674
+ if (has(typeSpecs, typeSpecName)) {
24675
+ var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
24676
+ // fail the render phase where it didn't fail before. So we log it.
24677
+ // After these have been cleaned up, we'll let them throw.
24678
+
24679
+ try {
24680
+ // This is intentionally an invariant that gets caught. It's the same
24681
+ // behavior as without this statement except with a better message.
24682
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
24683
+ // eslint-disable-next-line react-internal/prod-error-codes
24684
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
24685
+ err.name = 'Invariant Violation';
24686
+ throw err;
24687
+ }
24688
+
24689
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
24690
+ } catch (ex) {
24691
+ error$1 = ex;
24692
+ }
24693
+
24694
+ if (error$1 && !(error$1 instanceof Error)) {
24695
+ setCurrentlyValidatingElement(element);
24696
+
24697
+ error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
24698
+
24699
+ setCurrentlyValidatingElement(null);
24700
+ }
24701
+
24702
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
24703
+ // Only monitor this failure once because there tends to be a lot of the
24704
+ // same error.
24705
+ loggedTypeFailures[error$1.message] = true;
24706
+ setCurrentlyValidatingElement(element);
24707
+
24708
+ error('Failed %s type: %s', location, error$1.message);
24709
+
24710
+ setCurrentlyValidatingElement(null);
24711
+ }
24712
+ }
24713
+ }
24714
+ }
24715
+ }
24716
+
24717
+ var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
24718
+
24719
+ function isArray(a) {
24720
+ return isArrayImpl(a);
24721
+ }
24722
+
24723
+ /*
24724
+ * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
24725
+ * and Temporal.* types. See https://github.com/facebook/react/pull/22064.
24726
+ *
24727
+ * The functions in this module will throw an easier-to-understand,
24728
+ * easier-to-debug exception with a clear errors message message explaining the
24729
+ * problem. (Instead of a confusing exception thrown inside the implementation
24730
+ * of the `value` object).
24731
+ */
24732
+ // $FlowFixMe only called in DEV, so void return is not possible.
24733
+ function typeName(value) {
24734
+ {
24735
+ // toStringTag is needed for namespaced types like Temporal.Instant
24736
+ var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
24737
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
24738
+ return type;
24739
+ }
24740
+ } // $FlowFixMe only called in DEV, so void return is not possible.
24741
+
24742
+
24743
+ function willCoercionThrow(value) {
24744
+ {
24745
+ try {
24746
+ testStringCoercion(value);
24747
+ return false;
24748
+ } catch (e) {
24749
+ return true;
24750
+ }
24751
+ }
24752
+ }
24753
+
24754
+ function testStringCoercion(value) {
24755
+ // If you ended up here by following an exception call stack, here's what's
24756
+ // happened: you supplied an object or symbol value to React (as a prop, key,
24757
+ // DOM attribute, CSS property, string ref, etc.) and when React tried to
24758
+ // coerce it to a string using `'' + value`, an exception was thrown.
24759
+ //
24760
+ // The most common types that will cause this exception are `Symbol` instances
24761
+ // and Temporal objects like `Temporal.Instant`. But any object that has a
24762
+ // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
24763
+ // exception. (Library authors do this to prevent users from using built-in
24764
+ // numeric operators like `+` or comparison operators like `>=` because custom
24765
+ // methods are needed to perform accurate arithmetic or comparison.)
24766
+ //
24767
+ // To fix the problem, coerce this object or symbol value to a string before
24768
+ // passing it to React. The most reliable way is usually `String(value)`.
24769
+ //
24770
+ // To find which value is throwing, check the browser or debugger console.
24771
+ // Before this exception was thrown, there should be `console.error` output
24772
+ // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
24773
+ // problem and how that type was used: key, atrribute, input value prop, etc.
24774
+ // In most cases, this console output also shows the component and its
24775
+ // ancestor components where the exception happened.
24776
+ //
24777
+ // eslint-disable-next-line react-internal/safe-string-coercion
24778
+ return '' + value;
24779
+ }
24780
+ function checkKeyStringCoercion(value) {
24781
+ {
24782
+ if (willCoercionThrow(value)) {
24783
+ error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
24784
+
24785
+ return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
24786
+ }
24787
+ }
24788
+ }
24789
+
24790
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
24791
+ var RESERVED_PROPS = {
24792
+ key: true,
24793
+ ref: true,
24794
+ __self: true,
24795
+ __source: true
24796
+ };
24797
+ var specialPropKeyWarningShown;
24798
+ var specialPropRefWarningShown;
24799
+ var didWarnAboutStringRefs;
24800
+
24801
+ {
24802
+ didWarnAboutStringRefs = {};
24803
+ }
24804
+
24805
+ function hasValidRef(config) {
24806
+ {
24807
+ if (hasOwnProperty.call(config, 'ref')) {
24808
+ var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
24809
+
24810
+ if (getter && getter.isReactWarning) {
24811
+ return false;
24812
+ }
24813
+ }
24814
+ }
24815
+
24816
+ return config.ref !== undefined;
24817
+ }
24818
+
24819
+ function hasValidKey(config) {
24820
+ {
24821
+ if (hasOwnProperty.call(config, 'key')) {
24822
+ var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
24823
+
24824
+ if (getter && getter.isReactWarning) {
24825
+ return false;
24826
+ }
24827
+ }
24828
+ }
24829
+
24830
+ return config.key !== undefined;
24831
+ }
24832
+
24833
+ function warnIfStringRefCannotBeAutoConverted(config, self) {
24834
+ {
24835
+ if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
24836
+ var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
24837
+
24838
+ if (!didWarnAboutStringRefs[componentName]) {
24839
+ error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
24840
+
24841
+ didWarnAboutStringRefs[componentName] = true;
24842
+ }
24843
+ }
24844
+ }
24845
+ }
24846
+
24847
+ function defineKeyPropWarningGetter(props, displayName) {
24848
+ {
24849
+ var warnAboutAccessingKey = function () {
24850
+ if (!specialPropKeyWarningShown) {
24851
+ specialPropKeyWarningShown = true;
24852
+
24853
+ error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
24854
+ }
24855
+ };
24856
+
24857
+ warnAboutAccessingKey.isReactWarning = true;
24858
+ Object.defineProperty(props, 'key', {
24859
+ get: warnAboutAccessingKey,
24860
+ configurable: true
24861
+ });
24862
+ }
24863
+ }
24864
+
24865
+ function defineRefPropWarningGetter(props, displayName) {
24866
+ {
24867
+ var warnAboutAccessingRef = function () {
24868
+ if (!specialPropRefWarningShown) {
24869
+ specialPropRefWarningShown = true;
24870
+
24871
+ error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
24872
+ }
24873
+ };
24874
+
24875
+ warnAboutAccessingRef.isReactWarning = true;
24876
+ Object.defineProperty(props, 'ref', {
24877
+ get: warnAboutAccessingRef,
24878
+ configurable: true
24879
+ });
24880
+ }
24881
+ }
24882
+ /**
24883
+ * Factory method to create a new React element. This no longer adheres to
24884
+ * the class pattern, so do not use new to call it. Also, instanceof check
24885
+ * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
24886
+ * if something is a React Element.
24887
+ *
24888
+ * @param {*} type
24889
+ * @param {*} props
24890
+ * @param {*} key
24891
+ * @param {string|object} ref
24892
+ * @param {*} owner
24893
+ * @param {*} self A *temporary* helper to detect places where `this` is
24894
+ * different from the `owner` when React.createElement is called, so that we
24895
+ * can warn. We want to get rid of owner and replace string `ref`s with arrow
24896
+ * functions, and as long as `this` and owner are the same, there will be no
24897
+ * change in behavior.
24898
+ * @param {*} source An annotation object (added by a transpiler or otherwise)
24899
+ * indicating filename, line number, and/or other information.
24900
+ * @internal
24901
+ */
24902
+
24903
+
24904
+ var ReactElement = function (type, key, ref, self, source, owner, props) {
24905
+ var element = {
24906
+ // This tag allows us to uniquely identify this as a React Element
24907
+ $$typeof: REACT_ELEMENT_TYPE,
24908
+ // Built-in properties that belong on the element
24909
+ type: type,
24910
+ key: key,
24911
+ ref: ref,
24912
+ props: props,
24913
+ // Record the component responsible for creating this element.
24914
+ _owner: owner
24915
+ };
24916
+
24917
+ {
24918
+ // The validation flag is currently mutative. We put it on
24919
+ // an external backing store so that we can freeze the whole object.
24920
+ // This can be replaced with a WeakMap once they are implemented in
24921
+ // commonly used development environments.
24922
+ element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
24923
+ // the validation flag non-enumerable (where possible, which should
24924
+ // include every environment we run tests in), so the test framework
24925
+ // ignores it.
24926
+
24927
+ Object.defineProperty(element._store, 'validated', {
24928
+ configurable: false,
24929
+ enumerable: false,
24930
+ writable: true,
24931
+ value: false
24932
+ }); // self and source are DEV only properties.
24933
+
24934
+ Object.defineProperty(element, '_self', {
24935
+ configurable: false,
24936
+ enumerable: false,
24937
+ writable: false,
24938
+ value: self
24939
+ }); // Two elements created in two different places should be considered
24940
+ // equal for testing purposes and therefore we hide it from enumeration.
24941
+
24942
+ Object.defineProperty(element, '_source', {
24943
+ configurable: false,
24944
+ enumerable: false,
24945
+ writable: false,
24946
+ value: source
24947
+ });
24948
+
24949
+ if (Object.freeze) {
24950
+ Object.freeze(element.props);
24951
+ Object.freeze(element);
24952
+ }
24953
+ }
24954
+
24955
+ return element;
24956
+ };
24957
+ /**
24958
+ * https://github.com/reactjs/rfcs/pull/107
24959
+ * @param {*} type
24960
+ * @param {object} props
24961
+ * @param {string} key
24962
+ */
24963
+
24964
+ function jsxDEV(type, config, maybeKey, source, self) {
24965
+ {
24966
+ var propName; // Reserved names are extracted
24967
+
24968
+ var props = {};
24969
+ var key = null;
24970
+ var ref = null; // Currently, key can be spread in as a prop. This causes a potential
24971
+ // issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
24972
+ // or <div key="Hi" {...props} /> ). We want to deprecate key spread,
24973
+ // but as an intermediary step, we will use jsxDEV for everything except
24974
+ // <div {...props} key="Hi" />, because we aren't currently able to tell if
24975
+ // key is explicitly declared to be undefined or not.
24976
+
24977
+ if (maybeKey !== undefined) {
24978
+ {
24979
+ checkKeyStringCoercion(maybeKey);
24980
+ }
24981
+
24982
+ key = '' + maybeKey;
24983
+ }
24984
+
24985
+ if (hasValidKey(config)) {
24986
+ {
24987
+ checkKeyStringCoercion(config.key);
24988
+ }
24989
+
24990
+ key = '' + config.key;
24991
+ }
24992
+
24993
+ if (hasValidRef(config)) {
24994
+ ref = config.ref;
24995
+ warnIfStringRefCannotBeAutoConverted(config, self);
24996
+ } // Remaining properties are added to a new props object
24997
+
24998
+
24999
+ for (propName in config) {
25000
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
25001
+ props[propName] = config[propName];
25002
+ }
25003
+ } // Resolve default props
25004
+
25005
+
25006
+ if (type && type.defaultProps) {
25007
+ var defaultProps = type.defaultProps;
25008
+
25009
+ for (propName in defaultProps) {
25010
+ if (props[propName] === undefined) {
25011
+ props[propName] = defaultProps[propName];
25012
+ }
25013
+ }
25014
+ }
25015
+
25016
+ if (key || ref) {
25017
+ var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
25018
+
25019
+ if (key) {
25020
+ defineKeyPropWarningGetter(props, displayName);
25021
+ }
25022
+
25023
+ if (ref) {
25024
+ defineRefPropWarningGetter(props, displayName);
25025
+ }
25026
+ }
25027
+
25028
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
25029
+ }
25030
+ }
25031
+
25032
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
25033
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
25034
+
25035
+ function setCurrentlyValidatingElement$1(element) {
25036
+ {
25037
+ if (element) {
25038
+ var owner = element._owner;
25039
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
25040
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
25041
+ } else {
25042
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
25043
+ }
25044
+ }
25045
+ }
25046
+
25047
+ var propTypesMisspellWarningShown;
25048
+
25049
+ {
25050
+ propTypesMisspellWarningShown = false;
25051
+ }
25052
+ /**
25053
+ * Verifies the object is a ReactElement.
25054
+ * See https://reactjs.org/docs/react-api.html#isvalidelement
25055
+ * @param {?object} object
25056
+ * @return {boolean} True if `object` is a ReactElement.
25057
+ * @final
25058
+ */
25059
+
25060
+
25061
+ function isValidElement(object) {
25062
+ {
25063
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
25064
+ }
25065
+ }
25066
+
25067
+ function getDeclarationErrorAddendum() {
25068
+ {
25069
+ if (ReactCurrentOwner$1.current) {
25070
+ var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
25071
+
25072
+ if (name) {
25073
+ return '\n\nCheck the render method of `' + name + '`.';
25074
+ }
25075
+ }
25076
+
25077
+ return '';
25078
+ }
25079
+ }
25080
+
25081
+ function getSourceInfoErrorAddendum(source) {
25082
+ {
25083
+
25084
+ return '';
25085
+ }
25086
+ }
25087
+ /**
25088
+ * Warn if there's no key explicitly set on dynamic arrays of children or
25089
+ * object keys are not valid. This allows us to keep track of children between
25090
+ * updates.
25091
+ */
25092
+
25093
+
25094
+ var ownerHasKeyUseWarning = {};
25095
+
25096
+ function getCurrentComponentErrorInfo(parentType) {
25097
+ {
25098
+ var info = getDeclarationErrorAddendum();
25099
+
25100
+ if (!info) {
25101
+ var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
25102
+
25103
+ if (parentName) {
25104
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
25105
+ }
25106
+ }
25107
+
25108
+ return info;
25109
+ }
25110
+ }
25111
+ /**
25112
+ * Warn if the element doesn't have an explicit key assigned to it.
25113
+ * This element is in an array. The array could grow and shrink or be
25114
+ * reordered. All children that haven't already been validated are required to
25115
+ * have a "key" property assigned to it. Error statuses are cached so a warning
25116
+ * will only be shown once.
25117
+ *
25118
+ * @internal
25119
+ * @param {ReactElement} element Element that requires a key.
25120
+ * @param {*} parentType element's parent's type.
25121
+ */
25122
+
25123
+
25124
+ function validateExplicitKey(element, parentType) {
25125
+ {
25126
+ if (!element._store || element._store.validated || element.key != null) {
25127
+ return;
25128
+ }
25129
+
25130
+ element._store.validated = true;
25131
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
25132
+
25133
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
25134
+ return;
25135
+ }
25136
+
25137
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
25138
+ // property, it may be the creator of the child that's responsible for
25139
+ // assigning it a key.
25140
+
25141
+ var childOwner = '';
25142
+
25143
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
25144
+ // Give the component that originally created this child.
25145
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
25146
+ }
25147
+
25148
+ setCurrentlyValidatingElement$1(element);
25149
+
25150
+ error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
25151
+
25152
+ setCurrentlyValidatingElement$1(null);
25153
+ }
25154
+ }
25155
+ /**
25156
+ * Ensure that every element either is passed in a static location, in an
25157
+ * array with an explicit keys property defined, or in an object literal
25158
+ * with valid key property.
25159
+ *
25160
+ * @internal
25161
+ * @param {ReactNode} node Statically passed child of any type.
25162
+ * @param {*} parentType node's parent's type.
25163
+ */
25164
+
25165
+
25166
+ function validateChildKeys(node, parentType) {
25167
+ {
25168
+ if (typeof node !== 'object') {
25169
+ return;
25170
+ }
25171
+
25172
+ if (isArray(node)) {
25173
+ for (var i = 0; i < node.length; i++) {
25174
+ var child = node[i];
25175
+
25176
+ if (isValidElement(child)) {
25177
+ validateExplicitKey(child, parentType);
25178
+ }
25179
+ }
25180
+ } else if (isValidElement(node)) {
25181
+ // This element was passed in a valid location.
25182
+ if (node._store) {
25183
+ node._store.validated = true;
25184
+ }
25185
+ } else if (node) {
25186
+ var iteratorFn = getIteratorFn(node);
25187
+
25188
+ if (typeof iteratorFn === 'function') {
25189
+ // Entry iterators used to provide implicit keys,
25190
+ // but now we print a separate warning for them later.
25191
+ if (iteratorFn !== node.entries) {
25192
+ var iterator = iteratorFn.call(node);
25193
+ var step;
25194
+
25195
+ while (!(step = iterator.next()).done) {
25196
+ if (isValidElement(step.value)) {
25197
+ validateExplicitKey(step.value, parentType);
25198
+ }
25199
+ }
25200
+ }
25201
+ }
25202
+ }
25203
+ }
25204
+ }
25205
+ /**
25206
+ * Given an element, validate that its props follow the propTypes definition,
25207
+ * provided by the type.
25208
+ *
25209
+ * @param {ReactElement} element
25210
+ */
25211
+
25212
+
25213
+ function validatePropTypes(element) {
25214
+ {
25215
+ var type = element.type;
25216
+
25217
+ if (type === null || type === undefined || typeof type === 'string') {
25218
+ return;
25219
+ }
25220
+
25221
+ var propTypes;
25222
+
25223
+ if (typeof type === 'function') {
25224
+ propTypes = type.propTypes;
25225
+ } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
25226
+ // Inner props are checked in the reconciler.
25227
+ type.$$typeof === REACT_MEMO_TYPE)) {
25228
+ propTypes = type.propTypes;
25229
+ } else {
25230
+ return;
25231
+ }
25232
+
25233
+ if (propTypes) {
25234
+ // Intentionally inside to avoid triggering lazy initializers:
25235
+ var name = getComponentNameFromType(type);
25236
+ checkPropTypes(propTypes, element.props, 'prop', name, element);
25237
+ } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
25238
+ propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
25239
+
25240
+ var _name = getComponentNameFromType(type);
25241
+
25242
+ error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
25243
+ }
25244
+
25245
+ if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
25246
+ error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
25247
+ }
25248
+ }
25249
+ }
25250
+ /**
25251
+ * Given a fragment, validate that it can only be provided with fragment props
25252
+ * @param {ReactElement} fragment
25253
+ */
25254
+
25255
+
25256
+ function validateFragmentProps(fragment) {
25257
+ {
25258
+ var keys = Object.keys(fragment.props);
25259
+
25260
+ for (var i = 0; i < keys.length; i++) {
25261
+ var key = keys[i];
25262
+
25263
+ if (key !== 'children' && key !== 'key') {
25264
+ setCurrentlyValidatingElement$1(fragment);
25265
+
25266
+ error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
25267
+
25268
+ setCurrentlyValidatingElement$1(null);
25269
+ break;
25270
+ }
25271
+ }
25272
+
25273
+ if (fragment.ref !== null) {
25274
+ setCurrentlyValidatingElement$1(fragment);
25275
+
25276
+ error('Invalid attribute `ref` supplied to `React.Fragment`.');
25277
+
25278
+ setCurrentlyValidatingElement$1(null);
25279
+ }
25280
+ }
25281
+ }
25282
+
25283
+ var didWarnAboutKeySpread = {};
25284
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
25285
+ {
25286
+ var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
25287
+ // succeed and there will likely be errors in render.
25288
+
25289
+ if (!validType) {
25290
+ var info = '';
25291
+
25292
+ if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
25293
+ info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
25294
+ }
25295
+
25296
+ var sourceInfo = getSourceInfoErrorAddendum();
25297
+
25298
+ if (sourceInfo) {
25299
+ info += sourceInfo;
25300
+ } else {
25301
+ info += getDeclarationErrorAddendum();
25302
+ }
25303
+
25304
+ var typeString;
25305
+
25306
+ if (type === null) {
25307
+ typeString = 'null';
25308
+ } else if (isArray(type)) {
25309
+ typeString = 'array';
25310
+ } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
25311
+ typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
25312
+ info = ' Did you accidentally export a JSX literal instead of a component?';
25313
+ } else {
25314
+ typeString = typeof type;
25315
+ }
25316
+
25317
+ error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
25318
+ }
25319
+
25320
+ var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
25321
+ // TODO: Drop this when these are no longer allowed as the type argument.
25322
+
25323
+ if (element == null) {
25324
+ return element;
25325
+ } // Skip key warning if the type isn't valid since our key validation logic
25326
+ // doesn't expect a non-string/function type and can throw confusing errors.
25327
+ // We don't want exception behavior to differ between dev and prod.
25328
+ // (Rendering will throw with a helpful message and as soon as the type is
25329
+ // fixed, the key warnings will appear.)
25330
+
25331
+
25332
+ if (validType) {
25333
+ var children = props.children;
25334
+
25335
+ if (children !== undefined) {
25336
+ if (isStaticChildren) {
25337
+ if (isArray(children)) {
25338
+ for (var i = 0; i < children.length; i++) {
25339
+ validateChildKeys(children[i], type);
25340
+ }
25341
+
25342
+ if (Object.freeze) {
25343
+ Object.freeze(children);
25344
+ }
25345
+ } else {
25346
+ error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
25347
+ }
25348
+ } else {
25349
+ validateChildKeys(children, type);
25350
+ }
25351
+ }
25352
+ }
25353
+
25354
+ {
25355
+ if (hasOwnProperty.call(props, 'key')) {
25356
+ var componentName = getComponentNameFromType(type);
25357
+ var keys = Object.keys(props).filter(function (k) {
25358
+ return k !== 'key';
25359
+ });
25360
+ var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';
25361
+
25362
+ if (!didWarnAboutKeySpread[componentName + beforeExample]) {
25363
+ var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';
25364
+
25365
+ error('A props object containing a "key" prop is being spread into JSX:\n' + ' let props = %s;\n' + ' <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + ' let props = %s;\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
25366
+
25367
+ didWarnAboutKeySpread[componentName + beforeExample] = true;
25368
+ }
25369
+ }
25370
+ }
25371
+
25372
+ if (type === REACT_FRAGMENT_TYPE) {
25373
+ validateFragmentProps(element);
25374
+ } else {
25375
+ validatePropTypes(element);
25376
+ }
25377
+
25378
+ return element;
25379
+ }
25380
+ } // These two functions exist to still get child warnings in dev
25381
+ // even with the prod transform. This means that jsxDEV is purely
25382
+ // opt-in behavior for better messages but that we won't stop
25383
+ // giving you warnings if you use production apis.
25384
+
25385
+ function jsxWithValidationStatic(type, props, key) {
25386
+ {
25387
+ return jsxWithValidation(type, props, key, true);
25388
+ }
25389
+ }
25390
+ function jsxWithValidationDynamic(type, props, key) {
25391
+ {
25392
+ return jsxWithValidation(type, props, key, false);
25393
+ }
25394
+ }
25395
+
25396
+ var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.
25397
+ // for now we can ship identical prod functions
25398
+
25399
+ var jsxs = jsxWithValidationStatic ;
25400
+
25401
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
25402
+ reactJsxRuntime_development.jsx = jsx;
25403
+ reactJsxRuntime_development.jsxs = jsxs;
25404
+ })();
25405
+ }
25406
+ return reactJsxRuntime_development;
25407
+ }
25408
+
25409
+ if (process.env.NODE_ENV === 'production') {
25410
+ jsxRuntime.exports = requireReactJsxRuntime_production_min();
25411
+ } else {
25412
+ jsxRuntime.exports = requireReactJsxRuntime_development();
25413
+ }
25414
+
25415
+ var jsxRuntimeExports = jsxRuntime.exports;
25416
+
25417
+ var NativeMixView = reactNative.requireNativeComponent('VeLiveMixView');
25418
+ var index = 0;
25419
+ var getId = function () {
25420
+ return Math.random().toString(36).substring(2, 10) + index++;
25421
+ };
25422
+ var MixView = React.forwardRef(function (props, ref) {
25423
+ var _a = props.captureMode, captureMode = _a === void 0 ? 'onchange' : _a, // Default to most performant mode
25424
+ captureFramerate = props.captureFramerate, _b = props.autoSensitivity, autoSensitivity = _b === void 0 ? 5 : _b, // Default sensitivity
25425
+ onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, restProps = __rest(props, ["captureMode", "captureFramerate", "autoSensitivity", "onViewMount", "onViewUnmount"]);
25426
+ var viewId = React.useMemo(function () {
25427
+ return restProps.viewId || getId();
25428
+ }, [restProps.viewId]);
25429
+ React.useEffect(function () {
25430
+ if (onViewMount) {
25431
+ onViewMount(viewId);
25432
+ }
25433
+ return function () {
25434
+ if (onViewUnmount) {
25435
+ onViewUnmount(viewId);
25436
+ }
25437
+ };
25438
+ // eslint-disable-next-line react-hooks/exhaustive-deps
25439
+ }, [viewId]);
25440
+ return (jsxRuntimeExports.jsx(NativeMixView, __assign({}, restProps, { viewId: viewId, captureMode: captureMode, captureFramerate: captureFramerate, autoSensitivity: autoSensitivity, ref: ref })));
25441
+ });
25442
+
25443
+ var VeView = React.forwardRef(function (props, ref) {
25444
+ var children = props.children, renderMode = props.renderMode, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, viewProps = __rest(props, ["children", "renderMode", "onViewMount", "onViewUnmount", "viewId"]);
25445
+ return (jsxRuntimeExports.jsx(MixView, { renderMode: renderMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntimeExports.jsx(reactNative.View, __assign({}, viewProps, { ref: ref, children: children })) }));
25446
+ });
25447
+
25448
+ var VeTextView = React.forwardRef(function (props, ref) {
25449
+ var renderMode = props.renderMode, onViewMount = props.onViewMount, onViewUnmount = props.onViewUnmount, viewId = props.viewId, textProps = __rest(props, ["renderMode", "onViewMount", "onViewUnmount", "viewId"]);
25450
+ return (jsxRuntimeExports.jsx(MixView, { renderMode: renderMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntimeExports.jsx(reactNative.Text, __assign({}, textProps, { ref: ref, children: textProps.children })) }));
25451
+ });
25452
+
25453
+ var VeImageView = React.forwardRef(function (props, ref) {
25454
+ 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, imageProps = __rest(props, ["children", "renderMode", "animated", "captureMode", "onViewMount", "onViewUnmount", "viewId"]);
25455
+ var captureViewId = React.useRef(viewId || '');
25456
+ // Auto-detect capture mode based on animation
25457
+ var finalCaptureMode = captureMode || (animated ? 'realtime' : 'onchange');
25458
+ var handleImageLoad = function () {
25459
+ onViewMount === null || onViewMount === void 0 ? void 0 : onViewMount(captureViewId.current);
25460
+ };
25461
+ var onWrapperViewMount = function (calcViewId) {
25462
+ captureViewId.current = calcViewId;
25463
+ };
25464
+ return (jsxRuntimeExports.jsx(MixView, { renderMode: renderMode, captureMode: finalCaptureMode, viewId: viewId, onViewMount: onWrapperViewMount, onViewUnmount: onViewUnmount, children: children ? (children) : (jsxRuntimeExports.jsx(reactNative.Image, __assign({}, imageProps, { onLoad: handleImageLoad, style: { width: '100%', height: '100%' }, ref: ref }))) }));
25465
+ });
25466
+
25467
+ var VeWebView = React.forwardRef(function (props, ref) {
25468
+ 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"]);
25469
+ return (jsxRuntimeExports.jsx(MixView, { renderMode: renderMode, captureMode: captureMode, viewId: viewId, onViewMount: onViewMount, onViewUnmount: onViewUnmount, children: jsxRuntimeExports.jsx(reactNative.View, __assign({}, viewProps, { ref: ref })) }));
25470
+ });
25471
+
24678
25472
  setupJSBridge(new ReactNativeBridge(reactNative.NativeModules.VeLivePushModule, 'VeLivePush:onEvent'));
24679
25473
  setupEnv(new ReactNativeEnv());
24680
25474
  setupLogger({
24681
25475
  customer: function (msg) { return console.log('vepusher-log:', msg); },
24682
25476
  });
24683
25477
 
25478
+ exports.MixView = MixView;
25479
+ exports.NativeMixView = NativeMixView;
24684
25480
  exports.NativeViewComponent = NativeViewComponent;
25481
+ exports.VeImageView = VeImageView;
24685
25482
  exports.VeLiveAudioCaptureConfiguration = VeLiveAudioCaptureConfiguration;
24686
25483
  exports.VeLiveAudioDevice = VeLiveAudioDevice;
24687
25484
  exports.VeLiveAudioEncoderConfiguration = VeLiveAudioEncoderConfiguration;
@@ -24691,7 +25488,6 @@ exports.VeLiveFileRecorderConfiguration = VeLiveFileRecorderConfiguration;
24691
25488
  exports.VeLiveMediaPlayer = VeLiveMediaPlayer;
24692
25489
  exports.VeLiveMixAudioLayout = VeLiveMixAudioLayout;
24693
25490
  exports.VeLiveMixVideoLayout = VeLiveMixVideoLayout;
24694
- exports.VeLiveMixerManager = VeLiveMixerManager;
24695
25491
  exports.VeLivePusher = VeLivePusher;
24696
25492
  exports.VeLivePusherConfiguration = VeLivePusherConfiguration;
24697
25493
  exports.VeLivePusherStatistics = VeLivePusherStatistics;
@@ -24701,6 +25497,9 @@ exports.VeLiveVideoEffectLicenseConfiguration = VeLiveVideoEffectLicenseConfigur
24701
25497
  exports.VeLiveVideoEffectManager = VeLiveVideoEffectManager;
24702
25498
  exports.VeLiveVideoEncoderConfiguration = VeLiveVideoEncoderConfiguration;
24703
25499
  exports.VeLiveVideoFrame = VeLiveVideoFrame;
25500
+ exports.VeTextView = VeTextView;
25501
+ exports.VeView = VeView;
25502
+ exports.VeWebView = VeWebView;
24704
25503
  exports.android_VeLiveAudioFrameFilter = android_VeLiveAudioFrameFilter;
24705
25504
  exports.android_VeLiveAudioFrameListener = android_VeLiveAudioFrameListener;
24706
25505
  exports.android_VeLiveFileRecordingListener = android_VeLiveFileRecordingListener;