@hysc/meeting 5.0.41 → 5.0.43

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.
@@ -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
  /**
@@ -112,6 +114,11 @@ export default class BMRoom {
112
114
  isInWaitRoom: boolean;
113
115
  shouldPlayAudio: boolean;
114
116
  constructor({ initDevices }?: BMRoomProps);
117
+ /**
118
+ * 是否自动播放声音
119
+ * @param value
120
+ */
121
+ setAutoPlayAudio(value: boolean): void;
115
122
  /**
116
123
  * 是否应该播放声音
117
124
  * @param value