@hysc/meeting 5.0.38 → 5.0.40
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/esm/boom-meeting/src/BMRoom/BMRoom.d.ts +13 -0
- package/esm/index.js +1 -1
- package/esm/index.js.map +2 -2
- package/esm/src/BMRoom/BMRoom.d.ts +686 -679
- package/package.json +3 -3
- package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +13 -0
- package/umd/index.js +1 -1
|
@@ -16,6 +16,7 @@ interface BMRoomProps {
|
|
|
16
16
|
initDevices: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare let _selfSortType: number;
|
|
19
|
+
export declare let autoPlayAudio: boolean;
|
|
19
20
|
export default class BMRoom {
|
|
20
21
|
roomVM: BMRoomVM | null;
|
|
21
22
|
userVM: BMUserVM;
|
|
@@ -100,6 +101,7 @@ export default class BMRoom {
|
|
|
100
101
|
brtc: boolean;
|
|
101
102
|
};
|
|
102
103
|
brtcNetEnableWatcher: Subject<boolean>;
|
|
104
|
+
autoPlayAudio: boolean;
|
|
103
105
|
audioPlayer: AudioPlay;
|
|
104
106
|
get isSingleColumns(): boolean;
|
|
105
107
|
/**
|
|
@@ -110,7 +112,18 @@ export default class BMRoom {
|
|
|
110
112
|
localUser: BMUser;
|
|
111
113
|
bmLiveVM: BMLiveVM;
|
|
112
114
|
isInWaitRoom: boolean;
|
|
115
|
+
shouldPlayAudio: boolean;
|
|
113
116
|
constructor({ initDevices }?: BMRoomProps);
|
|
117
|
+
/**
|
|
118
|
+
* 是否自动播放声音
|
|
119
|
+
* @param value
|
|
120
|
+
*/
|
|
121
|
+
setAutoPlayAudio(value: boolean): void;
|
|
122
|
+
/**
|
|
123
|
+
* 是否应该播放声音
|
|
124
|
+
* @param value
|
|
125
|
+
*/
|
|
126
|
+
setShouldPlayAudio(value: boolean): void;
|
|
114
127
|
handleReprocessStreamError: () => void;
|
|
115
128
|
initAudioPlayer(playerContainerId: string): void;
|
|
116
129
|
/**
|