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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/com/volcengine/velive/rn/push/ClassHelper.java +9 -0
  3. package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +5 -8
  4. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +1 -0
  5. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +1 -3
  6. package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +33 -22
  7. package/ios/VeLiveMixerHelper.h +7 -5
  8. package/ios/VeLiveMixerHelper.m +1 -1
  9. package/ios/VeLiveMixerViewManager.m +2 -2
  10. package/lib/commonjs/index.js +23202 -20302
  11. package/lib/commonjs/typescript/android/index.d.ts +0 -3
  12. package/lib/commonjs/typescript/codegen/android/api.d.ts +190 -644
  13. package/lib/commonjs/typescript/codegen/android/callback.d.ts +234 -2
  14. package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +66 -0
  15. package/lib/commonjs/typescript/codegen/android/keytype.d.ts +1014 -181
  16. package/lib/commonjs/typescript/codegen/ios/api.d.ts +890 -0
  17. package/lib/commonjs/typescript/codegen/ios/callback.d.ts +162 -0
  18. package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +101 -1
  19. package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +694 -0
  20. package/lib/commonjs/typescript/codegen/pack/api.d.ts +303 -686
  21. package/lib/commonjs/typescript/codegen/pack/callback.d.ts +37 -38
  22. package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +75 -5
  23. package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +1002 -298
  24. package/lib/commonjs/typescript/core/api.d.ts +2 -1
  25. package/lib/commonjs/typescript/core/pusher.d.ts +0 -3
  26. package/lib/module/index.js +23203 -20302
  27. package/lib/module/typescript/android/index.d.ts +0 -3
  28. package/lib/module/typescript/codegen/android/api.d.ts +190 -644
  29. package/lib/module/typescript/codegen/android/callback.d.ts +234 -2
  30. package/lib/module/typescript/codegen/android/errorcode.d.ts +66 -0
  31. package/lib/module/typescript/codegen/android/keytype.d.ts +1014 -181
  32. package/lib/module/typescript/codegen/ios/api.d.ts +890 -0
  33. package/lib/module/typescript/codegen/ios/callback.d.ts +162 -0
  34. package/lib/module/typescript/codegen/ios/errorcode.d.ts +101 -1
  35. package/lib/module/typescript/codegen/ios/keytype.d.ts +694 -0
  36. package/lib/module/typescript/codegen/pack/api.d.ts +303 -686
  37. package/lib/module/typescript/codegen/pack/callback.d.ts +37 -38
  38. package/lib/module/typescript/codegen/pack/errorcode.d.ts +75 -5
  39. package/lib/module/typescript/codegen/pack/keytype.d.ts +1002 -298
  40. package/lib/module/typescript/core/api.d.ts +2 -1
  41. package/lib/module/typescript/core/pusher.d.ts +0 -3
  42. package/lib/typescript/android/index.d.ts +0 -3
  43. package/lib/typescript/codegen/android/api.d.ts +190 -644
  44. package/lib/typescript/codegen/android/callback.d.ts +234 -2
  45. package/lib/typescript/codegen/android/errorcode.d.ts +66 -0
  46. package/lib/typescript/codegen/android/keytype.d.ts +1014 -181
  47. package/lib/typescript/codegen/ios/api.d.ts +890 -0
  48. package/lib/typescript/codegen/ios/callback.d.ts +162 -0
  49. package/lib/typescript/codegen/ios/errorcode.d.ts +101 -1
  50. package/lib/typescript/codegen/ios/keytype.d.ts +694 -0
  51. package/lib/typescript/codegen/pack/api.d.ts +303 -686
  52. package/lib/typescript/codegen/pack/callback.d.ts +37 -38
  53. package/lib/typescript/codegen/pack/errorcode.d.ts +75 -5
  54. package/lib/typescript/codegen/pack/keytype.d.ts +1002 -298
  55. package/lib/typescript/core/api.d.ts +2 -1
  56. package/lib/typescript/core/pusher.d.ts +0 -3
  57. package/package.json +1 -1
  58. package/react-native-velive-push.podspec +3 -3
  59. package/android/src/main/java/com/volcengine/velive/rn/push/ScreenCaptureHelper.java +0 -73
@@ -1,6 +1,5 @@
1
1
  import * as $p_a from '../android/index';
2
2
  import * as $p_i from '../ios/index';
3
- import { ArrayList } from './types';
4
3
 
