@hysc/meeting 5.0.63 → 5.0.64

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.
@@ -15,6 +15,11 @@ import AudioPlay from "../audioPlay/AudioPlay";
15
15
  interface BMRoomProps {
16
16
  initDevices: boolean;
17
17
  }
18
+ interface MediaPermission {
19
+ microphone: boolean;
20
+ camera: boolean;
21
+ screen: boolean;
22
+ }
18
23
  export declare let _selfSortType: number;
19
24
  export declare let autoPlayAudio: boolean;
20
25
  export default class BMRoom {
@@ -70,6 +75,7 @@ export default class BMRoom {
70
75
  raiseHands: boolean;
71
76
  }>;
72
77
  enableAudienceSpeakingWatcher: Subject<boolean>;
78
+ mediaPermission: MediaPermission;
73
79
  videoProfile: VideoProfile;
74
80
  audioProfile: AudioProfileInfo | null;
75
81
  /**
@@ -119,6 +125,7 @@ export default class BMRoom {
119
125
  * @param value
120
126
  */
121
127
  setAutoPlayAudio(value: boolean): void;
128
+ setMediaPermission(permission: MediaPermission): void;
122
129
  /**
123
130
  * 是否应该播放声音
124
131
  * @param value