@ylink-sdk/meeting 0.4.0-beta.12 → 0.4.0-beta.13
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/dist/meeting.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare type AddVirtualClassParams = VirtualClassParams & {
|
|
|
8
8
|
type: number;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
export declare class Asr extends Module<AsrData,
|
|
11
|
+
export declare class Asr extends Module<AsrData, Events_18> {
|
|
12
12
|
constructor(ctx: Context);
|
|
13
13
|
_topic(): string[];
|
|
14
14
|
_bindOn(): void;
|
|
@@ -23,7 +23,7 @@ export declare class Asr extends Module<AsrData, Events_15> {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export declare interface AsrBody {
|
|
26
|
-
status:
|
|
26
|
+
status: Status_3;
|
|
27
27
|
resultInfo?: {
|
|
28
28
|
bizCode?: string;
|
|
29
29
|
};
|
|
@@ -100,7 +100,7 @@ declare interface Canceler {
|
|
|
100
100
|
(message?: string): void;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
export declare class Chat extends Module<ChatData,
|
|
103
|
+
export declare class Chat extends Module<ChatData, Events_13> {
|
|
104
104
|
constructor(ctx: Context);
|
|
105
105
|
_topic(): string;
|
|
106
106
|
_bindOn(): void;
|
|
@@ -410,7 +410,15 @@ export declare enum ENDPOINT_TYPE {
|
|
|
410
410
|
/**
|
|
411
411
|
* 硬件终端
|
|
412
412
|
*/
|
|
413
|
-
MEETING_ROOMS = "meetingRooms"
|
|
413
|
+
MEETING_ROOMS = "meetingRooms",
|
|
414
|
+
/**
|
|
415
|
+
* RTSP终端
|
|
416
|
+
*/
|
|
417
|
+
RTSP = "rtsp",
|
|
418
|
+
/**
|
|
419
|
+
* rtmp拉流
|
|
420
|
+
*/
|
|
421
|
+
RTMP_PULLER = "rtmpPuller"
|
|
414
422
|
}
|
|
415
423
|
|
|
416
424
|
/**
|
|
@@ -497,11 +505,24 @@ declare type Events = {
|
|
|
497
505
|
videoSourcesUpdated: any;
|
|
498
506
|
};
|
|
499
507
|
|
|
500
|
-
declare type Events_10 =
|
|
508
|
+
declare type Events_10 = Record<EventType, any>;
|
|
509
|
+
|
|
510
|
+
declare type Events_11 = {
|
|
511
|
+
voteChange: {
|
|
512
|
+
vote: VoteData['vote'];
|
|
513
|
+
changeData: VoteBody;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
declare type Events_12 = {
|
|
518
|
+
barrageRecordChange: BarrageRecord[];
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
declare type Events_13 = {
|
|
501
522
|
chatMsg: Msg;
|
|
502
523
|
};
|
|
503
524
|
|
|
504
|
-
declare type
|
|
525
|
+
declare type Events_14 = {
|
|
505
526
|
hostLayoutChange: ViewData['hostLayout'];
|
|
506
527
|
attendeeLayoutChange: ViewData['attendeeLayout'];
|
|
507
528
|
audienceLayoutChange: ViewData['audienceLayout'];
|
|
@@ -509,7 +530,7 @@ declare type Events_11 = {
|
|
|
509
530
|
videoSourcesUpdated: void;
|
|
510
531
|
};
|
|
511
532
|
|
|
512
|
-
declare type
|
|
533
|
+
declare type Events_15 = {
|
|
513
534
|
questionChange: {
|
|
514
535
|
questions: Map<string, Question>;
|
|
515
536
|
};
|
|
@@ -525,27 +546,21 @@ declare type Events_12 = {
|
|
|
525
546
|
};
|
|
526
547
|
};
|
|
527
548
|
|
|
528
|
-
declare type
|
|
549
|
+
declare type Events_16 = {
|
|
529
550
|
transcriptMsg: Transcription;
|
|
530
551
|
};
|
|
531
552
|
|
|
532
|
-
declare type
|
|
553
|
+
declare type Events_17 = {
|
|
533
554
|
interpretationChange: InterpretationData;
|
|
534
555
|
};
|
|
535
556
|
|
|
536
|
-
declare type
|
|
557
|
+
declare type Events_18 = {
|
|
537
558
|
asrChange: {
|
|
538
559
|
asr: AsrBody;
|
|
539
560
|
changeData: AsrBody;
|
|
540
561
|
};
|
|
541
562
|
};
|
|
542
563
|
|
|
543
|
-
declare type Events_16 = Record<EventType, unknown>;
|
|
544
|
-
|
|
545
|
-
declare type Events_17 = Record<EventType, any>;
|
|
546
|
-
|
|
547
|
-
declare type Events_18 = Record<EventType, any>;
|
|
548
|
-
|
|
549
564
|
declare type Events_2 = {
|
|
550
565
|
[MeEvent.INIT]: MeData;
|
|
551
566
|
[MeEvent.UPDATE]: any;
|
|
@@ -570,7 +585,9 @@ declare type Events_2 = {
|
|
|
570
585
|
|
|
571
586
|
declare type Events_3 = Record<EventType, any>;
|
|
572
587
|
|
|
573
|
-
declare type Events_4 =
|
|
588
|
+
declare type Events_4 = Record<EventType, any>;
|
|
589
|
+
|
|
590
|
+
declare type Events_5 = {
|
|
574
591
|
interactiveUsersChange: {
|
|
575
592
|
users: User[];
|
|
576
593
|
isFull: boolean;
|
|
@@ -633,28 +650,19 @@ declare type Events_4 = {
|
|
|
633
650
|
};
|
|
634
651
|
};
|
|
635
652
|
|
|
636
|
-
declare type Events_5 = {
|
|
637
|
-
shouldJoinUsersChange: void;
|
|
638
|
-
};
|
|
639
|
-
|
|
640
653
|
declare type Events_6 = {
|
|
641
|
-
|
|
654
|
+
shouldJoinUsersChange: void;
|
|
642
655
|
};
|
|
643
656
|
|
|
644
657
|
declare type Events_7 = {
|
|
645
|
-
|
|
658
|
+
userIDsChange: number[];
|
|
646
659
|
};
|
|
647
660
|
|
|
648
661
|
declare type Events_8 = {
|
|
649
|
-
|
|
650
|
-
vote: VoteData['vote'];
|
|
651
|
-
changeData: VoteBody;
|
|
652
|
-
};
|
|
662
|
+
callRecordUsersChange: callRecordUser[];
|
|
653
663
|
};
|
|
654
664
|
|
|
655
|
-
declare type Events_9 =
|
|
656
|
-
barrageRecordChange: BarrageRecord[];
|
|
657
|
-
};
|
|
665
|
+
declare type Events_9 = Record<EventType, unknown>;
|
|
658
666
|
|
|
659
667
|
declare interface ICancelToken {
|
|
660
668
|
promise: Promise<string>;
|
|
@@ -724,6 +732,24 @@ export declare class Info extends Module<InfoData, Events_3> {
|
|
|
724
732
|
mailTemplate(params: {
|
|
725
733
|
language: string;
|
|
726
734
|
}): Promise<any>;
|
|
735
|
+
/**
|
|
736
|
+
* 会议操作日志
|
|
737
|
+
* @param params
|
|
738
|
+
* @returns
|
|
739
|
+
*/
|
|
740
|
+
operateRecord(params: {
|
|
741
|
+
autoCount: boolean;
|
|
742
|
+
limit: number;
|
|
743
|
+
orderbys: Array<{
|
|
744
|
+
field: string;
|
|
745
|
+
order: number;
|
|
746
|
+
}>;
|
|
747
|
+
searchKey: string;
|
|
748
|
+
skip: number;
|
|
749
|
+
role?: string;
|
|
750
|
+
opModule?: string;
|
|
751
|
+
opResult?: boolean;
|
|
752
|
+
}): Promise<any>;
|
|
727
753
|
}
|
|
728
754
|
|
|
729
755
|
export declare interface InfoData {
|
|
@@ -754,6 +780,7 @@ export declare interface InfoData {
|
|
|
754
780
|
allowLocalRecord?: boolean;
|
|
755
781
|
youtubeLiveStreamDisabled?: boolean;
|
|
756
782
|
allowLiveStream?: boolean;
|
|
783
|
+
allowYealinkLiveStream?: boolean;
|
|
757
784
|
isVirtualClassroom?: boolean;
|
|
758
785
|
liveCaptionEnabled?: boolean;
|
|
759
786
|
practiceSession?: boolean;
|
|
@@ -766,9 +793,10 @@ export declare interface InfoData {
|
|
|
766
793
|
};
|
|
767
794
|
multiStreamEnabled?: boolean;
|
|
768
795
|
shouldJoinUserManageEnabled?: boolean;
|
|
796
|
+
allowBackupRecord?: boolean;
|
|
769
797
|
}
|
|
770
798
|
|
|
771
|
-
export declare class Interpretation extends Module<InterpretationData,
|
|
799
|
+
export declare class Interpretation extends Module<InterpretationData, Events_17> {
|
|
772
800
|
constructor(ctx: Context);
|
|
773
801
|
_topic(): string;
|
|
774
802
|
_bindOn(): void;
|
|
@@ -803,7 +831,7 @@ export declare interface InterpretationPayload {
|
|
|
803
831
|
state: PollingPayloadState;
|
|
804
832
|
}
|
|
805
833
|
|
|
806
|
-
export declare class Invite extends Module<InviteData,
|
|
834
|
+
export declare class Invite extends Module<InviteData, Events_8> {
|
|
807
835
|
static setDisplayNamePinyinProp: (name: string) => string;
|
|
808
836
|
constructor(ctx: Context);
|
|
809
837
|
_topic(): string;
|
|
@@ -966,7 +994,7 @@ export declare interface Live {
|
|
|
966
994
|
userID?: string;
|
|
967
995
|
}
|
|
968
996
|
|
|
969
|
-
export declare class LiveStream extends Module<LiveStreamData,
|
|
997
|
+
export declare class LiveStream extends Module<LiveStreamData, Events_9> {
|
|
970
998
|
constructor(ctx: Context);
|
|
971
999
|
_topic(): string;
|
|
972
1000
|
_bindOn(): void;
|
|
@@ -999,11 +1027,24 @@ export declare class LiveStream extends Module<LiveStreamData, Events_16> {
|
|
|
999
1027
|
};
|
|
1000
1028
|
liveCaptionEnabled: boolean;
|
|
1001
1029
|
}): Promise<any>;
|
|
1030
|
+
/**
|
|
1031
|
+
* 设置直播布局
|
|
1032
|
+
* @params 设置参数
|
|
1033
|
+
* @returns 返回的数据
|
|
1034
|
+
*/
|
|
1035
|
+
liveStreamLayout(params: {
|
|
1036
|
+
platform: string;
|
|
1037
|
+
layout: {
|
|
1038
|
+
layout: LayoutContent;
|
|
1039
|
+
mode: string;
|
|
1040
|
+
};
|
|
1041
|
+
liveCaptionEnabled: boolean;
|
|
1042
|
+
}): Promise<any>;
|
|
1002
1043
|
}
|
|
1003
1044
|
|
|
1004
1045
|
export declare interface LiveStreamData {
|
|
1005
1046
|
liveStreams: Live[];
|
|
1006
|
-
status:
|
|
1047
|
+
status: Status[];
|
|
1007
1048
|
resultInfo: {
|
|
1008
1049
|
bizCode?: string;
|
|
1009
1050
|
};
|
|
@@ -1251,7 +1292,7 @@ export declare interface PollListUser {
|
|
|
1251
1292
|
subjectID?: string;
|
|
1252
1293
|
}
|
|
1253
1294
|
|
|
1254
|
-
export declare class Qa extends Module<QaData,
|
|
1295
|
+
export declare class Qa extends Module<QaData, Events_15> {
|
|
1255
1296
|
constructor(ctx: Context);
|
|
1256
1297
|
_topic(): string;
|
|
1257
1298
|
_bindOn(): void;
|
|
@@ -1363,7 +1404,7 @@ export declare enum RECORD_STATUS {
|
|
|
1363
1404
|
STOPPED = "stopped"
|
|
1364
1405
|
}
|
|
1365
1406
|
|
|
1366
|
-
export declare class Recording extends Module<RecordingData,
|
|
1407
|
+
export declare class Recording extends Module<RecordingData, Events_10> {
|
|
1367
1408
|
constructor(ctx: Context);
|
|
1368
1409
|
_topic(): string;
|
|
1369
1410
|
_bindOn(): void;
|
|
@@ -1445,7 +1486,7 @@ export declare interface RecordingData {
|
|
|
1445
1486
|
isPracticeSession?: boolean;
|
|
1446
1487
|
recording: RecordingMap;
|
|
1447
1488
|
liveTime?: number;
|
|
1448
|
-
status:
|
|
1489
|
+
status: Status_2;
|
|
1449
1490
|
resultInfo: {
|
|
1450
1491
|
bizCode?: string;
|
|
1451
1492
|
};
|
|
@@ -1457,6 +1498,7 @@ export declare interface RecordingMap {
|
|
|
1457
1498
|
layout: {
|
|
1458
1499
|
layout?: {
|
|
1459
1500
|
type: string;
|
|
1501
|
+
type2?: string;
|
|
1460
1502
|
name?: string;
|
|
1461
1503
|
};
|
|
1462
1504
|
mode?: string;
|
|
@@ -1470,6 +1512,13 @@ export declare interface RecordingMap {
|
|
|
1470
1512
|
lastStartTime?: number;
|
|
1471
1513
|
duration?: number;
|
|
1472
1514
|
seq?: number;
|
|
1515
|
+
isReconnecting?: boolean;
|
|
1516
|
+
backupRecord?: {
|
|
1517
|
+
enabled: boolean;
|
|
1518
|
+
isReconnecting: boolean;
|
|
1519
|
+
status: string;
|
|
1520
|
+
userID: number;
|
|
1521
|
+
};
|
|
1473
1522
|
}
|
|
1474
1523
|
|
|
1475
1524
|
export declare interface RecordLayoutMap {
|
|
@@ -1700,7 +1749,7 @@ export declare interface SetMedia {
|
|
|
1700
1749
|
};
|
|
1701
1750
|
}
|
|
1702
1751
|
|
|
1703
|
-
export declare class Setting extends Module<SettingData,
|
|
1752
|
+
export declare class Setting extends Module<SettingData, Events_4> {
|
|
1704
1753
|
constructor(ctx: Context);
|
|
1705
1754
|
_topic(): string;
|
|
1706
1755
|
_bindOn(): void;
|
|
@@ -1791,7 +1840,7 @@ declare interface ShouldJoinUser {
|
|
|
1791
1840
|
userIDs: number[];
|
|
1792
1841
|
}
|
|
1793
1842
|
|
|
1794
|
-
export declare class ShouldJoinUsers extends Module<ShouldJoinUsersData,
|
|
1843
|
+
export declare class ShouldJoinUsers extends Module<ShouldJoinUsersData, Events_6> {
|
|
1795
1844
|
constructor(ctx: Context);
|
|
1796
1845
|
_topic(): string;
|
|
1797
1846
|
_bindOn(): void;
|
|
@@ -1817,7 +1866,7 @@ export declare class ShouldJoinUsers extends Module<ShouldJoinUsersData, Events_
|
|
|
1817
1866
|
*/
|
|
1818
1867
|
export declare type ShouldJoinUsersData = object;
|
|
1819
1868
|
|
|
1820
|
-
export declare class SpotlightVideo extends Module<SpotlightVideoData,
|
|
1869
|
+
export declare class SpotlightVideo extends Module<SpotlightVideoData, Events_7> {
|
|
1821
1870
|
constructor(ctx: Context);
|
|
1822
1871
|
_topic(): string;
|
|
1823
1872
|
_bindOn(): void;
|
|
@@ -1852,21 +1901,21 @@ export declare enum STATE {
|
|
|
1852
1901
|
READY = 2
|
|
1853
1902
|
}
|
|
1854
1903
|
|
|
1855
|
-
declare
|
|
1856
|
-
|
|
1857
|
-
declare interface Status_2 {
|
|
1904
|
+
declare interface Status {
|
|
1858
1905
|
platform: string;
|
|
1859
1906
|
status: string;
|
|
1860
1907
|
}
|
|
1861
1908
|
|
|
1862
|
-
declare type
|
|
1909
|
+
declare type Status_2 = 'starting' | 'started' | 'stopped' | 'paused';
|
|
1910
|
+
|
|
1911
|
+
declare type Status_3 = 'starting' | 'started' | 'stopped';
|
|
1863
1912
|
|
|
1864
1913
|
export declare interface SubscribeToUser {
|
|
1865
1914
|
subjectID: string;
|
|
1866
1915
|
userID?: number;
|
|
1867
1916
|
}
|
|
1868
1917
|
|
|
1869
|
-
export declare class Transcript extends Module<TranscriptData,
|
|
1918
|
+
export declare class Transcript extends Module<TranscriptData, Events_16> {
|
|
1870
1919
|
constructor(ctx: Context);
|
|
1871
1920
|
_topic(): string[];
|
|
1872
1921
|
_bindOn(): void;
|
|
@@ -1897,6 +1946,28 @@ export declare interface TranscriptPayload {
|
|
|
1897
1946
|
state: PollingPayloadState;
|
|
1898
1947
|
}
|
|
1899
1948
|
|
|
1949
|
+
export declare interface UCLive {
|
|
1950
|
+
duration?: number;
|
|
1951
|
+
lastStartTime?: number;
|
|
1952
|
+
content?: string;
|
|
1953
|
+
contentType?: string;
|
|
1954
|
+
layout: {
|
|
1955
|
+
mode?: string;
|
|
1956
|
+
layout?: LayoutContent;
|
|
1957
|
+
};
|
|
1958
|
+
liveCaptionEnabled?: boolean;
|
|
1959
|
+
platform?: string;
|
|
1960
|
+
status?: string;
|
|
1961
|
+
watchURL?: string;
|
|
1962
|
+
requesting?: boolean;
|
|
1963
|
+
resultInfo?: {
|
|
1964
|
+
bizCode?: string;
|
|
1965
|
+
};
|
|
1966
|
+
bizCode?: string;
|
|
1967
|
+
watchPassword?: string;
|
|
1968
|
+
userID?: string;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1900
1971
|
/**
|
|
1901
1972
|
* User 数据
|
|
1902
1973
|
*/
|
|
@@ -2025,9 +2096,9 @@ export declare interface UserMedia {
|
|
|
2025
2096
|
blocked: boolean;
|
|
2026
2097
|
}
|
|
2027
2098
|
|
|
2028
|
-
export declare class Users extends Module<UsersData,
|
|
2099
|
+
export declare class Users extends Module<UsersData, Events_5> {
|
|
2029
2100
|
static setDisplayNamePinyinProp: (name: string) => string;
|
|
2030
|
-
static setUserGroupIDs: (groupIDs: string[]) => string[];
|
|
2101
|
+
static setUserGroupIDs: (groupIDs: string[], endpointType: string) => string[];
|
|
2031
2102
|
constructor(ctx: Context);
|
|
2032
2103
|
_topic(): string[] | "interactive";
|
|
2033
2104
|
_bindOn(): void;
|
|
@@ -2337,7 +2408,7 @@ export declare interface videoStats {
|
|
|
2337
2408
|
packetlost: number;
|
|
2338
2409
|
}
|
|
2339
2410
|
|
|
2340
|
-
export declare class View extends Module<ViewData,
|
|
2411
|
+
export declare class View extends Module<ViewData, Events_14> {
|
|
2341
2412
|
constructor(ctx: Context);
|
|
2342
2413
|
_topic(): string[];
|
|
2343
2414
|
_bindOn(): void;
|
|
@@ -2527,7 +2598,7 @@ declare interface VirtualClassParams {
|
|
|
2527
2598
|
content: string;
|
|
2528
2599
|
}
|
|
2529
2600
|
|
|
2530
|
-
export declare class Vote extends Module<VoteData,
|
|
2601
|
+
export declare class Vote extends Module<VoteData, Events_11> {
|
|
2531
2602
|
constructor(ctx: Context);
|
|
2532
2603
|
_topic(): string | string[];
|
|
2533
2604
|
_bindOn(): void;
|
|
@@ -2693,7 +2764,7 @@ export declare interface VoteQuestionParams {
|
|
|
2693
2764
|
options: VoteQuestionOptionParams[];
|
|
2694
2765
|
}
|
|
2695
2766
|
|
|
2696
|
-
export declare class Words extends Module<WordsData,
|
|
2767
|
+
export declare class Words extends Module<WordsData, Events_12> {
|
|
2697
2768
|
constructor(ctx: Context);
|
|
2698
2769
|
_topic(): string;
|
|
2699
2770
|
_bindOn(): void;
|
|
@@ -2776,6 +2847,10 @@ export declare interface YlinkSDKMeeting {
|
|
|
2776
2847
|
* 模块 - 会议信息
|
|
2777
2848
|
*/
|
|
2778
2849
|
info?: Info;
|
|
2850
|
+
/**
|
|
2851
|
+
* 模块 - 会议设置
|
|
2852
|
+
*/
|
|
2853
|
+
setting?: Setting;
|
|
2779
2854
|
/**
|
|
2780
2855
|
* 模块 - 参会成员
|
|
2781
2856
|
*/
|
|
@@ -2792,6 +2867,14 @@ export declare interface YlinkSDKMeeting {
|
|
|
2792
2867
|
* 模块 - 邀请
|
|
2793
2868
|
*/
|
|
2794
2869
|
invite?: Invite;
|
|
2870
|
+
/**
|
|
2871
|
+
* 模块 - 直播
|
|
2872
|
+
*/
|
|
2873
|
+
liveStream?: LiveStream;
|
|
2874
|
+
/**
|
|
2875
|
+
* 模块 - 录制
|
|
2876
|
+
*/
|
|
2877
|
+
recording?: Recording;
|
|
2795
2878
|
/**
|
|
2796
2879
|
* 模块 - 投票
|
|
2797
2880
|
*/
|