@ray-js/api 1.7.81 → 1.7.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/AIKit.d.ts +2296 -1291
- package/@types/AIStreamKit.d.ts +687 -444
- package/@types/AVideoKit.d.ts +148 -62
- package/@types/BaseKit.d.ts +3881 -333
- package/@types/BizKit.d.ts +2450 -325
- package/@types/CategoryCommonBizKit.d.ts +17 -17
- package/@types/DeviceKit.d.ts +2334 -331
- package/@types/HealthKit.d.ts +479 -299
- package/@types/HomeKit.d.ts +2026 -1093
- package/@types/IPCKit.d.ts +1838 -103
- package/@types/LightKit.d.ts +38 -2
- package/@types/MapKit.d.ts +780 -600
- package/@types/MediaKit.d.ts +34 -28
- package/@types/MediaPlayerKit.d.ts +28 -4
- package/@types/MiniKit.d.ts +1320 -230
- package/@types/OutdoorKit.d.ts +1966 -64
- package/@types/P2PKit.d.ts +461 -150
- package/@types/PayKit.d.ts +79 -10
- package/@types/PlayNetKit.d.ts +1542 -158
- package/@types/ThirdAuthKit.d.ts +252 -28
- package/@types/ThirdPartyDeviceKit.d.ts +2 -2
- package/@types/WearKit.d.ts +1706 -661
- package/LICENSE.md +9 -0
- package/lib/WearKit-3.1.0.d.ts +426 -0
- package/lib/WearKit-3.1.0.js +599 -0
- package/lib/all-kits.d.ts +1 -1
- package/lib/all-kits.js +1 -1
- package/package.json +5 -5
- package/lib/WearKit-1.1.6.d.ts +0 -126
- package/lib/WearKit-1.1.6.js +0 -180
package/@types/AVideoKit.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AVideoKit
|
|
3
3
|
*
|
|
4
|
-
* @version 1.0.
|
|
4
|
+
* @version 1.0.12
|
|
5
5
|
*/
|
|
6
6
|
declare namespace ty.avideo {
|
|
7
7
|
/**
|
|
@@ -24,7 +24,7 @@ declare namespace ty.avideo {
|
|
|
24
24
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
25
25
|
complete?: () => void
|
|
26
26
|
/** 接口调用成功的回调函数 */
|
|
27
|
-
success?: (
|
|
27
|
+
success?: () => void
|
|
28
28
|
/** 接口调用失败的回调函数 */
|
|
29
29
|
fail?: (params: {
|
|
30
30
|
/** 错误信息 */
|
|
@@ -51,9 +51,10 @@ declare namespace ty.avideo {
|
|
|
51
51
|
/**
|
|
52
52
|
* vad 级别
|
|
53
53
|
* @since AVideoKit 1.0.0
|
|
54
|
-
* @defaultValue
|
|
54
|
+
* @defaultValue 4
|
|
55
|
+
* @TEnum VadLevel
|
|
55
56
|
*/
|
|
56
|
-
level?:
|
|
57
|
+
level?: 0 | 1 | 2 | 3 | 4
|
|
57
58
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
58
59
|
complete?: () => void
|
|
59
60
|
/** 接口调用成功的回调函数 */
|
|
@@ -294,15 +295,30 @@ declare namespace ty.avideo {
|
|
|
294
295
|
complete?: () => void
|
|
295
296
|
/** 接口调用成功的回调函数 */
|
|
296
297
|
success?: (params: {
|
|
297
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* 状态码
|
|
300
|
+
* @since AVideoKit 1.0.0
|
|
301
|
+
*/
|
|
298
302
|
status_code: number
|
|
299
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* 采样率
|
|
305
|
+
* @since AVideoKit 1.0.0
|
|
306
|
+
*/
|
|
300
307
|
sampleRate: number
|
|
301
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* 声道数
|
|
310
|
+
* @since AVideoKit 1.0.0
|
|
311
|
+
*/
|
|
302
312
|
channelCount: number
|
|
303
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* 数据包长度
|
|
315
|
+
* @since AVideoKit 1.0.0
|
|
316
|
+
*/
|
|
304
317
|
packetLength: number
|
|
305
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* 解码后的数据
|
|
320
|
+
* @since AVideoKit 1.0.0
|
|
321
|
+
*/
|
|
306
322
|
packet_data: number[]
|
|
307
323
|
}) => void
|
|
308
324
|
/** 接口调用失败的回调函数 */
|
|
@@ -346,7 +362,7 @@ declare namespace ty.avideo {
|
|
|
346
362
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
347
363
|
complete?: () => void
|
|
348
364
|
/** 接口调用成功的回调函数 */
|
|
349
|
-
success?: (
|
|
365
|
+
success?: () => void
|
|
350
366
|
/** 接口调用失败的回调函数 */
|
|
351
367
|
fail?: (params: {
|
|
352
368
|
/** 错误信息 */
|
|
@@ -384,7 +400,10 @@ declare namespace ty.avideo {
|
|
|
384
400
|
complete?: () => void
|
|
385
401
|
/** 接口调用成功的回调函数 */
|
|
386
402
|
success?: (params: {
|
|
387
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* 音频流数据
|
|
405
|
+
* @since AVideoKit 1.0.0
|
|
406
|
+
*/
|
|
388
407
|
data: number[]
|
|
389
408
|
}) => void
|
|
390
409
|
/** 接口调用失败的回调函数 */
|
|
@@ -428,7 +447,7 @@ declare namespace ty.avideo {
|
|
|
428
447
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
429
448
|
complete?: () => void
|
|
430
449
|
/** 接口调用成功的回调函数 */
|
|
431
|
-
success?: (
|
|
450
|
+
success?: () => void
|
|
432
451
|
/** 接口调用失败的回调函数 */
|
|
433
452
|
fail?: (params: {
|
|
434
453
|
/** 错误信息 */
|
|
@@ -456,7 +475,10 @@ declare namespace ty.avideo {
|
|
|
456
475
|
complete?: () => void
|
|
457
476
|
/** 接口调用成功的回调函数 */
|
|
458
477
|
success?: (params: {
|
|
459
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* 音频流数据
|
|
480
|
+
* @since AVideoKit 1.0.0
|
|
481
|
+
*/
|
|
460
482
|
data: number[]
|
|
461
483
|
}) => void
|
|
462
484
|
/** 接口调用失败的回调函数 */
|
|
@@ -496,7 +518,10 @@ declare namespace ty.avideo {
|
|
|
496
518
|
complete?: () => void
|
|
497
519
|
/** 接口调用成功的回调函数 */
|
|
498
520
|
success?: (params: {
|
|
499
|
-
/**
|
|
521
|
+
/**
|
|
522
|
+
* 音频流数据
|
|
523
|
+
* @since AVideoKit 1.0.0
|
|
524
|
+
*/
|
|
500
525
|
data: number[]
|
|
501
526
|
}) => void
|
|
502
527
|
/** 接口调用失败的回调函数 */
|
|
@@ -526,7 +551,10 @@ declare namespace ty.avideo {
|
|
|
526
551
|
complete?: () => void
|
|
527
552
|
/** 接口调用成功的回调函数 */
|
|
528
553
|
success?: (params: {
|
|
529
|
-
/**
|
|
554
|
+
/**
|
|
555
|
+
* 音频流数据
|
|
556
|
+
* @since AVideoKit 1.0.0
|
|
557
|
+
*/
|
|
530
558
|
data: number[]
|
|
531
559
|
}) => void
|
|
532
560
|
/** 接口调用失败的回调函数 */
|
|
@@ -566,15 +594,30 @@ declare namespace ty.avideo {
|
|
|
566
594
|
complete?: () => void
|
|
567
595
|
/** 接口调用成功的回调函数 */
|
|
568
596
|
success?: (params: {
|
|
569
|
-
/**
|
|
597
|
+
/**
|
|
598
|
+
* 状态码
|
|
599
|
+
* @since AVideoKit 1.0.0
|
|
600
|
+
*/
|
|
570
601
|
status_code: number
|
|
571
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* 采样率
|
|
604
|
+
* @since AVideoKit 1.0.0
|
|
605
|
+
*/
|
|
572
606
|
sampleRate: number
|
|
573
|
-
/**
|
|
607
|
+
/**
|
|
608
|
+
* 声道数
|
|
609
|
+
* @since AVideoKit 1.0.0
|
|
610
|
+
*/
|
|
574
611
|
channelCount: number
|
|
575
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* 数据包长度
|
|
614
|
+
* @since AVideoKit 1.0.0
|
|
615
|
+
*/
|
|
576
616
|
packetLength: number
|
|
577
|
-
/**
|
|
617
|
+
/**
|
|
618
|
+
* 解包后的数据
|
|
619
|
+
* @since AVideoKit 1.0.0
|
|
620
|
+
*/
|
|
578
621
|
packet_data: number[]
|
|
579
622
|
}) => void
|
|
580
623
|
/** 接口调用失败的回调函数 */
|
|
@@ -608,7 +651,7 @@ declare namespace ty.avideo {
|
|
|
608
651
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
609
652
|
complete?: () => void
|
|
610
653
|
/** 接口调用成功的回调函数 */
|
|
611
|
-
success?: (
|
|
654
|
+
success?: () => void
|
|
612
655
|
/** 接口调用失败的回调函数 */
|
|
613
656
|
fail?: (params: {
|
|
614
657
|
/** 错误信息 */
|
|
@@ -640,7 +683,7 @@ declare namespace ty.avideo {
|
|
|
640
683
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
641
684
|
complete?: () => void
|
|
642
685
|
/** 接口调用成功的回调函数 */
|
|
643
|
-
success?: (
|
|
686
|
+
success?: () => void
|
|
644
687
|
/** 接口调用失败的回调函数 */
|
|
645
688
|
fail?: (params: {
|
|
646
689
|
/** 错误信息 */
|
|
@@ -667,7 +710,7 @@ declare namespace ty.avideo {
|
|
|
667
710
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
668
711
|
complete?: () => void
|
|
669
712
|
/** 接口调用成功的回调函数 */
|
|
670
|
-
success?: (
|
|
713
|
+
success?: () => void
|
|
671
714
|
/** 接口调用失败的回调函数 */
|
|
672
715
|
fail?: (params: {
|
|
673
716
|
/** 错误信息 */
|
|
@@ -694,7 +737,7 @@ declare namespace ty.avideo {
|
|
|
694
737
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
695
738
|
complete?: () => void
|
|
696
739
|
/** 接口调用成功的回调函数 */
|
|
697
|
-
success?: (
|
|
740
|
+
success?: () => void
|
|
698
741
|
/** 接口调用失败的回调函数 */
|
|
699
742
|
fail?: (params: {
|
|
700
743
|
/** 错误信息 */
|
|
@@ -721,7 +764,7 @@ declare namespace ty.avideo {
|
|
|
721
764
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
722
765
|
complete?: () => void
|
|
723
766
|
/** 接口调用成功的回调函数 */
|
|
724
|
-
success?: (
|
|
767
|
+
success?: () => void
|
|
725
768
|
/** 接口调用失败的回调函数 */
|
|
726
769
|
fail?: (params: {
|
|
727
770
|
/** 错误信息 */
|
|
@@ -895,9 +938,10 @@ declare namespace ty.avideo {
|
|
|
895
938
|
/**
|
|
896
939
|
* 压缩算法 ,目前只支持 IMA-ADPCM
|
|
897
940
|
* @since AVideoKit 1.0.1
|
|
898
|
-
* @defaultValue
|
|
941
|
+
* @defaultValue 0
|
|
942
|
+
* @TEnum CompressionAlgorithm
|
|
899
943
|
*/
|
|
900
|
-
compressType?:
|
|
944
|
+
compressType?: 0 | 1
|
|
901
945
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
902
946
|
complete?: () => void
|
|
903
947
|
/** 接口调用成功的回调函数 */
|
|
@@ -939,9 +983,10 @@ declare namespace ty.avideo {
|
|
|
939
983
|
/**
|
|
940
984
|
* 编码格式
|
|
941
985
|
* @since AVideoKit 1.0.0
|
|
942
|
-
* @defaultValue
|
|
986
|
+
* @defaultValue -1
|
|
987
|
+
* @TEnum VideoCodecId
|
|
943
988
|
*/
|
|
944
|
-
codec?:
|
|
989
|
+
codec?: -1 | 0 | 1 | 2
|
|
945
990
|
/**
|
|
946
991
|
* 宽
|
|
947
992
|
* @since AVideoKit 1.0.0
|
|
@@ -960,7 +1005,7 @@ declare namespace ty.avideo {
|
|
|
960
1005
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
961
1006
|
complete?: () => void
|
|
962
1007
|
/** 接口调用成功的回调函数 */
|
|
963
|
-
success?: (
|
|
1008
|
+
success?: () => void
|
|
964
1009
|
/** 接口调用失败的回调函数 */
|
|
965
1010
|
fail?: (params: {
|
|
966
1011
|
/** 错误信息 */
|
|
@@ -1002,9 +1047,10 @@ declare namespace ty.avideo {
|
|
|
1002
1047
|
/**
|
|
1003
1048
|
* 数据格式
|
|
1004
1049
|
* @since AVideoKit 1.0.0
|
|
1005
|
-
* @defaultValue
|
|
1050
|
+
* @defaultValue -1
|
|
1051
|
+
* @TEnum PixelFormat
|
|
1006
1052
|
*/
|
|
1007
|
-
pixelFormat?:
|
|
1053
|
+
pixelFormat?: -1 | 0 | 1 | 2
|
|
1008
1054
|
/**
|
|
1009
1055
|
* 时间戳
|
|
1010
1056
|
* @since AVideoKit 1.0.0
|
|
@@ -1013,7 +1059,7 @@ declare namespace ty.avideo {
|
|
|
1013
1059
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1014
1060
|
complete?: () => void
|
|
1015
1061
|
/** 接口调用成功的回调函数 */
|
|
1016
|
-
success?: (
|
|
1062
|
+
success?: () => void
|
|
1017
1063
|
/** 接口调用失败的回调函数 */
|
|
1018
1064
|
fail?: (params: {
|
|
1019
1065
|
/** 错误信息 */
|
|
@@ -1040,7 +1086,7 @@ declare namespace ty.avideo {
|
|
|
1040
1086
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1041
1087
|
complete?: () => void
|
|
1042
1088
|
/** 接口调用成功的回调函数 */
|
|
1043
|
-
success?: (
|
|
1089
|
+
success?: () => void
|
|
1044
1090
|
/** 接口调用失败的回调函数 */
|
|
1045
1091
|
fail?: (params: {
|
|
1046
1092
|
/** 错误信息 */
|
|
@@ -1067,13 +1113,14 @@ declare namespace ty.avideo {
|
|
|
1067
1113
|
/**
|
|
1068
1114
|
* 编码格式
|
|
1069
1115
|
* @since AVideoKit 1.0.0
|
|
1070
|
-
* @defaultValue
|
|
1116
|
+
* @defaultValue -1
|
|
1117
|
+
* @TEnum VideoCodecId
|
|
1071
1118
|
*/
|
|
1072
|
-
codecId?:
|
|
1119
|
+
codecId?: -1 | 0 | 1 | 2
|
|
1073
1120
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1074
1121
|
complete?: () => void
|
|
1075
1122
|
/** 接口调用成功的回调函数 */
|
|
1076
|
-
success?: (
|
|
1123
|
+
success?: () => void
|
|
1077
1124
|
/** 接口调用失败的回调函数 */
|
|
1078
1125
|
fail?: (params: {
|
|
1079
1126
|
/** 错误信息 */
|
|
@@ -1110,7 +1157,7 @@ declare namespace ty.avideo {
|
|
|
1110
1157
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1111
1158
|
complete?: () => void
|
|
1112
1159
|
/** 接口调用成功的回调函数 */
|
|
1113
|
-
success?: (
|
|
1160
|
+
success?: () => void
|
|
1114
1161
|
/** 接口调用失败的回调函数 */
|
|
1115
1162
|
fail?: (params: {
|
|
1116
1163
|
/** 错误信息 */
|
|
@@ -1137,7 +1184,7 @@ declare namespace ty.avideo {
|
|
|
1137
1184
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1138
1185
|
complete?: () => void
|
|
1139
1186
|
/** 接口调用成功的回调函数 */
|
|
1140
|
-
success?: (
|
|
1187
|
+
success?: () => void
|
|
1141
1188
|
/** 接口调用失败的回调函数 */
|
|
1142
1189
|
fail?: (params: {
|
|
1143
1190
|
/** 错误信息 */
|
|
@@ -1246,9 +1293,10 @@ declare namespace ty.avideo {
|
|
|
1246
1293
|
/**
|
|
1247
1294
|
* vad 级别
|
|
1248
1295
|
* @since AVideoKit 1.0.0
|
|
1249
|
-
* @defaultValue
|
|
1296
|
+
* @defaultValue 4
|
|
1297
|
+
* @TEnum VadLevel
|
|
1250
1298
|
*/
|
|
1251
|
-
level?:
|
|
1299
|
+
level?: 0 | 1 | 2 | 3 | 4
|
|
1252
1300
|
}
|
|
1253
1301
|
|
|
1254
1302
|
/** @since AVideoKit 1.0.0 */
|
|
@@ -1357,15 +1405,30 @@ declare namespace ty.avideo {
|
|
|
1357
1405
|
|
|
1358
1406
|
/** @since AVideoKit 1.0.0 */
|
|
1359
1407
|
export interface DecodeMp3FrameResponseModel {
|
|
1360
|
-
/**
|
|
1408
|
+
/**
|
|
1409
|
+
* 状态码
|
|
1410
|
+
* @since AVideoKit 1.0.0
|
|
1411
|
+
*/
|
|
1361
1412
|
status_code: number
|
|
1362
|
-
/**
|
|
1413
|
+
/**
|
|
1414
|
+
* 采样率
|
|
1415
|
+
* @since AVideoKit 1.0.0
|
|
1416
|
+
*/
|
|
1363
1417
|
sampleRate: number
|
|
1364
|
-
/**
|
|
1418
|
+
/**
|
|
1419
|
+
* 声道数
|
|
1420
|
+
* @since AVideoKit 1.0.0
|
|
1421
|
+
*/
|
|
1365
1422
|
channelCount: number
|
|
1366
|
-
/**
|
|
1423
|
+
/**
|
|
1424
|
+
* 数据包长度
|
|
1425
|
+
* @since AVideoKit 1.0.0
|
|
1426
|
+
*/
|
|
1367
1427
|
packetLength: number
|
|
1368
|
-
/**
|
|
1428
|
+
/**
|
|
1429
|
+
* 解码后的数据
|
|
1430
|
+
* @since AVideoKit 1.0.0
|
|
1431
|
+
*/
|
|
1369
1432
|
packet_data: number[]
|
|
1370
1433
|
}
|
|
1371
1434
|
|
|
@@ -1404,7 +1467,10 @@ declare namespace ty.avideo {
|
|
|
1404
1467
|
|
|
1405
1468
|
/** @since AVideoKit 1.0.0 */
|
|
1406
1469
|
export interface IntArrayResponseModel {
|
|
1407
|
-
/**
|
|
1470
|
+
/**
|
|
1471
|
+
* 音频流数据
|
|
1472
|
+
* @since AVideoKit 1.0.0
|
|
1473
|
+
*/
|
|
1408
1474
|
data: number[]
|
|
1409
1475
|
}
|
|
1410
1476
|
|
|
@@ -1457,15 +1523,30 @@ declare namespace ty.avideo {
|
|
|
1457
1523
|
|
|
1458
1524
|
/** @since AVideoKit 1.0.0 */
|
|
1459
1525
|
export interface UnpackOpusDataResponseModel {
|
|
1460
|
-
/**
|
|
1526
|
+
/**
|
|
1527
|
+
* 状态码
|
|
1528
|
+
* @since AVideoKit 1.0.0
|
|
1529
|
+
*/
|
|
1461
1530
|
status_code: number
|
|
1462
|
-
/**
|
|
1531
|
+
/**
|
|
1532
|
+
* 采样率
|
|
1533
|
+
* @since AVideoKit 1.0.0
|
|
1534
|
+
*/
|
|
1463
1535
|
sampleRate: number
|
|
1464
|
-
/**
|
|
1536
|
+
/**
|
|
1537
|
+
* 声道数
|
|
1538
|
+
* @since AVideoKit 1.0.0
|
|
1539
|
+
*/
|
|
1465
1540
|
channelCount: number
|
|
1466
|
-
/**
|
|
1541
|
+
/**
|
|
1542
|
+
* 数据包长度
|
|
1543
|
+
* @since AVideoKit 1.0.0
|
|
1544
|
+
*/
|
|
1467
1545
|
packetLength: number
|
|
1468
|
-
/**
|
|
1546
|
+
/**
|
|
1547
|
+
* 解包后的数据
|
|
1548
|
+
* @since AVideoKit 1.0.0
|
|
1549
|
+
*/
|
|
1469
1550
|
packet_data: number[]
|
|
1470
1551
|
}
|
|
1471
1552
|
|
|
@@ -1563,9 +1644,10 @@ declare namespace ty.avideo {
|
|
|
1563
1644
|
/**
|
|
1564
1645
|
* 压缩算法 ,目前只支持 IMA-ADPCM
|
|
1565
1646
|
* @since AVideoKit 1.0.1
|
|
1566
|
-
* @defaultValue
|
|
1647
|
+
* @defaultValue 0
|
|
1648
|
+
* @TEnum CompressionAlgorithm
|
|
1567
1649
|
*/
|
|
1568
|
-
compressType?:
|
|
1650
|
+
compressType?: 0 | 1
|
|
1569
1651
|
}
|
|
1570
1652
|
|
|
1571
1653
|
/** @since AVideoKit 1.0.0 */
|
|
@@ -1600,9 +1682,10 @@ declare namespace ty.avideo {
|
|
|
1600
1682
|
/**
|
|
1601
1683
|
* 编码格式
|
|
1602
1684
|
* @since AVideoKit 1.0.0
|
|
1603
|
-
* @defaultValue
|
|
1685
|
+
* @defaultValue -1
|
|
1686
|
+
* @TEnum VideoCodecId
|
|
1604
1687
|
*/
|
|
1605
|
-
codec?:
|
|
1688
|
+
codec?: -1 | 0 | 1 | 2
|
|
1606
1689
|
/**
|
|
1607
1690
|
* 宽
|
|
1608
1691
|
* @since AVideoKit 1.0.0
|
|
@@ -1667,9 +1750,10 @@ declare namespace ty.avideo {
|
|
|
1667
1750
|
/**
|
|
1668
1751
|
* 数据格式
|
|
1669
1752
|
* @since AVideoKit 1.0.0
|
|
1670
|
-
* @defaultValue
|
|
1753
|
+
* @defaultValue -1
|
|
1754
|
+
* @TEnum PixelFormat
|
|
1671
1755
|
*/
|
|
1672
|
-
pixelFormat?:
|
|
1756
|
+
pixelFormat?: -1 | 0 | 1 | 2
|
|
1673
1757
|
/**
|
|
1674
1758
|
* 时间戳
|
|
1675
1759
|
* @since AVideoKit 1.0.0
|
|
@@ -1706,9 +1790,10 @@ declare namespace ty.avideo {
|
|
|
1706
1790
|
/**
|
|
1707
1791
|
* 编码格式
|
|
1708
1792
|
* @since AVideoKit 1.0.0
|
|
1709
|
-
* @defaultValue
|
|
1793
|
+
* @defaultValue -1
|
|
1794
|
+
* @TEnum VideoCodecId
|
|
1710
1795
|
*/
|
|
1711
|
-
codecId?:
|
|
1796
|
+
codecId?: -1 | 0 | 1 | 2
|
|
1712
1797
|
}
|
|
1713
1798
|
|
|
1714
1799
|
/** @since AVideoKit 1.0.0 */
|
|
@@ -1745,8 +1830,9 @@ declare namespace ty.avideo {
|
|
|
1745
1830
|
/**
|
|
1746
1831
|
* 数据格式
|
|
1747
1832
|
* @since AVideoKit 1.0.0
|
|
1748
|
-
* @defaultValue
|
|
1833
|
+
* @defaultValue -1
|
|
1834
|
+
* @TEnum PixelFormat
|
|
1749
1835
|
*/
|
|
1750
|
-
pixelFormat?:
|
|
1836
|
+
pixelFormat?: -1 | 0 | 1 | 2
|
|
1751
1837
|
}
|
|
1752
1838
|
}
|