@xylink/xy-rtc-sdk 2.0.0 → 2.0.1-1

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.
@@ -1,45 +0,0 @@
1
- /**
2
- * Webrtc layout lib
3
- *
4
- * @authors Luo-jinghui (luojinghui424@gmail.com)
5
- * @date 2019-12-06 16:42:28
6
- */
7
- import { IRoster, ISelfRoster, ILayout, ILayoutParams, ITemplateObj } from '../type/index';
8
- export default class Layout {
9
- private rosters;
10
- private orderRoster;
11
- private speakerInfo;
12
- private newLayout;
13
- private layout;
14
- private initLayout;
15
- private invite;
16
- private templateMode;
17
- private templateRate;
18
- private selfRoster;
19
- private content;
20
- private contentSenderPid;
21
- private localHide;
22
- constructor();
23
- setting(client: ILayoutParams, onlyCalcOrderRoster?: boolean): void;
24
- getInitLayout(): ITemplateObj[];
25
- getSelfRoster(): ISelfRoster;
26
- getTemplateRate(): number;
27
- getContentItem(): IRoster;
28
- getNewLayout(): ILayout[];
29
- getOrderRosters(): IRoster[];
30
- getLayout(): ILayout[];
31
- calcLayout(): void;
32
- clearUselessLayout(): void;
33
- updateLayout(): void;
34
- updateScreenUseItem(previousIndex: any, index: any, item: any): void;
35
- updateLayoutUseIndex(index: any, item: any): void;
36
- exchangePosition(replaceIndex: any, mainLayoutIndex: any, mainNewLayoutRoster: any): void;
37
- updateRoster(index: any, item: any, seat: any): void;
38
- calcNewLayout(): any[];
39
- calcOrderRosters(): IRoster[];
40
- setOriMasterScreenItem(orderRoster: any, isAdd: any): any;
41
- getIndexInLayoutBySeat(seat: any, status: any): number;
42
- getIndexInRoster(roster: any, endpointId: any): any;
43
- getIndexInLayoutByPid(roster: IRoster, status: 'old' | 'new'): number;
44
- getNewIndexInLayout(seat?: number): number;
45
- }