@hysc/meeting 5.0.57 → 5.0.59

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.
@@ -75,6 +75,12 @@ export default class BMStreamModelVM {
75
75
  */
76
76
  noBigContainerWatcher: Subject<BMStreamModel>;
77
77
  localStreamConnectErrorWatcher: Subject<BoomError>;
78
+ /**
79
+ * 共享屏幕相关错误
80
+ * 包括,共享客户端错误
81
+ * 共享屏幕流错误
82
+ */
83
+ localShareError: Subject<BoomError>;
78
84
  constructor();
79
85
  private static filterStreamModels;
80
86
  initWithRoom(room: BMRoom): this;
@@ -163,7 +169,7 @@ export default class BMStreamModelVM {
163
169
  * @private
164
170
  */
165
171
  private createStreamAndPublish;
166
- publishBloudStream(audio: boolean, video: boolean): void;
172
+ publishBloudStream(audio: boolean, video: boolean): Promise<void>;
167
173
  muteHandler(type: 'video' | 'audio'): Promise<void>;
168
174
  unpublishStream(): Promise<void>;
169
175
  /**
@@ -186,7 +192,7 @@ export default class BMStreamModelVM {
186
192
  * @param opts.contentHint 视频的contentHint 可选值: '' | 'motion' | 'detail' | 'text'
187
193
  */
188
194
  toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
189
- setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): Promise<void>;
195
+ setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): void;
190
196
  updateModelSort: any;
191
197
  handleNoContainer: (info: NoPlayerContainer) => void;
192
198
  /**