5
4
  export declare class VeLiveFileRecorderConfiguration {
6
5
  protected _instance: any;
@@ -10,8 +9,8 @@ export declare class VeLiveFileRecorderConfiguration {
10
9
  /** {en}
11
10
  * @detail api
12
11
  * @brief Sets the width of the recorded video.
13
- * @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
14
12
  * @param width The width of the recorded video. The default value is `360`.
13
+ * @return The local recording configurations. See [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration) for details.
15
14
  *
16
15
  */
17
16
  setWidth(width: number): void;
@@ -19,8 +18,8 @@ export declare class VeLiveFileRecorderConfiguration {
19
18
  /** {en}
20
19
  * @detail api
21
20
  * @brief Sets the height of the recorded video.
22
- * @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
23
21
  * @param height The height of the recorded video, the default value is `640`.
22
+ * @return The local recording configurations. See [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration) for details.
24
23
  *
25
24
  */
26
25
  setHeight(height: number): void;
@@ -28,8 +27,8 @@ export declare class VeLiveFileRecorderConfiguration {
28
27
  /** {en}
29
28
  * @detail api
30
29
  * @brief Sets the bitrate of the recorded video.
31
- * @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
32
30
  * @param bitrate The bitrate of the recorded video, in Kbps. The default value is `2000`.
31
+ * @return The local recording configurations. See [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration) for details.
33
32
  *
34
33
  */
35
34
  setBitrate(bitrate: number): void;
@@ -37,8 +36,8 @@ export declare class VeLiveFileRecorderConfiguration {
37
36
  /** {en}
38
37
  * @detail api
39
38
  * @brief Sets the frame rate of the recorded video.
40
- * @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
41
39
  * @param fps The frame rate of the recorded video. The default value is `15`.
40
+ * @return The local recording configurations. See [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration) for details.
42
41
  *
43
42
  */
44
43
  setFps(fps: number): void;
@@ -47,8 +46,7 @@ export declare class VeLiveFileRecorderConfiguration {
47
46
  * @platform android
48
47
  * @detail api
49
48
  * @brief Gets the width of the recorded video.
50
- * @return <br>
51
- * The width of the recorded video.
49
+ * @return The width of the recorded video.
52
50
  *
53
51
  */
54
52
  android_getWidth(): number;
@@ -57,8 +55,7 @@ export declare class VeLiveFileRecorderConfiguration {
57
55
  * @platform android
58
56
  * @detail api
59
57
  * @brief Gets the height of the recorded video.
60
- * @return <br>
61
- * The height of the recorded video.
58
+ * @return The height of the recorded video.
62
59
  *
63
60
  */
64
61
  android_getHeight(): number;
@@ -67,8 +64,7 @@ export declare class VeLiveFileRecorderConfiguration {
67
64
  * @platform android
68
65
  * @detail api
69
66
  * @brief Gets the frame rate of the recorded video.
70
- * @return <br>
71
- * The frame rate of the recorded video.
67
+ * @return The frame rate of the recorded video.
72
68
  *
73
69
  */
74
70
  android_getFps(): number;
@@ -77,8 +73,7 @@ export declare class VeLiveFileRecorderConfiguration {
77
73
  * @platform android
78
74
  * @detail api
79
75
  * @brief Gets the bitrate of the recorded video.
80
- * @return <br>
81
- * The bitrate of the recorded video.
76
+ * @return The bitrate of the recorded video.
82
77
  *
83
78
  */
84
79
  android_getBitrate(): number;
@@ -96,16 +91,16 @@ export declare class VeLiveVideoCaptureConfiguration {
96
91
  * - kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
97
92
  * - kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange
98
93
  */
99
- get ios_pixelFormat(): $p_i.OSType;
100
- set ios_pixelFormat(value: $p_i.OSType);
94
+ get pixelFormat(): $p_i.OSType;
95
+ set pixelFormat(value: $p_i.OSType);
101
96
  protected __init(...args: any[]): void;
102
97
  protected __new_instance(...args: any[]): any;
103
98
 
104
99
  /** {en}
105
100
  * @detail api
106
101
  * @brief Sets the width of the captured video.
107
- * @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
108
102
  * @param width The width of the captured video. The default value is `720`.
103
+ * @return The video capture configurations. See [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration) for details.
109
104
  *
110
105
  */
111
106
  setWidth(width: number): void;
@@ -113,8 +108,8 @@ export declare class VeLiveVideoCaptureConfiguration {
113
108
  /** {en}
114
109
  * @detail api
115
110
  * @brief Sets the height of the captured video.
116
- * @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
117
111
  * @param height The height of the captured video. The default value is `1280`.
112
+ * @return The video capture configurations. See [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration) for details.
118
113
  *
119
114
  */
120
115
  setHeight(height: number): void;
@@ -122,8 +117,8 @@ export declare class VeLiveVideoCaptureConfiguration {
122
117
  /** {en}
123
118
  * @detail api
124
119
  * @brief Sets the captured frame rate.
125
- * @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
126
120
  * @param fps The captured frame rate. The default value is `15`.
121
+ * @return The video capture configurations. See [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration) for details.
127
122
  *
128
123
  */
129
124
  setFps(fps: number): void;
@@ -132,8 +127,7 @@ export declare class VeLiveVideoCaptureConfiguration {
132
127
  * @platform android
133
128
  * @detail api
134
129
  * @brief Gets the width of the captured video.
135
- * @return <br>
136
- * The width of the captured video.
130
+ * @return The width of the captured video.
137
131
  *
138
132
  */
139
133
  android_getWidth(): number;
@@ -152,8 +146,7 @@ export declare class VeLiveVideoCaptureConfiguration {
152
146
  * @platform android
153
147
  * @detail api
154
148
  * @brief Gets the captured frame rate.
155
- * @return <br>
156
- * The captured frame rate.
149
+ * @return The captured frame rate.
157
150
  *
158
151
  */
159
152
  android_getFps(): number;
@@ -161,99 +154,257 @@ export declare class VeLiveVideoCaptureConfiguration {
161
154
 
162
155
  export declare enum VeLivePusherRenderMode {
163
156
 
157
+ /** {en}
158
+ * @brief Stretch the video to fill the screen. The aspect ratio of the video might change.
159
+ *
160
+ */
164
161
  VeLivePusherRenderModeFill = 0,
165
162
 
163
+ /** {en}
164
+ * @brief Display the full video. The video is uniformly scaled until one dimension of the video hits the boundary of the screen. Any remaining space on the screen will be filled with background color.
165
+ *
166
+ */
166
167
  VeLivePusherRenderModeFit = 1,
167
168
 
169
+ /** {en}
170
+ * @brief Uniformly scale the video until the screen is completely filled. Part of the video may be cropped.
171
+ *
172
+ */
168
173
  VeLivePusherRenderModeHidden = 2
169
174
  }
170
175
 
171
176
  export declare enum VeLiveAudioBufferType {
172
177
 
178
+ /** {en}
179
+ * @brief Unknown data type.
180
+ *
181
+ */
173
182
  VeLiveAudioBufferTypeUnknown = 0,
174
183
 
184
+ /** {en}
185
+ * @platform android
186
+ * @brief ByteBuffer.
187
+ *
188
+ */
175
189
  VeLiveAudioBufferTypeByteBuffer = 1,
176
190
 
191
+ /** {en}
192
+ * @platform ios
193
+ * @brief CMSampleBufferRef.
194
+ *
195
+ */
177
196
  VeLiveAudioBufferTypeSampleBuffer = 2,
178
197
 
198
+ /** {en}
199
+ * @platform ios
200
+ * @brief NSData.
201
+ *
202
+ */
179
203
  VeLiveAudioBufferTypeNSData = 3
180
204
  }
181
205
 
182
206
  export declare enum VeLiveVideoCaptureType {
183
207
 
208
+ /** {en}
209
+ * @brief Capture the video with the front-facing camera.
210
+ *
211
+ */
184
212
  VeLiveVideoCaptureFrontCamera = 0,
185
213
 
214
+ /** {en}
215
+ * @brief Capture the video with the rear camera.
216
+ *
217
+ */
186
218
  VeLiveVideoCaptureBackCamera = 1,
187
219
 
220
+ /** {en}
221
+ * @brief Capture the video with dual cameras.
222
+ *
223
+ */
188
224
  VeLiveVideoCaptureDualCamera = 2,
189
225
 
226
+ /** {en}
227
+ * @platform android
228
+ * @brief Capture the screen.
229
+ *
230
+ */
190
231
  VeLiveVideoCaptureScreen = 3,
191
232
 
233
+ /** {en}
234
+ * @brief Capture the video with an external device or source.
235
+ *
236
+ */
192
237
  VeLiveVideoCaptureExternal = 4,
193
238
 
239
+ /** {en}
240
+ * @brief Use a static image as the video source.
241
+ *
242
+ */
194
243
  VeLiveVideoCaptureCustomImage = 5,
195
244
 
245
+ /** {en}
246
+ * @brief Use the last frame as the video source.
247
+ *
248
+ */
196
249
  VeLiveVideoCaptureLastFrame = 6,
197
250
 
251
+ /** {en}
252
+ * @brief Use a black frame as the video source. This is usually used for debugging purposes or in special circumstances.
253
+ *
254
+ */
198
255
  VeLiveVideoCaptureDummyFrame = 7
199
256
  }
200
257
 
201
258
  export declare enum VeLiveVideoRotation {
202
259
 
260
+ /** {en}
261
+ * @brief Do not rotate.
262
+ *
263
+ */
203
264
  VeLiveVideoRotation0 = 0,
204
265
 
266
+ /** {en}
267
+ * @brief Rotate by 90 degrees clockwise.
268
+ *
269
+ */
205
270
  VeLiveVideoRotation90 = 1,
206
271
 
272
+ /** {en}
273
+ * @brief Rotate by 180 degrees clockwise.
274
+ *
275
+ */
207
276
  VeLiveVideoRotation180 = 2,
208
277
 
278
+ /** {en}
279
+ * @brief Rotate by 270 degrees clockwise.
280
+ *
281
+ */
209
282
  VeLiveVideoRotation270 = 3
210
283
  }
211
284
 
212
285
  export declare enum VeLiveNetworkQuality {
213
286
 
287
+ /** {en}
288
+ * @brief Network status not found.
289
+ *
290
+ */
214
291
  VeLiveNetworkQualityUnknown = 0,
215
292
 
293
+ /** {en}
294
+ * @brief Bad network condition.
295
+ *
296
+ */
216
297
  VeLiveNetworkQualityBad = 1,
217
298
 
299
+ /** {en}
300
+ * @brief Poor network condition.
301
+ *
302
+ */
218
303
  VeLiveNetworkQualityPoor = 2,
219
304
 
305
+ /** {en}
306
+ * @brief Good network condition.
307
+ *
308
+ */
220
309
  VeLiveNetworkQualityGood = 3
221
310
  }
222
311
 
223
312
  export declare enum VeLiveAudioCaptureType {
224
313
 
314
+ /** {en}
315
+ * @brief Capture the audio with the default microphone.
316
+ *
317
+ */
225
318
  VeLiveAudioCaptureMicrophone = 0,
226
319
 
320
+ /** {en}
321
+ * @brief Capture the audio in voice call mode, which will activate the 3A features of the hardware, including automatic gain control, automatic frequency control, and automatic noise suppression.
322
+ *
323
+ */
227
324
  VeLiveAudioCaptureVoiceCommunication = 1,
228
325
 
326
+ /** {en}
327
+ * @brief Capture the audio with an external device or source.
328
+ *
329
+ */
229
330
  VeLiveAudioCaptureExternal = 3,
230
331
 
332
+ /** {en}
333
+ * @brief Use muted frames as the audio source.
334
+ *
335
+ */
231
336
  VeLiveAudioCaptureMuteFrame = 4,
232
337
 
338
+ /** {en}
339
+ * @platform android
340
+ * @brief Capture the audio in screen recording.
341
+ *
342
+ */
233
343
  VeLiveAudioCaptureVoiceRecognition = 5
234
344
  }
235
345
 
236
346
  export declare enum VeLiveVideoBufferType {
237
347
 
348
+ /** {en}
349
+ * @brief Unknown data type, which is the default type if you do not specify any type.
350
+ *
351
+ */
238
352
  VeLiveVideoBufferTypeUnknown = 0,
239
353
 
354
+ /** {en}
355
+ * @brief OpenGL texture.
356
+ *
357
+ */
240
358
  VeLiveVideoBufferTypeTexture = 1,
241
359
 
360
+ /** {en}
361
+ * @platform android
362
+ * @brief ByteBuffer.
363
+ *
364
+ */
242
365
  VeLiveVideoBufferTypeByteBuffer = 2,
243
366
 
367
+ /** {en}
368
+ * @platform android
369
+ * @brief ByteArray.
370
+ *
371
+ */
244
372
  VeLiveVideoBufferTypeByteArray = 3,
245
373
 
374
+ /** {en}
375
+ * @platform ios
376
+ * @brief CVPixelBuffer.
377
+ *
378
+ */
246
379
  VeLiveVideoBufferTypePixelBuffer = 4,
247
380
 
381
+ /** {en}
382
+ * @platform ios
383
+ * @brief CMSampleBufferRef.
384
+ *
385
+ */
248
386
  VeLiveVideoBufferTypeSampleBuffer = 5,
249
387
 
388
+ /** {en}
389
+ * @platform ios
390
+ * @brief NSData.
391
+ *
392
+ */
250
393
  VeLiveVideoBufferTypeNSData = 6
251
394
  }
252
395
 
253
396
  export declare enum VeLiveOrientation {
254
397
 
398
+ /** {en}
399
+ * @brief The landscape mode.
400
+ *
401
+ */
255
402
  VeLiveOrientationLandscape = 0,
256
403
 
404
+ /** {en}
405
+ * @brief The portrait mode.
406
+ *
407
+ */
257
408
  VeLiveOrientationPortrait = 1,
258
409
  /**
259
410
  * @platform ios
@@ -271,65 +422,171 @@ export declare enum VeLiveOrientation {
271
422
 
272
423
  export declare enum VeLivePusherStatus {
273
424
 
425
+ /** {en}
426
+ * @brief The initial state.
427
+ *
428
+ */
274
429
  VeLivePushStatusNone = 0,
275
430
 
431
+ /** {en}
432
+ * @brief Connecting to the server.
433
+ *
434
+ */
276
435
  VeLivePushStatusConnecting = 1,
277
436
 
437
+ /** {en}
438
+ * @brief The connection with the server is established.
439
+ *
440
+ */
278
441
  VeLivePushStatusConnectSuccess = 2,
279
442
 
443
+ /** {en}
444
+ * @brief Reconnecting to the server.
445
+ *
446
+ */
280
447
  VeLivePushStatusReconnecting = 3,
281
448
 
449
+ /** {en}
450
+ * @brief Stops connecting to the server.
451
+ *
452
+ */
282
453
  VeLivePushStatusConnectStop = 4,
283
454
 
455
+ /** {en}
456
+ * @brief Fails to connect to the server.
457
+ *
458
+ */
284
459
  VeLivePushStatusConnectError = 5,
285
460
 
461
+ /** {en}
462
+ * @brief The connection with the server is lost.
463
+ *
464
+ */
286
465
  VeLivePushStatusDisconnected = 6
287
466
  }
288
467
 
289
468
  export declare enum VeLiveAudioPowerLevel {
290
469
 
470
+ /** {en}
471
+ * @brief Noisy, similar to the volume of the noise on a busy street or at a concert. The volume is higher than 85 dB.
472
+ *
473
+ */
291
474
  VeLiveAudioPowerLevelNoise = 6,
292
475
 
476
+ /** {en}
477
+ * @brief Muted. The volume is 1 dB or less.
478
+ *
479
+ */
293
480
  VeLiveAudioPowerLevelSilent = 0,
294
481
 
482
+ /** {en}
483
+ * @brief Quiet. The volume is below 15 dB.
484
+ *
485
+ */
295
486
  VeLiveAudioPowerLevelQuiet = 1,
296
487
 
488
+ /** {en}
489
+ * @brief Soft, close to whisper. The volume is between 16 dB and 30 dB.
490
+ *
491
+ */
297
492
  VeLiveAudioPowerLevelLight = 2,
298
493
 
494
+ /** {en}
495
+ * @brief Normal, similar to the volume in a daily conversation. The volume is between 30 dB and 60 dB.
496
+ *
497
+ */
299
498
  VeLiveAudioPowerLevelNormal = 3,
300
499
 
500
+ /** {en}
501
+ * @brief Loud, similar to the volume of the noise at cafes. The volume is between 61 dB and 85 dB.
502
+ *
503
+ */
301
504
  VeLiveAudioPowerLevelLoud = 4
302
505
  }
303
506
 
304
507
  export declare enum VeLivePixelFormat {
305
508
 
509
+ /** {en}
510
+ * @brief Unknown format.
511
+ *
512
+ */
306
513
  VeLivePixelFormatUnknown = 0,
307
514
 
515
+ /** {en}
516
+ * @brief I420.
517
+ *
518
+ */
308
519
  VeLivePixelFormatI420 = 1,
309
520
 
521
+ /** {en}
522
+ * @brief NV12.
523
+ *
524
+ */
310
525
  VeLivePixelFormatNV12 = 2,
311
526
 
527
+ /** {en}
528
+ * @brief NV21.
529
+ *
530
+ */
312
531
  VeLivePixelFormatNV21 = 3,
313
532
 
533
+ /** {en}
534
+ * @brief 2D texture.
535
+ *
536
+ */
314
537
  VeLivePixelFormat2DTexture = 4,
315
538
 
539
+ /** {en}
540
+ * @platform android
541
+ * @brief OES texture.
542
+ *
543
+ */
316
544
  VeLivePixelFormatOesTexture = 5,
317
545
 
546
+ /** {en}
547
+ * @platform ios
548
+ * @brief RAGBA.
549
+ *
550
+ */
318
551
  VeLivePixelFormatBGRA32 = 6
319
552
  }
320
553
 
321
554
  export declare enum VeLivePusherLogLevel {
322
555
 
556
+ /** {en}
557
+ * @brief Output VERBOSE, DEBUG, INFO, WARNING and ERROR.
558
+ *
559
+ */
323
560
  VeLivePusherLogLevelVerbose = 0,
324
561
 
562
+ /** {en}
563
+ * @brief Output DEBUG, INFO, WARNING and ERROR.
564
+ *
565
+ */
325
566
  VeLivePusherLogLevelDebug = 1,
326
567
 
568
+ /** {en}
569
+ * @brief Output INFO, WARNING and ERROR.
570
+ *
571
+ */
327
572
  VeLivePusherLogLevelInfo = 2,
328
573
 
574
+ /** {en}
575
+ * @brief Output WARNING and ERROR.
576
+ *
577
+ */
329
578
  VeLivePusherLogLevelWarn = 3,
330
579
 
580
+ /** {en}
581
+ * @brief Output ERROR.
582
+ *
583
+ */
331
584
  VeLivePusherLogLevelError = 4,
332
585
 
586
+ /** {en}
587
+ * @brief Disable logging.
588
+ *
589
+ */
333
590
  VeLivePusherLogLevelNone = 5
334
591
  }
335
592
 
@@ -338,205 +595,461 @@ export declare class VeLiveVideoEncoderConfiguration {
338
595
 
339
596
  /** {en}
340
597
  * @platform ios
341
- * @brief The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details. The default value is `VeLiveVideoResolution720P`.
598
+ * @brief The video resolution. See [VeLiveVideoResolution](#VeLiveVideoResolution) for details. The default value is `VeLiveVideoResolution720P`.
599
+ */
600
+ get resolution(): $p_i.VeLiveVideoResolution;
601
+ set resolution(value: $p_i.VeLiveVideoResolution);
602
+ protected __init(...args: any[]): void;
603
+ protected __new_instance(...args: any[]): any;
604
+
605
+ /** {en}
606
+ * @detail api
607
+ * @brief Sets the video resolution.
608
+ * @param resolution The video resolution. The default value is `VeLiveVideoResolution720P`. See [VeLiveVideoResolution](#VeLivePusherDef-VeLiveVideoResolution) for details.
609
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
610
+ *
611
+ */
612
+ initWithResolution(resolution: VeLiveVideoResolution): this;
613
+
614
+ /** {en}
615
+ * @detail api
616
+ * @brief Sets the video codec.
617
+ * @param codec The video codec. See [VeLiveVideoCodec](#VeLiveVideoCodec) for details.
618
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
619
+ *
620
+ */
621
+ setCodec(codec: VeLiveVideoCodec): this;
622
+
623
+ /** {en}
624
+ * @detail api
625
+ * @brief Sets the encoded video bitrate.
626
+ * @param bitrate The encoded video bitrate, in Kbps. The default value depends on the value of the `resolution` parameter.
627
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
628
+ *
629
+ */
630
+ setBitrate(bitrate: number): this;
631
+
632
+ /** {en}
633
+ * @detail api
634
+ * @brief Sets the minimum encoded video bitrate.
635
+ * @param minBitrate The minimum encoded video bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
636
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
637
+ *
638
+ */
639
+ setMinBitrate(minBitrate: number): this;
640
+
641
+ /** {en}
642
+ * @detail api
643
+ * @brief Sets the maximum encoded video bitrate.
644
+ * @param maxBitrate The maximum video encoding bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
645
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
646
+ *
647
+ */
648
+ setMaxBitrate(maxBitrate: number): this;
649
+
650
+ /** {en}
651
+ * @detail api
652
+ * @brief Sets the encoded video GOP size.
653
+ * @param gopSize The encoded video GOP size, in seconds. The default value is `2`.
654
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
655
+ *
656
+ */
657
+ setGopSize(gopSize: number): this;
658
+
659
+ /** {en}
660
+ * @detail api
661
+ * @brief Sets the encoded frame rate.
662
+ * @param fps The encoded frame rate, in fps. The default value is `15`.
663
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
664
+ *
665
+ */
666
+ setFps(fps: number): this;
667
+
668
+ /** {en}
669
+ * @detail api
670
+ * @brief Sets whether to enable B frames.
671
+ * @param enableBFrame Whether to enable B frames. <br>
672
+ * - true: Enable;
673
+ * - false: (Default) Disable.
674
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
675
+ *
676
+ */
677
+ setEnableBFrame(enableBFrame: boolean): this;
678
+
679
+ /** {en}
680
+ * @detail api
681
+ * @brief Enables hardware encoding.
682
+ * @param enableAccelerate Whether to enable hardware encoding. <br>
683
+ * - true: (Default) Enable;
684
+ * - false: Disable.
685
+ * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration) for details.
686
+ *
687
+ */
688
+ setEnableAccelerate(enableAccelerate: boolean): this;
689
+
690
+ /** {en}
691
+ * @platform android
692
+ * @detail api
693
+ * @brief Gets the video resolution.
694
+ * @return The video resolution. See [VeLiveVideoResolution](#VeLivePusherDef-VeLiveVideoResolution) for details.
695
+ *
696
+ */
697
+ android_getResolution(): $p_a.VeLiveVideoResolution;
698
+
699
+ /** {en}
700
+ * @platform android
701
+ * @detail api
702
+ * @brief Gets the video codec.
703
+ * @return The video codec. See [VeLiveVideoCodec](#VeLiveVideoCodec) for details.
704
+ *
705
+ */
706
+ android_getCodec(): $p_a.VeLiveVideoCodec;
707
+
708
+ /** {en}
709
+ * @platform android
710
+ * @detail api
711
+ * @brief Get the encoded video bitrate.
712
+ * @return The encoded video bitrate.
713
+ *
714
+ */
715
+ android_getBitrate(): number;
716
+
717
+ /** {en}
718
+ * @platform android
719
+ * @detail api
720
+ * @brief Gets the minimum encoded video bitrate.
721
+ * @return The minimum encoded video bitrate.
722
+ *
723
+ */
724
+ android_getMinBitrate(): number;
725
+
726
+ /** {en}
727
+ * @platform android
728
+ * @detail api
729
+ * @brief Gets the maximum encoded video bitrate.
730
+ * @return The maximum encoded video bitrate.
731
+ *
732
+ */
733
+ android_getMaxBitrate(): number;
734
+
735
+ /** {en}
736
+ * @platform android
737
+ * @detail api
738
+ * @brief Gets the encoded video GOP size.
739
+ * @return The encoded video GOP size.
740
+ *
741
+ */
742
+ android_getGopSize(): number;
743
+
744
+ /** {en}
745
+ * @platform android
746
+ * @detail api
747
+ * @brief Gets the encoded frame rate.
748
+ * @return The encoded frame rate.
749
+ *
750
+ */
751
+ android_getFps(): number;
752
+
753
+ /** {en}
754
+ * @platform android
755
+ * @detail api
756
+ * @brief Gets whether to enable B frames.
757
+ * @return Whether to enable B frames.<br/>
758
+ * - true: Enable;
759
+ * - false: Disable.
760
+ *
761
+ */
762
+ android_isEnableBFrame(): boolean;
763
+
764
+ /** {en}
765
+ * @platform android
766
+ * @detail api
767
+ * @brief Gets whether to enable hardware encoding.
768
+ * @return Whether to enable hardware encoding.<br/>
769
+ * - true: Enable;
770
+ * - false: Disable.
771
+ *
772
+ */
773
+ android_isEnableAccelerate(): boolean;
774
+ }
775
+
776
+ export declare class VeLiveVideoFrame {
777
+ constructor(width: number, height: number, pts: number, data: ArrayBuffer);
778
+ constructor();
779
+ protected _instance: any;
780
+
781
+ /** {en}
782
+ * @platform ios
783
+ * @brief The video buffer type. The default value is `VeLiveVideoBufferTypeUnknown`. See [VeLiveVideoBufferType](#VeLiveVideoBufferType) for details.
784
+ */
785
+ get bufferType(): $p_i.VeLiveVideoBufferType;
786
+ set bufferType(value: $p_i.VeLiveVideoBufferType);
787
+
788
+ /** {en}
789
+ * @platform ios
790
+ * @brief The pixel format. When `bufferType` is `VeLiveVideoBufferTypeNSData`, you must specify `pixelFormat`. See [VeLivePixelFormat](#VeLivePixelFormat) for details.
791
+ */
792
+ get pixelFormat(): $p_i.VeLivePixelFormat;
793
+ set pixelFormat(value: $p_i.VeLivePixelFormat);
794
+
795
+ /** {en}
796
+ * @platform ios
797
+ * @brief The rotation angle in a clockwise direction. See [VeLiveVideoRotation](#VeLiveVideoRotation) for details.
798
+ */
799
+ get rotation(): $p_i.VeLiveVideoRotation;
800
+ set rotation(value: $p_i.VeLiveVideoRotation);
801
+
802
+ /** {en}
803
+ * @platform ios
804
+ * @brief The width of the video, in pixels.
805
+ */
806
+ get width(): $p_i.int;
807
+ set width(value: $p_i.int);
808
+
809
+ /** {en}
810
+ * @platform ios
811
+ * @brief The height of the video, in pixels.
812
+ */
813
+ get height(): $p_i.int;
814
+ set height(value: $p_i.int);
815
+
816
+ /** {en}
817
+ * @platform ios
818
+ * @brief The timestamp of the video frame, in μs.
819
+ */
820
+ get pts(): $p_i.CMTime;
821
+ set pts(value: $p_i.CMTime);
822
+
823
+ /** {en}
824
+ * @platform ios
825
+ * @brief The video data, when `bufferType` is `VeLiveVideoBufferTypeTexture`.
826
+ */
827
+ get textureId(): $p_i.GLuint;
828
+ set textureId(value: $p_i.GLuint);
829
+
830
+ /** {en}
831
+ * @platform ios
832
+ * @brief The video data, when `bufferType` is `VeLiveVideoBufferTypePixelBuffer`.
833
+ */
834
+ get pixelBuffer(): $p_i.CVPixelBufferRef;
835
+ set pixelBuffer(value: $p_i.CVPixelBufferRef);
836
+
837
+ /** {en}
838
+ * @platform ios
839
+ * @brief The video data, when `bufferType` is `VeLiveVideoBufferTypeSampleBuffer`.
840
+ */
841
+ get sampleBuffer(): $p_i.CMSampleBufferRef;
842
+ set sampleBuffer(value: $p_i.CMSampleBufferRef);
843
+
844
+ /** {en}
845
+ * @platform ios
846
+ * @brief The video data, when `bufferType` is `VeLiveVideoBufferTypeNSData`.
342
847
  */
343
- get ios_resolution(): $p_i.VeLiveVideoResolution;
344
- set ios_resolution(value: $p_i.VeLiveVideoResolution);
848
+ get data(): $p_i.NSData;
849
+ set data(value: $p_i.NSData);
345
850
  protected __init(...args: any[]): void;
346
851
  protected __new_instance(...args: any[]): any;
347
852
 
348
853
  /** {en}
854
+ * @platform android
349
855
  * @detail api
350
- * @brief Sets the video resolution.
351
- * @param resolution The video resolution. The default value is `VeLiveVideoResolution720P`. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
352
- * @return <br>
353
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
856
+ * @brief Increases the reference count of the `VeLiveVideoFrame` object. Call this method to increase the reference count by 1 if you need to continue using the `VeLiveVideoFrame` object.
354
857
  *
355
858
  */
356
- initWithResolution(resolution: VeLiveVideoResolution): this;
859
+ android_retain(): void;
357
860
 
358
861
  /** {en}
862
+ * @platform android
359
863
  * @detail api
360
- * @brief Sets the video codec.
361
- * @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](broadcast-sdk-for-android-type-definition#VeLiveVideoEncoderConfiguration) for details.
362
- * @param codec <br>The video codec. See [VeLiveVideoCodec](broadcast-sdk-for-android-type-definition#VeLiveVideoCodec) for details.
864
+ * @brief Releases the reference to the `VeLiveVideoFrame` object. Call this method to reduce the reference count by 1 when you no longer need to use the `VeLiveVideoFrame` object. When the reference count is reduced to 0, it means there is no reference to the object, and the object can be safely released or destroyed.
363
865
  *
364
866
  */
365
- setCodec(codec: VeLiveVideoCodec): this;
867
+ android_release(): void;
366
868
 
367
869
  /** {en}
870
+ * @platform android
368
871
  * @detail api
369
- * @brief Sets the encoded video bitrate.
370
- * @param bitrate The encoded video bitrate, in Kbps. The default value depends on the value of the `resolution` parameter.
371
- * @return <br>
372
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
872
+ * @brief Gets the data type of the video.
873
+ * @return The data type of the video. See [VeLiveVideoBufferType](#VeLiveVideoBufferType) for details.
373
874
  *
374
875
  */
375
- setBitrate(bitrate: number): this;
876
+ android_getBufferType(): $p_a.VeLiveVideoBufferType;
376
877
 
377
878
  /** {en}
879
+ * @platform android
378
880
  * @detail api
379
- * @brief Sets the minimum encoded video bitrate.
380
- * @param minBitrate The minimum encoded video bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
381
- * @return <br>
382
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
881
+ * @brief Sets the data type of the video.
882
+ * @param bufferType The data type of the video. See [VeLiveVideoBufferType](#VeLiveVideoBufferType) for details.
883
+ * @return The video frame object. See [VeLiveVideoFrame](#VeLiveVideoFrame) for details.
383
884
  *
384
885
  */
385
- setMinBitrate(minBitrate: number): this;
886
+ android_setBufferType(bufferType: $p_a.VeLiveVideoBufferType): this;
386
887
 
387
888
  /** {en}
889
+ * @platform android
388
890
  * @detail api
389
- * @brief Sets the maximum encoded video bitrate.
390
- * @param maxBitrate The maximum video encoding bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
391
- * @return <br>
392
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
891
+ * @brief Gets the pixel format.
892
+ * @return
893
+ * The pixel format. See [VeLivePixelFormat](#VeLivePixelFormat) for details.
393
894
  *
394
895
  */
395
- setMaxBitrate(maxBitrate: number): this;
896
+ android_getPixelFormat(): $p_a.VeLivePixelFormat;
396
897
 
397
898
  /** {en}
899
+ * @platform android
398
900
  * @detail api
399
- * @brief Sets the encoded video GOP size.
400
- * @param gopSize The encoded video GOP size, in seconds. The default value is `2`.
401
- * @return <br>
402
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
901
+ * @brief Sets the pixel format.
902
+ * @param pixelFormat The pixel format. See [VeLivePixelFormat](#VeLivePixelFormat) for details.
903
+ * @return The video frame object. See [VeLiveVideoFrame](#VeLiveVideoFrame) for details.
403
904
  *
404
905
  */
405
- setGopSize(gopSize: number): this;
906
+ android_setPixelFormat(pixelFormat: $p_a.VeLivePixelFormat): this;
406
907
 
407
908
  /** {en}
909
+ * @platform android
408
910
  * @detail api
409
- * @brief Sets the encoded frame rate.
410
- * @param fps The encoded frame rate, in fps. The default value is `15`.
411
- * @return <br>
412
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
911
+ * @brief Gets the rotation angle in a clockwise direction.
912
+ * @return The rotation angle in a clockwise direction. See [VeLiveVideoRotation](#VeLiveVideoRotation) for details.
413
913
  *
414
914
  */
415
- setFps(fps: number): this;
915
+ android_getRotation(): $p_a.VeLiveVideoRotation;
416
916
 
417
917
  /** {en}
918
+ * @platform android
418
919
  * @detail api
419
- * @brief Sets whether to enable B frames.
420
- * @param enableBFrame Whether to enable B frames. <br>
421
- * - true: Enable;
422
- * - false: (Default) Disable.
423
- * @return <br>
424
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
920
+ * @brief Sets the rotation angle in a clockwise direction.
921
+ * @param rotation The rotation angle in a clockwise direction. See [VeLiveVideoRotation](#VeLiveVideoRotation) for details.
922
+ * @return
923
+ * The video frame object. See [VeLiveVideoFrame](#VeLiveVideoFrame) for details.
425
924
  *
426
925
  */
427
- setEnableBFrame(enableBFrame: boolean): this;
926
+ android_setRotation(rotation: $p_a.VeLiveVideoRotation): this;
428
927
 
429
928
  /** {en}
929
+ * @platform android
430
930
  * @detail api
431
- * @brief Enables hardware encoding.
432
- * @param enableAccelerate Whether to enable hardware encoding. <br>
433
- * - true: (Default) Enable;
434
- * - false: Disable.
931
+ * @brief Gets the width of the video frame.
435
932
  * @return <br>
436
- * The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
933
+ * The width of the video frame.
437
934
  *
438
935
  */
439
- setEnableAccelerate(enableAccelerate: boolean): this;
936
+ android_getWidth(): number;
440
937
 
441
938
  /** {en}
442
939
  * @platform android
443
940
  * @detail api
444
- * @brief Gets the video resolution.
941
+ * @brief Gets the height of the video frame.
445
942
  * @return <br>
446
- * The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
943
+ * The height of the video frame.
447
944
  *
448
945
  */
449
- android_getResolution(): $p_a.VeLiveVideoResolution;
946
+ android_getHeight(): number;
450
947
 
451
948
  /** {en}
452
949
  * @platform android
453
950
  * @detail api
454
- * @brief Gets the video codec.
951
+ * @brief Gets the width of the rotated video frame.
455
952
  * @return <br>
456
- * The video codec. See VeLiveVideoCodec {@link #VeLiveVideoCodec} for details.
953
+ * The width of the rotated video frame.
457
954
  *
458
955
  */
459
- android_getCodec(): $p_a.VeLiveVideoCodec;
956
+ android_getRotatedWidth(): number;
460
957
 
461
958
  /** {en}
462
959
  * @platform android
463
960
  * @detail api
464
- * @brief Get the encoded video bitrate.
961
+ * @brief Gets the height of the rotated video frame.
465
962
  * @return <br>
466
- * The encoded video bitrate.
963
+ * The height of the rotated video frame.
467
964
  *
468
965
  */
469
- android_getBitrate(): number;
966
+ android_getRotatedHeight(): number;
470
967
 
471
968
  /** {en}
472
969
  * @platform android
473
970
  * @detail api
474
- * @brief Gets the minimum encoded video bitrate.
971
+ * @brief Gets the timestamp of the video frame.
475
972
  * @return <br>
476
- * The minimum encoded video bitrate.
973
+ * The timestamp of the video frame, in μs.
477
974
  *
478
975
  */
479
- android_getMinBitrate(): number;
976
+ android_getPts(): number;
480
977
 
481
978
  /** {en}
482
979
  * @platform android
483
980
  * @detail api
484
- * @brief Gets the maximum encoded video bitrate.
981
+ * @brief Gets the texture ID.
485
982
  * @return <br>
486
- * The maximum encoded video bitrate.
983
+ * The texture ID.
487
984
  *
488
985
  */
489
- android_getMaxBitrate(): number;
986
+ android_getTextureId(): number;
490
987
 
491
988
  /** {en}
492
989
  * @platform android
493
990
  * @detail api
494
- * @brief Gets the encoded video GOP size.
495
- * @return <br>
496
- * The encoded video GOP size.
991
+ * @brief Gets the texture matrix.
992
+ * @return The texture matrix.
497
993
  *
498
994
  */
499
- android_getGopSize(): number;
995
+ android_getTextureMatrix(): $p_a.Matrix;
500
996
 
501
997
  /** {en}
502
998
  * @platform android
503
999
  * @detail api
504
- * @brief Gets the encoded frame rate.
505
- * @return <br>
506
- * The encoded frame rate.
1000
+ * @brief Gets the video data in the format of ByteBuffer.
1001
+ * @return The video data in the format of ByteBuffer.
507
1002
  *
508
1003
  */
509
- android_getFps(): number;
1004
+ android_getBuffer(): $p_a.ByteBuffer;
510
1005
 
511
1006
  /** {en}
512
1007
  * @platform android
513
1008
  * @detail api
514
- * @brief Gets whether to enable B frames.
515
- * @return <br>
516
- * Whether to enable B frames. <br>
517
- * - true: Enable;
518
- * - false: Disable.
1009
+ * @brief Gets the video data in the format of byte [].
1010
+ * @return The video data in the format of byte [].
519
1011
  *
520
1012
  */
521
- android_isEnableBFrame(): boolean;
1013
+ android_getData(): ArrayBuffer;
522
1014
 
523
1015
  /** {en}
524
1016
  * @platform android
525
1017
  * @detail api
526
- * @brief Gets whether to enable hardware encoding.
527
- * @return <br>
528
- * Whether to enable hardware encoding. <br>
529
- * - true: Enable;
530
- * - false: Disable.
1018
+ * @brief Gets the internal release callback.
1019
+ * @return The internal release callback.
531
1020
  *
532
1021
  */
533
- android_isEnableAccelerate(): boolean;
1022
+ android_getReleaseCallback(): $p_a.Runnable;
1023
+
1024
+ /** {en}
1025
+ * @platform android
1026
+ * @detail api
1027
+ * @brief Sets the internal release callback.
1028
+ * @param releaseCallback The internal release callback.
1029
+ * @return The video frame object. See [VeLiveVideoFrame](#VeLiveVideoFrame) for details.
1030
+ *
1031
+ */
1032
+ android_setReleaseCallback(releaseCallback: $p_a.Runnable): this;
1033
+
1034
+ /** {en}
1035
+ * @platform ios
1036
+ * @brief Triggered when the SDK has completed processing the video frame and no longer needs the memory. You can release the memory for the video frame after receiving this callback.
1037
+ */
1038
+ ios_releaseCallback(): void;
534
1039
  }
535
1040
 
536
1041
  export declare enum VeLiveVideoCodec {
537
1042
 
1043
+ /** {en}
1044
+ * @brief H.264.
1045
+ *
1046
+ */
538
1047
  VeLiveVideoCodecH264 = 0,
539
1048
 
1049
+ /** {en}
1050
+ * @brief ByteVC1, an encoding format developed by BytePlus.
1051
+ *
1052
+ */
540
1053
  VeLiveVideoCodecByteVC1 = 1
541
1054
  }
542
1055
 
@@ -660,28 +1173,65 @@ export declare class VeLivePusherStatistics {
660
1173
 
661
1174
  export declare enum VeLiveVideoEffectLicenseType {
662
1175
 
1176
+ /** {en}
1177
+ * @brief Authenticate offline.
1178
+ *
1179
+ */
663
1180
  VeLiveVideoEffectLicenseTypeOffLine = 0,
664
1181
 
1182
+ /** {en}
1183
+ * @brief Authenticate online.
1184
+ *
1185
+ */
665
1186
  VeLiveVideoEffectLicenseTypeOnLine = 1
666
1187
  }
667
1188
 
668
1189
  export declare enum VeLiveAudioChannel {
669
1190
 
1191
+ /** {en}
1192
+ * @brief Mono, which is suitable for voice communication and saves bandwidth.
1193
+ *
1194
+ */
670
1195
  VeLiveAudioChannelMono = 0,
671
1196
 
1197
+ /** {en}
1198
+ * @brief Stereo, which provides a richer audio experience and is suitable for music playback.
1199
+ *
1200
+ */
672
1201
  VeLiveAudioChannelStereo = 1
673
1202
  }
674
1203
 
675
1204
  export declare enum VeLiveFirstFrameType {
676
1205
 
1206
+ /** {en}
1207
+ * @brief The first audio or video frame captured by the microphone or the camera.
1208
+ *
1209
+ */
677
1210
  VeLiveFirstCaptureFrame = 0,
678
1211
 
1212
+ /** {en}
1213
+ * @brief The first video frame rendered, which is the first frame displayed on the screen.
1214
+ *
1215
+ */
679
1216
  VeLiveFirstRenderFrame = 1,
680
1217
 
1218
+ /** {en}
1219
+ * @brief The first audio or video frame encoded in a certain format.
1220
+ *
1221
+ */
681
1222
  VeLiveFirstEncodedFrame = 2,
682
1223
 
1224
+ /** {en}
1225
+ * @brief The first audio or video frame transmitted through the network.
1226
+ *
1227
+ */
683
1228
  VeLiveFirstSendFrame = 3,
684
1229
 
1230
+ /** {en}
1231
+ * @platform ios
1232
+ * @brief The first audio frame captured from the app after screen streaming starts.
1233
+ *
1234
+ */
685
1235
  VeLiveFirstAppAudioCaptureFrame = 4
686
1236
  }
687
1237
 
@@ -702,10 +1252,22 @@ export declare enum VeLiveVideoFrameSource {
702
1252
 
703
1253
  export declare enum VeLiveAudioProfile {
704
1254
 
1255
+ /** {en}
1256
+ * @brief LC-AAC.
1257
+ *
1258
+ */
705
1259
  VeLiveAudioAACProfileLC = 0,
706
1260
 
1261
+ /** {en}
1262
+ * @brief HEv1-AAC.
1263
+ *
1264
+ */
707
1265
  VeLiveAudioAACProfileHEv1 = 1,
708
1266
 
1267
+ /** {en}
1268
+ * @brief HEv2-AAC.
1269
+ *
1270
+ */
709
1271
  VeLiveAudioAACProfileHEv2 = 2
710
1272
  }
711
1273
 
@@ -714,17 +1276,17 @@ export declare class VeLiveAudioCaptureConfiguration {
714
1276
 
715
1277
  /** {en}
716
1278
  * @platform ios
717
- * @brief The sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details. The default value is `VeLiveAudioSampleRate44100`.
1279
+ * @brief The sample rate. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details. The default value is `VeLiveAudioSampleRate44100`.
718
1280
  */
719
- get ios_sampleRate(): $p_i.VeLiveAudioSampleRate;
720
- set ios_sampleRate(value: $p_i.VeLiveAudioSampleRate);
1281
+ get sampleRate(): $p_i.VeLiveAudioSampleRate;
1282
+ set sampleRate(value: $p_i.VeLiveAudioSampleRate);
721
1283
 
722
1284
  /** {en}
723
1285
  * @platform ios
724
- * @brief The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details. The default value is `VeLiveAudioChannelStereo`.
1286
+ * @brief The number of audio channels. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details. The default value is `VeLiveAudioChannelStereo`.
725
1287
  */
726
- get ios_channel(): $p_i.VeLiveAudioChannel;
727
- set ios_channel(value: $p_i.VeLiveAudioChannel);
1288
+ get channel(): $p_i.VeLiveAudioChannel;
1289
+ set channel(value: $p_i.VeLiveAudioChannel);
728
1290
  protected __init(...args: any[]): void;
729
1291
  protected __new_instance(...args: any[]): any;
730
1292
 
@@ -732,8 +1294,7 @@ export declare class VeLiveAudioCaptureConfiguration {
732
1294
  * @platform android
733
1295
  * @detail api
734
1296
  * @brief Gets the sample rate.
735
- * @return <br>
736
- * The sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
1297
+ * @return The sample rate. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
737
1298
  *
738
1299
  */
739
1300
  android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
@@ -742,8 +1303,8 @@ export declare class VeLiveAudioCaptureConfiguration {
742
1303
  * @platform android
743
1304
  * @detail api
744
1305
  * @brief Sets the sample rate.
745
- * @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
746
- * @param sampleRate The sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
1306
+ * @param sampleRate The sample rate. The default value is `VeLiveAudioSampleRate44100`. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1307
+ * @return The audio capture configurations. See [VeLiveAudioCaptureConfiguration](#VeLivePusherDef-VeLiveAudioCaptureConfiguration) for details.
747
1308
  *
748
1309
  */
749
1310
  android_setSampleRate(sampleRate: $p_a.VeLiveAudioSampleRate): this;
@@ -752,8 +1313,7 @@ export declare class VeLiveAudioCaptureConfiguration {
752
1313
  * @platform android
753
1314
  * @detail api
754
1315
  * @brief Gets the number of audio channels.
755
- * @return <br>
756
- * The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
1316
+ * @return The number of audio channels. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
757
1317
  *
758
1318
  */
759
1319
  android_getChannel(): $p_a.VeLiveAudioChannel;
@@ -762,8 +1322,8 @@ export declare class VeLiveAudioCaptureConfiguration {
762
1322
  * @platform android
763
1323
  * @detail api
764
1324
  * @brief Sets the number of audio channels.
765
- * @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
766
- * @param channel The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
1325
+ * @param channel The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1326
+ * @return The audio capture configurations. See [VeLiveAudioCaptureConfiguration](#VeLivePusherDef-VeLiveAudioCaptureConfiguration) for details.
767
1327
  *
768
1328
  */
769
1329
  android_setChannel(channel: $p_a.VeLiveAudioChannel): this;
@@ -772,20 +1332,6 @@ export declare class VeLiveAudioCaptureConfiguration {
772
1332
  export declare class VeLiveStreamMixDescription {
773
1333
  protected _instance: any;
774
1334
 
775
- /** {en}
776
- * @brief An array of video mixing configurations, where each array element represents the mixing configurations of a video stream. See VeLiveMixVideoLayout {@link #VeLiveMixVideoLayout} for details.
777
- *
778
- */
779
- get mixVideoStreams(): ArrayList<VeLiveMixVideoLayout>;
780
- set mixVideoStreams(value: ArrayList<VeLiveMixVideoLayout>);
781
-
782
- /** {en}
783
- * @brief An array of audio mixing configurations, where each array element represents the mixing configurations of an audio stream. See VeLiveMixAudioLayout for details.
784
- *
785
- */
786
- get mixAudioStreams(): ArrayList<VeLiveMixAudioLayout>;
787
- set mixAudioStreams(value: ArrayList<VeLiveMixAudioLayout>);
788
-
789
1335
  /** {en}
790
1336
  * @brief The background color of the mixed video, in #RRGGBB format.
791
1337
  *
@@ -798,14 +1344,38 @@ export declare class VeLiveStreamMixDescription {
798
1344
 
799
1345
  export declare enum VeLiveAudioSampleRate {
800
1346
 
1347
+ /** {en}
1348
+ * @platform android
1349
+ * @brief 8K.
1350
+ *
1351
+ */
801
1352
  VeLiveAudioSampleRate8000 = 0,
802
1353
 
1354
+ /** {en}
1355
+ * @platform android
1356
+ * @brief 16K.
1357
+ *
1358
+ */
803
1359
  VeLiveAudioSampleRate16000 = 1,
804
1360
 
1361
+ /** {en}
1362
+ * @platform android
1363
+ * @brief 32K.
1364
+ *
1365
+ */
805
1366
  VeLiveAudioSampleRate32000 = 2,
806
1367
 
1368
+ /** {en}
1369
+ * @brief 44.1K.
1370
+ *
1371
+ */
807
1372
  VeLiveAudioSampleRate44100 = 3,
808
1373
 
1374
+ /** {en}
1375
+ * @platform android
1376
+ * @brief 48K.
1377
+ *
1378
+ */
809
1379
  VeLiveAudioSampleRate48000 = 4
810
1380
  }
811
1381
 
@@ -871,9 +1441,124 @@ export declare enum VeLiveVideoResolution {
871
1441
  */
872
1442
  VeLiveVideoResolution1080P = 4,
873
1443
 
1444
+ /** {en}
1445
+ * @platform ios
1446
+ * @brief The resolution of the streamed screen. The predefined configurations are as follows:
1447
+ * - Frame rate: 15 fps
1448
+ * - Target bitrate: 2500 kbps
1449
+ * - Minimum bitrate: 1000 kbps
1450
+ * - Maximum bitrate: 3800 kbps
1451
+ *
1452
+ */
874
1453
  VeLiveVideoResolutionScreen = 5
875
1454
  }
876
1455
 
1456
+ export declare class VeLiveAudioFrame {
1457
+ constructor();
1458
+ constructor();
1459
+ protected _instance: any;
1460
+
1461
+ /** {en}
1462
+ * @platform ios
1463
+ * @brief The audio data type. The default value is `VeLiveAudioBufferTypeUnknown`. See [VeLiveAudioBufferType](#VeLiveAudioBufferType) for details.
1464
+ */
1465
+ get bufferType(): $p_i.VeLiveAudioBufferType;
1466
+ set bufferType(value: $p_i.VeLiveAudioBufferType);
1467
+
1468
+ /** {en}
1469
+ * @platform ios
1470
+ * @brief The audio sample rate. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1471
+ */
1472
+ get sampleRate(): $p_i.VeLiveAudioSampleRate;
1473
+ set sampleRate(value: $p_i.VeLiveAudioSampleRate);
1474
+
1475
+ /** {en}
1476
+ * @platform ios
1477
+ * @brief The number of audio channels. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1478
+ */
1479
+ get channels(): $p_i.VeLiveAudioChannel;
1480
+ set channels(value: $p_i.VeLiveAudioChannel);
1481
+
1482
+ /** {en}
1483
+ * @platform ios
1484
+ * @brief The audio frame timestamp, in μs, when `bufferType` is `VeLiveAudioBufferNSData`.
1485
+ */
1486
+ get pts(): $p_i.CMTime;
1487
+ set pts(value: $p_i.CMTime);
1488
+
1489
+ /** {en}
1490
+ * @platform ios
1491
+ * @brief The audio data, when `bufferType` is `VeLiveAudioBufferTypeSampleBuffer`.
1492
+ */
1493
+ get sampleBuffer(): $p_i.CMSampleBufferRef;
1494
+ set sampleBuffer(value: $p_i.CMSampleBufferRef);
1495
+
1496
+ /** {en}
1497
+ * @platform ios
1498
+ * @brief The audio data, when `bufferType` is `VeLiveAudioBufferTypeNSData`. The audio data is of type float32 and is stored in little-endian byte order.
1499
+ */
1500
+ get data(): $p_i.NSData;
1501
+ set data(value: $p_i.NSData);
1502
+ protected __init(...args: any[]): void;
1503
+ protected __new_instance(...args: any[]): any;
1504
+
1505
+ /** {en}
1506
+ * @platform android
1507
+ * @detail api
1508
+ * @brief Gets the audio data type.
1509
+ * @return The audio data type. See [VeLiveAudioBufferType](#VeLiveAudioBufferType) for details.
1510
+ *
1511
+ */
1512
+ android_getBufferType(): $p_a.VeLiveAudioBufferType;
1513
+
1514
+ /** {en}
1515
+ * @platform android
1516
+ * @detail api
1517
+ * @brief Gets the audio sample rate.
1518
+ * @return The audio sample rate. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1519
+ *
1520
+ */
1521
+ android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
1522
+
1523
+ /** {en}
1524
+ * @platform android
1525
+ * @detail api
1526
+ * @brief Gets the number of audio channels.
1527
+ * @return The number of audio channels. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1528
+ *
1529
+ */
1530
+ android_getChannels(): $p_a.VeLiveAudioChannel;
1531
+
1532
+ /** {en}
1533
+ * @platform android
1534
+ * @detail api
1535
+ * @brief Get the number of sampling points of each channel.
1536
+ * @return Number of sampling points.
1537
+ *
1538
+ */
1539
+ android_getSamplesPerChannel(): number;
1540
+
1541
+ /** {en}
1542
+ * @platform android
1543
+ * @detail api
1544
+ * @brief Gets the audio timestamp, in μs.
1545
+ * @return <br>
1546
+ * The timestamp of the audio frame, in μs.
1547
+ *
1548
+ */
1549
+ android_getPts(): number;
1550
+
1551
+ /** {en}
1552
+ * @platform android
1553
+ * @detail api
1554
+ * @brief Gets the audio data. The audio data is stored in little-endian byte order.
1555
+ * @return <br>
1556
+ * The audio data in the format of ByteBuffer.
1557
+ *
1558
+ */
1559
+ android_getBuffer(): $p_a.ByteBuffer;
1560
+ }
1561
+
877
1562
  export declare class VeLiveMixAudioLayout {
878
1563
  protected _instance: any;
879
1564
 
@@ -886,7 +1571,7 @@ export declare class VeLiveMixAudioLayout {
886
1571
 
887
1572
  /** {en}
888
1573
  * @detail api
889
- * @brief The volume of the mixed audio stream. The value range is [0.0,4.0]. If you set VeLiveAudioMixType{@link #VeLiveAudioMixType} to `VeLiveAudioMixPlayAndPush`, this variable takes effect on both the host and the audience sides.
1574
+ * @brief The volume of the mixed audio stream. The value range is [0.0,4.0]. If you set [VeLiveAudioMixType](#VeLiveAudioMixType) to `VeLiveAudioMixPlayAndPush`, this variable takes effect on both the host and the audience sides.
890
1575
  *
891
1576
  */
892
1577
  get volume(): number;
@@ -898,7 +1583,7 @@ export declare class VeLiveMixAudioLayout {
898
1583
  * @platform android
899
1584
  * @detail api
900
1585
  * @brief Updates audio mixing configurations.
901
- * @param other New audio mixing configurations. See VeLiveMixAudioLayout for details.
1586
+ * @param other New audio mixing configurations. See [VeLiveMixAudioLayout](#VeLivePusherDef-VeLiveMixAudioLayout) for details.
902
1587
  *
903
1588
  */
904
1589
  android_update(other: $p_a.VeLiveMixAudioLayout): void;
@@ -906,10 +1591,22 @@ export declare class VeLiveMixAudioLayout {
906
1591
 
907
1592
  export declare enum VeLiveVideoMirrorType {
908
1593
 
1594
+ /** {en}
1595
+ * @brief Mirror the captured video. When turned on, both the preview and the pushed video are mirrored.
1596
+ *
1597
+ */
909
1598
  VeLiveVideoMirrorCapture = 0,
910
1599
 
1600
+ /** {en}
1601
+ * @brief Mirror the preview. When turned on, only the preview is mirrored.
1602
+ *
1603
+ */
911
1604
  VeLiveVideoMirrorPreview = 1,
912
1605
 
1606
+ /** {en}
1607
+ * @brief Mirror the video before encoding. When turned on, only the pushed video is mirrored.
1608
+ *
1609
+ */
913
1610
  VeLiveVideoMirrorPushStream = 2
914
1611
  }
915
1612
 
@@ -966,11 +1663,21 @@ export declare class VeLiveMixVideoLayout {
966
1663
  set zOrder(value: number);
967
1664
 
968
1665
  /** {en}
969
- * @brief The render mode of the video. See VeLivePusherRenderMode {@link #VeLivePusherRenderMode} for details.
1666
+ * @brief The render mode of the video. See [VeLivePusherRenderMode](#VeLivePusherRenderMode) for details.
970
1667
  *
971
1668
  */
972
1669
  get renderMode(): VeLivePusherRenderMode;
973
1670
  set renderMode(value: VeLivePusherRenderMode);
1671
+
1672
+ /** {en}
1673
+ * @brief Whether to retain the original Alpha channel value of the video stream. The default is retain. When the value of [alpha](#VeLiveMixVideoLayout-alpha) is within the range of [0.0, 1.0], this configuration is ignored.<br/>
1674
+ *
1675
+ * - YES: Retain;
1676
+ * - NO: Do not retain.
1677
+ *
1678
+ */
1679
+ get enableAlpha(): boolean;
1680
+ set enableAlpha(value: boolean);
974
1681
  protected __init(...args: any[]): void;
975
1682
  protected __new_instance(...args: any[]): any;
976
1683
 
@@ -978,7 +1685,7 @@ export declare class VeLiveMixVideoLayout {
978
1685
  * @platform android
979
1686
  * @detail api
980
1687
  * @brief Updates video mixing configurations.
981
- * @param other New video mixing configurations. See VeLiveMixVideoLayout {@link #VeLiveMixVideoLayout} for details.
1688
+ * @param other New video mixing configurations. See [VeLiveMixVideoLayout](#VeLivePusherDef-VeLiveMixVideoLayout) for details.
982
1689
  *
983
1690
  */
984
1691
  android_update(other: $p_a.VeLiveMixVideoLayout): void;
@@ -990,8 +1697,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
990
1697
  * @platform android
991
1698
  * @detail api
992
1699
  * @brief Initializes the license configurations in local authentication mode.
993
- * @return <br>A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
994
- * @param path The local cache path for the video effects license. You can get the path through the getPath {@link #getPath} property.
1700
+ * @param path The local cache path for the video effects license. You can get the path through the [getPath](#VeLiveVideoEffectLicenseConfiguration-getpath) property.
1701
+ * @return A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
995
1702
  *
996
1703
  */
997
1704
  static android_create(path: string): $p_a.VeLiveVideoEffectLicenseConfiguration;
@@ -1000,8 +1707,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1000
1707
  * @platform android
1001
1708
  * @detail api
1002
1709
  * @brief Initializes the license configurations in local authentication mode.
1003
- * @return <br>A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
1004
- * @param path The local cache path for the video effects license. You can get the path through the getPath {@link #getPath} property.
1710
+ * @param path The local cache path for the video effects license. You can get the path through the [getPath](#VeLiveVideoEffectLicenseConfiguration-getpath) property.
1711
+ * @return A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
1005
1712
  *
1006
1713
  */
1007
1714
  static android_create_key$secret$url(key: string, secret: string, url: string): $p_a.VeLiveVideoEffectLicenseConfiguration;
@@ -1009,38 +1716,38 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1009
1716
 
1010
1717
  /** {en}
1011
1718
  * @platform ios
1012
- * @brief The special effects license type. See VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} for details.
1719
+ * @brief The special effects license type. See [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) for details.
1013
1720
  */
1014
- get ios_type(): $p_i.VeLiveVideoEffectLicenseType;
1015
- set ios_type(value: $p_i.VeLiveVideoEffectLicenseType);
1721
+ get type(): $p_i.VeLiveVideoEffectLicenseType;
1722
+ set type(value: $p_i.VeLiveVideoEffectLicenseType);
1016
1723
 
1017
1724
  /** {en}
1018
1725
  * @platform ios
1019
- * @brief The local path to the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOffLine`.
1726
+ * @brief The local path to the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOffLine`.
1020
1727
  */
1021
- get ios_path(): $p_i.NSString;
1022
- set ios_path(value: $p_i.NSString);
1728
+ get path(): $p_i.NSString;
1729
+ set path(value: $p_i.NSString);
1023
1730
 
1024
1731
  /** {en}
1025
1732
  * @platform ios
1026
- * @brief The online authentication key for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1733
+ * @brief The online authentication key for the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1027
1734
  */
1028
- get ios_key(): $p_i.NSString;
1029
- set ios_key(value: $p_i.NSString);
1735
+ get key(): $p_i.NSString;
1736
+ set key(value: $p_i.NSString);
1030
1737
 
1031
1738
  /** {en}
1032
1739
  * @platform ios
1033
- * @brief The online authentication secret for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1740
+ * @brief The online authentication secret for the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1034
1741
  */
1035
- get ios_secret(): $p_i.NSString;
1036
- set ios_secret(value: $p_i.NSString);
1742
+ get secret(): $p_i.NSString;
1743
+ set secret(value: $p_i.NSString);
1037
1744
 
1038
1745
  /** {en}
1039
1746
  * @platform ios
1040
- * @brief The online authentication address for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1747
+ * @brief The online authentication address for the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1041
1748
  */
1042
- get ios_url(): $p_i.NSString;
1043
- set ios_url(value: $p_i.NSString);
1749
+ get url(): $p_i.NSString;
1750
+ set url(value: $p_i.NSString);
1044
1751
  protected __init(...args: any[]): void;
1045
1752
  protected __new_instance(...args: any[]): any;
1046
1753
 
@@ -1048,8 +1755,7 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1048
1755
  * @platform android
1049
1756
  * @detail api
1050
1757
  * @brief Gets the special effects license type.
1051
- * @return <br>
1052
- * The special effects license type. See VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} for details..
1758
+ * @return The special effects license type. See [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) for details..
1053
1759
  *
1054
1760
  */
1055
1761
  android_getType(): $p_a.VeLiveVideoEffectLicenseType;
@@ -1057,9 +1763,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1057
1763
  /** {en}
1058
1764
  * @platform android
1059
1765
  * @detail api
1060
- * @brief Gets the local path to the video effects license.
1061
- * @return <br>
1062
- * The local path to the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOffLine`.
1766
+ * @brief Gets the local path to the video effects license. When [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOffLine`, return the local path of the license file.
1767
+ * @return The local path to the video effects license.
1063
1768
  *
1064
1769
  */
1065
1770
  android_getPath(): string;
@@ -1067,9 +1772,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1067
1772
  /** {en}
1068
1773
  * @platform android
1069
1774
  * @detail api
1070
- * @brief Gets the online authentication key for the video effects licenses.
1071
- * @return <br>
1072
- * The online authentication key for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1775
+ * @brief Gets the online authentication key for the video effects licenses, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1776
+ * @return The online authentication key for the video effects license.
1073
1777
  *
1074
1778
  */
1075
1779
  android_getKey(): string;
@@ -1077,9 +1781,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1077
1781
  /** {en}
1078
1782
  * @platform android
1079
1783
  * @detail api
1080
- * @brief Gets the online authentication secret for the video effects license.
1081
- * @return <br>
1082
- * The online authentication secret for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1784
+ * @brief Gets the online authentication secret for the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1785
+ * @return The online authentication secret for the video effects license.
1083
1786
  *
1084
1787
  */
1085
1788
  android_getSecret(): string;
@@ -1087,9 +1790,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1087
1790
  /** {en}
1088
1791
  * @platform android
1089
1792
  * @detail api
1090
- * @brief Gets the online authentication address for the video effects license.
1091
- * @return <br>
1092
- * The online authentication address for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
1793
+ * @brief Gets the online authentication address for the video effects license, when [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) is `VeLiveVideoEffectLicenseTypeOnLine`.
1794
+ * @return The online authentication address for the video effects license.
1093
1795
  *
1094
1796
  */
1095
1797
  android_getUrl(): string;
@@ -1098,9 +1800,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1098
1800
  * @platform ios
1099
1801
  * @detail api
1100
1802
  * @brief Initializes the license configurations in local authentication mode.
1101
- * @param path The local cache path for the video effects license. You can get the path through the path {@link #path} property.
1102
- * @return <br>
1103
- * A VeLiveVideoEffectLicenseConfiguration {@link #VeLiveVideoEffectLicenseConfiguration} object that uses the specified local path for license authentication.
1803
+ * @param path The local cache path for the video effects license. You can get the path through the [path](#VeLiveVideoEffectLicenseConfiguration-path) property.
1804
+ * @return A [VeLiveVideoEffectLicenseConfiguration](#VeLiveVideoEffectLicenseConfiguration) object that uses the specified local path for license authentication.
1104
1805
  */
1105
1806
  ios_initWithPath(path: string): this;
1106
1807
 
@@ -1108,11 +1809,10 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
1108
1809
  * @platform ios
1109
1810
  * @detail api
1110
1811
  * @brief Initializes the license configurations in online authentication mode.
1111
- * @param key The online authentication key for the video effects license. You can get it through the key{@link #key} property.
1112
- * @param secret The online authentication secret for the video effects license. You can get it through the secret{@link #secret} property.
1113
- * @param url The online authentication address for the video effects license. You can get it through the url{@link #url} property. If you set it to nil, the SDK will use the default URL.
1114
- * @return <br>
1115
- * A VeLiveVideoEffectLicenseConfiguration {@link #VeLiveVideoEffectLicenseConfiguration} object that uses the specified key, secret and address for online license authentication.
1812
+ * @param key The online authentication key for the video effects license. You can get it through the [key](#VeLiveVideoEffectLicenseConfiguration-key) property.
1813
+ * @param secret The online authentication secret for the video effects license. You can get it through the [secret](#VeLiveVideoEffectLicenseConfiguration-secret) property.
1814
+ * @param url The online authentication address for the video effects license. You can get it through the [url](#VeLiveVideoEffectLicenseConfiguration-url) property. If you set it to nil, the SDK will use the default URL.
1815
+ * @return A [VeLiveVideoEffectLicenseConfiguration](#VeLiveVideoEffectLicenseConfiguration) object that uses the specified key, secret and address for online license authentication.
1116
1816
  */
1117
1817
  ios_initWithKey(key: string, secret: string, url: string): this;
1118
1818
  }
@@ -1139,29 +1839,29 @@ export declare class VeLiveAudioEncoderConfiguration {
1139
1839
  * @platform ios
1140
1840
  * @brief The audio encoding bitrate, in Kbps. The default value is `64`.
1141
1841
  */
1142
- get ios_bitrate(): $p_i.int;
1143
- set ios_bitrate(value: $p_i.int);
1842
+ get bitrate(): $p_i.int;
1843
+ set bitrate(value: $p_i.int);
1144
1844
 
1145
1845
  /** {en}
1146
1846
  * @platform ios
1147
- * @brief The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
1847
+ * @brief The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1148
1848
  */
1149
- get ios_sampleRate(): $p_i.VeLiveAudioSampleRate;
1150
- set ios_sampleRate(value: $p_i.VeLiveAudioSampleRate);
1849
+ get sampleRate(): $p_i.VeLiveAudioSampleRate;
1850
+ set sampleRate(value: $p_i.VeLiveAudioSampleRate);
1151
1851
 
1152
1852
  /** {en}
1153
1853
  * @platform ios
1154
- * @brief The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
1854
+ * @brief The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1155
1855
  */
1156
- get ios_channel(): $p_i.VeLiveAudioChannel;
1157
- set ios_channel(value: $p_i.VeLiveAudioChannel);
1856
+ get channel(): $p_i.VeLiveAudioChannel;
1857
+ set channel(value: $p_i.VeLiveAudioChannel);
1158
1858
 
1159
1859
  /** {en}
1160
1860
  * @platform ios
1161
- * @brief The AAC encoding format. The default value is `VeLiveAudioAACProfileLC`. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
1861
+ * @brief The AAC encoding format. The default value is `VeLiveAudioAACProfileLC`. See [VeLiveAudioProfile](#VeLiveAudioProfile) for details.
1162
1862
  */
1163
- get ios_profile(): $p_i.VeLiveAudioProfile;
1164
- set ios_profile(value: $p_i.VeLiveAudioProfile);
1863
+ get profile(): $p_i.VeLiveAudioProfile;
1864
+ set profile(value: $p_i.VeLiveAudioProfile);
1165
1865
  protected __init(...args: any[]): void;
1166
1866
  protected __new_instance(...args: any[]): any;
1167
1867
 
@@ -1169,8 +1869,7 @@ export declare class VeLiveAudioEncoderConfiguration {
1169
1869
  * @platform android
1170
1870
  * @detail api
1171
1871
  * @brief Gets the audio encoding bitrate.
1172
- * @return <br>
1173
- * The audio encoding bitrate.
1872
+ * @return The audio encoding bitrate.
1174
1873
  *
1175
1874
  */
1176
1875
  android_getBitrate(): number;
@@ -1179,8 +1878,8 @@ export declare class VeLiveAudioEncoderConfiguration {
1179
1878
  * @platform android
1180
1879
  * @detail api
1181
1880
  * @brief Sets the audio encoding bitrate.
1182
- * @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
1183
1881
  * @param bitrate The audio encoding bitrate, in Kbps. The default value is `64`.
1882
+ * @return The audio encoding configurations. See [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
1184
1883
  *
1185
1884
  */
1186
1885
  android_setBitrate(bitrate: number): this;
@@ -1189,8 +1888,7 @@ export declare class VeLiveAudioEncoderConfiguration {
1189
1888
  * @platform android
1190
1889
  * @detail api
1191
1890
  * @brief Gets the encoding sample rate.
1192
- * @return <br>
1193
- * The encoding sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
1891
+ * @return The encoding sample rate. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1194
1892
  *
1195
1893
  */
1196
1894
  android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
@@ -1199,8 +1897,8 @@ export declare class VeLiveAudioEncoderConfiguration {
1199
1897
  * @platform android
1200
1898
  * @detail api
1201
1899
  * @brief Sets the encoding sample rate.
1202
- * @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
1203
- * @param sampleRate The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
1900
+ * @param sampleRate The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See [VeLiveAudioSampleRate](#VeLiveAudioSampleRate) for details.
1901
+ * @return The audio encoding configurations. See [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
1204
1902
  *
1205
1903
  */
1206
1904
  android_setSampleRate(sampleRate: $p_a.VeLiveAudioSampleRate): this;
@@ -1209,8 +1907,7 @@ export declare class VeLiveAudioEncoderConfiguration {
1209
1907
  * @platform android
1210
1908
  * @detail api
1211
1909
  * @brief Gets the number of audio channels for streaming.
1212
- * @return <br>
1213
- * The number of audio channels for streaming. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
1910
+ * @return The number of audio channels for streaming. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1214
1911
  *
1215
1912
  */
1216
1913
  android_getChannel(): $p_a.VeLiveAudioChannel;
@@ -1219,8 +1916,8 @@ export declare class VeLiveAudioEncoderConfiguration {
1219
1916
  * @platform android
1220
1917
  * @detail api
1221
1918
  * @brief Sets the number of audio channels for streaming.
1222
- * @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
1223
- * @param channel The number of audio channels for streaming. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
1919
+ * @param channel The number of audio channels for streaming. The default value is `VeLiveAudioChannelStereo`. See [VeLiveAudioChannel](#VeLiveAudioChannel) for details.
1920
+ * @return The audio encoding configurations. See [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
1224
1921
  *
1225
1922
  */
1226
1923
  android_setChannel(channel: $p_a.VeLiveAudioChannel): this;
@@ -1229,8 +1926,7 @@ export declare class VeLiveAudioEncoderConfiguration {
1229
1926
  * @platform android
1230
1927
  * @detail api
1231
1928
  * @brief Gets the audio encoding format.
1232
- * @return <br>
1233
- * The audio encoding format. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
1929
+ * @return The audio encoding format. See [VeLiveAudioProfile](#VeLiveAudioProfile) for details.
1234
1930
  *
1235
1931
  */
1236
1932
  android_getProfile(): $p_a.VeLiveAudioProfile;
@@ -1239,8 +1935,8 @@ export declare class VeLiveAudioEncoderConfiguration {
1239
1935
  * @platform android
1240
1936
  * @detail api
1241
1937
  * @brief Sets the audio encoding format.
1242
- * @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
1243
- * @param profile The audio encoding format. The default value is `VeLiveAudioAACProfileLC`. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
1938
+ * @param profile The audio encoding format. The default value is `VeLiveAudioAACProfileLC`. See [VeLiveAudioProfile](#VeLiveAudioProfile) for details.
1939
+ * @return The audio encoding configurations. See [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
1244
1940
  *
1245
1941
  */
1246
1942
  android_setProfile(profile: $p_a.VeLiveAudioProfile): this;
@@ -1248,145 +1944,153 @@ export declare class VeLiveAudioEncoderConfiguration {
1248
1944
 
1249
1945
  export declare enum VeLiveAudioMixType {
1250
1946
 
1947
+ /** {en}
1948
+ * @brief The audience can hear the mixed audio, but the host cannot.
1949
+ *
1950
+ */
1251
1951
  VeLiveAudioMixPush = 0,
1252
1952
 
1953
+ /** {en}
1954
+ * @brief Both the host and audience can hear the mixed audio.
1955
+ *
1956
+ */
1253
1957
  VeLiveAudioMixPlayAndPush = 1
1254
1958
  }
1255
1959
  export declare class t_VeLivePusherRenderMode {
1256
- static ts_to_android(value: VeLivePusherRenderMode): $p_a.VeLivePusherRenderMode;
1257
- static android_to_ts(value: $p_a.VeLivePusherRenderMode): VeLivePusherRenderMode;
1258
- static ts_to_ios(value: VeLivePusherRenderMode): $p_i.VeLivePusherRenderMode;
1259
- static ios_to_ts(value: $p_i.VeLivePusherRenderMode): VeLivePusherRenderMode;
1960
+ static code_to_android(value: VeLivePusherRenderMode): $p_a.VeLivePusherRenderMode;
1961
+ static android_to_code(value: $p_a.VeLivePusherRenderMode): VeLivePusherRenderMode;
1962
+ static code_to_ios(value: VeLivePusherRenderMode): $p_i.VeLivePusherRenderMode;
1963
+ static ios_to_code(value: $p_i.VeLivePusherRenderMode): VeLivePusherRenderMode;
1260
1964
  }
1261
1965
  export declare class t_VeLiveAudioBufferType {
1262
- static ts_to_android(value: VeLiveAudioBufferType): $p_a.VeLiveAudioBufferType;
1263
- static android_to_ts(value: $p_a.VeLiveAudioBufferType): VeLiveAudioBufferType;
1264
- static ts_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
1265
- static ios_to_ts(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
1966
+ static code_to_android(value: VeLiveAudioBufferType): $p_a.VeLiveAudioBufferType;
1967
+ static android_to_code(value: $p_a.VeLiveAudioBufferType): VeLiveAudioBufferType;
1968
+ static code_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
1969
+ static ios_to_code(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
1266
1970
  }
1267
1971
  export declare class t_VeLiveVideoCaptureType {
1268
- static ts_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
1269
- static android_to_ts(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
1270
- static ts_to_ios(value: VeLiveVideoCaptureType): $p_i.VeLiveVideoCaptureType;
1271
- static ios_to_ts(value: $p_i.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
1972
+ static code_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
1973
+ static android_to_code(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
1974
+ static code_to_ios(value: VeLiveVideoCaptureType): $p_i.VeLiveVideoCaptureType;
1975
+ static ios_to_code(value: $p_i.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
1272
1976
  }
1273
1977
  export declare class t_VeLiveVideoRotation {
1274
- static ts_to_android(value: VeLiveVideoRotation): $p_a.VeLiveVideoRotation;
1275
- static android_to_ts(value: $p_a.VeLiveVideoRotation): VeLiveVideoRotation;
1276
- static ts_to_ios(value: VeLiveVideoRotation): $p_i.VeLiveVideoRotation;
1277
- static ios_to_ts(value: $p_i.VeLiveVideoRotation): VeLiveVideoRotation;
1978
+ static code_to_android(value: VeLiveVideoRotation): $p_a.VeLiveVideoRotation;
1979
+ static android_to_code(value: $p_a.VeLiveVideoRotation): VeLiveVideoRotation;
1980
+ static code_to_ios(value: VeLiveVideoRotation): $p_i.VeLiveVideoRotation;
1981
+ static ios_to_code(value: $p_i.VeLiveVideoRotation): VeLiveVideoRotation;
1278
1982
  }
1279
1983
  export declare class t_VeLiveNetworkQuality {
1280
- static ts_to_android(value: VeLiveNetworkQuality): $p_a.VeLiveNetworkQuality;
1281
- static android_to_ts(value: $p_a.VeLiveNetworkQuality): VeLiveNetworkQuality;
1282
- static ts_to_ios(value: VeLiveNetworkQuality): $p_i.VeLiveNetworkQuality;
1283
- static ios_to_ts(value: $p_i.VeLiveNetworkQuality): VeLiveNetworkQuality;
1984
+ static code_to_android(value: VeLiveNetworkQuality): $p_a.VeLiveNetworkQuality;
1985
+ static android_to_code(value: $p_a.VeLiveNetworkQuality): VeLiveNetworkQuality;
1986
+ static code_to_ios(value: VeLiveNetworkQuality): $p_i.VeLiveNetworkQuality;
1987
+ static ios_to_code(value: $p_i.VeLiveNetworkQuality): VeLiveNetworkQuality;
1284
1988
  }
1285
1989
  export declare class t_VeLiveAudioCaptureType {
1286
- static ts_to_android(value: VeLiveAudioCaptureType): $p_a.VeLiveAudioCaptureType;
1287
- static android_to_ts(value: $p_a.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
1288
- static ts_to_ios(value: VeLiveAudioCaptureType): $p_i.VeLiveAudioCaptureType;
1289
- static ios_to_ts(value: $p_i.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
1990
+ static code_to_android(value: VeLiveAudioCaptureType): $p_a.VeLiveAudioCaptureType;
1991
+ static android_to_code(value: $p_a.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
1992
+ static code_to_ios(value: VeLiveAudioCaptureType): $p_i.VeLiveAudioCaptureType;
1993
+ static ios_to_code(value: $p_i.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
1290
1994
  }
1291
1995
  export declare class t_VeLiveVideoBufferType {
1292
- static ts_to_android(value: VeLiveVideoBufferType): $p_a.VeLiveVideoBufferType;
1293
- static android_to_ts(value: $p_a.VeLiveVideoBufferType): VeLiveVideoBufferType;
1294
- static ts_to_ios(value: VeLiveVideoBufferType): $p_i.VeLiveVideoBufferType;
1295
- static ios_to_ts(value: $p_i.VeLiveVideoBufferType): VeLiveVideoBufferType;
1996
+ static code_to_android(value: VeLiveVideoBufferType): $p_a.VeLiveVideoBufferType;
1997
+ static android_to_code(value: $p_a.VeLiveVideoBufferType): VeLiveVideoBufferType;
1998
+ static code_to_ios(value: VeLiveVideoBufferType): $p_i.VeLiveVideoBufferType;
1999
+ static ios_to_code(value: $p_i.VeLiveVideoBufferType): VeLiveVideoBufferType;
1296
2000
  }
1297
2001
  export declare class t_VeLiveOrientation {
1298
- static ts_to_android(value: VeLiveOrientation): $p_a.VeLiveOrientation;
1299
- static android_to_ts(value: $p_a.VeLiveOrientation): VeLiveOrientation;
1300
- static ts_to_ios(value: VeLiveOrientation): $p_i.UIInterfaceOrientation;
1301
- static ios_to_ts(value: $p_i.UIInterfaceOrientation): VeLiveOrientation;
2002
+ static code_to_android(value: VeLiveOrientation): $p_a.VeLiveOrientation;
2003
+ static android_to_code(value: $p_a.VeLiveOrientation): VeLiveOrientation;
2004
+ static code_to_ios(value: VeLiveOrientation): $p_i.UIInterfaceOrientation;
2005
+ static ios_to_code(value: $p_i.UIInterfaceOrientation): VeLiveOrientation;
1302
2006
  }
1303
2007
  export declare class t_VeLivePusherStatus {
1304
- static ts_to_android(value: VeLivePusherStatus): $p_a.VeLivePusherStatus;
1305
- static android_to_ts(value: $p_a.VeLivePusherStatus): VeLivePusherStatus;
1306
- static ts_to_ios(value: VeLivePusherStatus): $p_i.VeLivePushStatus;
1307
- static ios_to_ts(value: $p_i.VeLivePushStatus): VeLivePusherStatus;
2008
+ static code_to_android(value: VeLivePusherStatus): $p_a.VeLivePusherStatus;
2009
+ static android_to_code(value: $p_a.VeLivePusherStatus): VeLivePusherStatus;
2010
+ static code_to_ios(value: VeLivePusherStatus): $p_i.VeLivePushStatus;
2011
+ static ios_to_code(value: $p_i.VeLivePushStatus): VeLivePusherStatus;
1308
2012
  }
1309
2013
  export declare class t_VeLiveAudioPowerLevel {
1310
- static ts_to_android(value: VeLiveAudioPowerLevel): $p_a.VeLiveAudioPowerLevel;
1311
- static android_to_ts(value: $p_a.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
1312
- static ts_to_ios(value: VeLiveAudioPowerLevel): $p_i.VeLiveAudioPowerLevel;
1313
- static ios_to_ts(value: $p_i.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
2014
+ static code_to_android(value: VeLiveAudioPowerLevel): $p_a.VeLiveAudioPowerLevel;
2015
+ static android_to_code(value: $p_a.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
2016
+ static code_to_ios(value: VeLiveAudioPowerLevel): $p_i.VeLiveAudioPowerLevel;
2017
+ static ios_to_code(value: $p_i.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
1314
2018
  }
1315
2019
  export declare class t_VeLivePixelFormat {
1316
- static ts_to_android(value: VeLivePixelFormat): $p_a.VeLivePixelFormat;
1317
- static android_to_ts(value: $p_a.VeLivePixelFormat): VeLivePixelFormat;
1318
- static ts_to_ios(value: VeLivePixelFormat): $p_i.VeLivePixelFormat;
1319
- static ios_to_ts(value: $p_i.VeLivePixelFormat): VeLivePixelFormat;
2020
+ static code_to_android(value: VeLivePixelFormat): $p_a.VeLivePixelFormat;
2021
+ static android_to_code(value: $p_a.VeLivePixelFormat): VeLivePixelFormat;
2022
+ static code_to_ios(value: VeLivePixelFormat): $p_i.VeLivePixelFormat;
2023
+ static ios_to_code(value: $p_i.VeLivePixelFormat): VeLivePixelFormat;
1320
2024
  }
1321
2025
  export declare class t_VeLivePusherLogLevel {
1322
- static ts_to_android(value: VeLivePusherLogLevel): $p_a.VeLivePusherLogLevel;
1323
- static android_to_ts(value: $p_a.VeLivePusherLogLevel): VeLivePusherLogLevel;
1324
- static ts_to_ios(value: VeLivePusherLogLevel): $p_i.VeLivePusherLogLevel;
1325
- static ios_to_ts(value: $p_i.VeLivePusherLogLevel): VeLivePusherLogLevel;
2026
+ static code_to_android(value: VeLivePusherLogLevel): $p_a.VeLivePusherLogLevel;
2027
+ static android_to_code(value: $p_a.VeLivePusherLogLevel): VeLivePusherLogLevel;
2028
+ static code_to_ios(value: VeLivePusherLogLevel): $p_i.VeLivePusherLogLevel;
2029
+ static ios_to_code(value: $p_i.VeLivePusherLogLevel): VeLivePusherLogLevel;
1326
2030
  }
1327
2031
  export declare class t_VeLiveVideoResolution {
1328
- static ts_to_android(value: VeLiveVideoResolution): $p_a.VeLiveVideoResolution;
1329
- static android_to_ts(value: $p_a.VeLiveVideoResolution): VeLiveVideoResolution;
1330
- static ts_to_ios(value: VeLiveVideoResolution): $p_i.VeLiveVideoResolution;
1331
- static ios_to_ts(value: $p_i.VeLiveVideoResolution): VeLiveVideoResolution;
2032
+ static code_to_android(value: VeLiveVideoResolution): $p_a.VeLiveVideoResolution;
2033
+ static android_to_code(value: $p_a.VeLiveVideoResolution): VeLiveVideoResolution;
2034
+ static code_to_ios(value: VeLiveVideoResolution): $p_i.VeLiveVideoResolution;
2035
+ static ios_to_code(value: $p_i.VeLiveVideoResolution): VeLiveVideoResolution;
1332
2036
  }
1333
2037
  export declare class t_VeLiveVideoCodec {
1334
- static ts_to_android(value: VeLiveVideoCodec): $p_a.VeLiveVideoCodec;
1335
- static android_to_ts(value: $p_a.VeLiveVideoCodec): VeLiveVideoCodec;
1336
- static ts_to_ios(value: VeLiveVideoCodec): $p_i.VeLiveVideoCodec;
1337
- static ios_to_ts(value: $p_i.VeLiveVideoCodec): VeLiveVideoCodec;
2038
+ static code_to_android(value: VeLiveVideoCodec): $p_a.VeLiveVideoCodec;
2039
+ static android_to_code(value: $p_a.VeLiveVideoCodec): VeLiveVideoCodec;
2040
+ static code_to_ios(value: VeLiveVideoCodec): $p_i.VeLiveVideoCodec;
2041
+ static ios_to_code(value: $p_i.VeLiveVideoCodec): VeLiveVideoCodec;
1338
2042
  }
1339
2043
  export declare class t_VeLiveVideoEffectLicenseType {
1340
- static ts_to_android(value: VeLiveVideoEffectLicenseType): $p_a.VeLiveVideoEffectLicenseType;
1341
- static android_to_ts(value: $p_a.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
1342
- static ts_to_ios(value: VeLiveVideoEffectLicenseType): $p_i.VeLiveVideoEffectLicenseType;
1343
- static ios_to_ts(value: $p_i.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
2044
+ static code_to_android(value: VeLiveVideoEffectLicenseType): $p_a.VeLiveVideoEffectLicenseType;
2045
+ static android_to_code(value: $p_a.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
2046
+ static code_to_ios(value: VeLiveVideoEffectLicenseType): $p_i.VeLiveVideoEffectLicenseType;
2047
+ static ios_to_code(value: $p_i.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
1344
2048
  }
1345
2049
  export declare class t_VeLiveAudioChannel {
1346
- static ts_to_android(value: VeLiveAudioChannel): $p_a.VeLiveAudioChannel;
1347
- static android_to_ts(value: $p_a.VeLiveAudioChannel): VeLiveAudioChannel;
1348
- static ts_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
1349
- static ios_to_ts(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
2050
+ static code_to_android(value: VeLiveAudioChannel): $p_a.VeLiveAudioChannel;
2051
+ static android_to_code(value: $p_a.VeLiveAudioChannel): VeLiveAudioChannel;
2052
+ static code_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
2053
+ static ios_to_code(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
1350
2054
  }
1351
2055
  export declare class t_VeLiveFirstFrameType {
1352
- static ts_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
1353
- static android_to_ts(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
1354
- static ts_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
1355
- static ios_to_ts(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
2056
+ static code_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
2057
+ static android_to_code(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
2058
+ static code_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
2059
+ static ios_to_code(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
1356
2060
  }
1357
2061
  export declare class t_VeLiveVideoFrameSource {
1358
- static ts_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
1359
- static android_to_ts(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
1360
- static ts_to_ios(value: VeLiveVideoFrameSource): $p_i.VeLiveVideoFrameSource;
1361
- static ios_to_ts(value: $p_i.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
2062
+ static code_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
2063
+ static android_to_code(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
2064
+ static code_to_ios(value: VeLiveVideoFrameSource): $p_i.VeLiveVideoFrameSource;
2065
+ static ios_to_code(value: $p_i.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
1362
2066
  }
1363
2067
  export declare class t_VeLiveAudioProfile {
1364
- static ts_to_android(value: VeLiveAudioProfile): $p_a.VeLiveAudioProfile;
1365
- static android_to_ts(value: $p_a.VeLiveAudioProfile): VeLiveAudioProfile;
1366
- static ts_to_ios(value: VeLiveAudioProfile): $p_i.VeLiveAudioProfile;
1367
- static ios_to_ts(value: $p_i.VeLiveAudioProfile): VeLiveAudioProfile;
2068
+ static code_to_android(value: VeLiveAudioProfile): $p_a.VeLiveAudioProfile;
2069
+ static android_to_code(value: $p_a.VeLiveAudioProfile): VeLiveAudioProfile;
2070
+ static code_to_ios(value: VeLiveAudioProfile): $p_i.VeLiveAudioProfile;
2071
+ static ios_to_code(value: $p_i.VeLiveAudioProfile): VeLiveAudioProfile;
1368
2072
  }
1369
2073
  export declare class t_VeLiveAudioSampleRate {
1370
- static ts_to_android(value: VeLiveAudioSampleRate): $p_a.VeLiveAudioSampleRate;
1371
- static android_to_ts(value: $p_a.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
1372
- static ts_to_ios(value: VeLiveAudioSampleRate): $p_i.VeLiveAudioSampleRate;
1373
- static ios_to_ts(value: $p_i.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
2074
+ static code_to_android(value: VeLiveAudioSampleRate): $p_a.VeLiveAudioSampleRate;
2075
+ static android_to_code(value: $p_a.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
2076
+ static code_to_ios(value: VeLiveAudioSampleRate): $p_i.VeLiveAudioSampleRate;
2077
+ static ios_to_code(value: $p_i.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
1374
2078
  }
1375
2079
  export declare class t_VeLiveVideoMirrorType {
1376
- static ts_to_android(value: VeLiveVideoMirrorType): $p_a.VeLiveVideoMirrorType;
1377
- static android_to_ts(value: $p_a.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
1378
- static ts_to_ios(value: VeLiveVideoMirrorType): $p_i.VeLiveVideoMirrorType;
1379
- static ios_to_ts(value: $p_i.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
2080
+ static code_to_android(value: VeLiveVideoMirrorType): $p_a.VeLiveVideoMirrorType;
2081
+ static android_to_code(value: $p_a.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
2082
+ static code_to_ios(value: VeLiveVideoMirrorType): $p_i.VeLiveVideoMirrorType;
2083
+ static ios_to_code(value: $p_i.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
1380
2084
  }
1381
2085
  export declare class t_VeLiveAudioFrameSource {
1382
- static ts_to_android(value: VeLiveAudioFrameSource): $p_a.VeLiveAudioFrameSource;
1383
- static android_to_ts(value: $p_a.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
1384
- static ts_to_ios(value: VeLiveAudioFrameSource): $p_i.VeLiveAudioFrameSource;
1385
- static ios_to_ts(value: $p_i.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
2086
+ static code_to_android(value: VeLiveAudioFrameSource): $p_a.VeLiveAudioFrameSource;
2087
+ static android_to_code(value: $p_a.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
2088
+ static code_to_ios(value: VeLiveAudioFrameSource): $p_i.VeLiveAudioFrameSource;
2089
+ static ios_to_code(value: $p_i.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
1386
2090
  }
1387
2091
  export declare class t_VeLiveAudioMixType {
1388
- static ts_to_android(value: VeLiveAudioMixType): $p_a.VeLiveAudioMixType;
1389
- static android_to_ts(value: $p_a.VeLiveAudioMixType): VeLiveAudioMixType;
1390
- static ts_to_ios(value: VeLiveAudioMixType): $p_i.VeLiveAudioMixType;
1391
- static ios_to_ts(value: $p_i.VeLiveAudioMixType): VeLiveAudioMixType;
2092
+ static code_to_android(value: VeLiveAudioMixType): $p_a.VeLiveAudioMixType;
2093
+ static android_to_code(value: $p_a.VeLiveAudioMixType): VeLiveAudioMixType;
2094
+ static code_to_ios(value: VeLiveAudioMixType): $p_i.VeLiveAudioMixType;
2095
+ static ios_to_code(value: $p_i.VeLiveAudioMixType): VeLiveAudioMixType;
1392
2096
  }