@hysc/meeting 10.0.35 → 10.0.38

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/dist/index.d.mts CHANGED
@@ -484,7 +484,6 @@ declare class BMStreamModel {
484
484
  muted: boolean;
485
485
  private checkVideoTimer;
486
486
  checkCount: number;
487
- private checkFailedCount;
488
487
  /**
489
488
  * streamModel的唯一标识,用来给业务绑定播放容器
490
489
  */
@@ -577,6 +576,7 @@ declare class BMStreamModel {
577
576
  */
578
577
  get isShare(): boolean;
579
578
  get isWeb(): boolean;
579
+ get isMobile(): boolean;
580
580
  /**
581
581
  * 当前音频是否开启
582
582
  */
@@ -636,7 +636,7 @@ declare class BMStreamModel {
636
636
  /**
637
637
  * 销毁当前流
638
638
  */
639
- destroy(): void;
639
+ destroyBrtcStream(): void;
640
640
  /**
641
641
  * 获取当前流是否正在播放
642
642
  */
@@ -695,7 +695,7 @@ declare class BMStreamModel {
695
695
  unAttach(type: 'big' | 'small' | 'all'): void;
696
696
  }
697
697
 
698
- declare type Operation = 'none' | 'getMaster' | 'getManager' | 'removeMaster' | 'getGuest' | 'removeGuest' | 'removeManager' | 'changeNickName' | 'speakerEnable' | 'changeShare' | 'updateUser' | 'raiseHandsVideo' | 'raiseHandsAudio' | 'audienceEnableSpeaking' | 'inBackground' | 'raiseHand';
698
+ declare type Operation = 'none' | 'getMaster' | 'getManager' | 'removeMaster' | 'getGuest' | 'removeGuest' | 'removeManager' | 'changeNickName' | 'speakerEnable' | 'changeShare' | 'updateUser' | 'raiseHandsVideo' | 'raiseHandsAudio' | 'audienceEnableSpeaking' | 'inBackground' | 'raiseHand' | 'isCalling';
699
699
  interface IUserActionWatcher {
700
700
  operation: Operation;
701
701
  user: BMUser;
@@ -772,11 +772,19 @@ declare class BMUser {
772
772
  * 如果改用户是移动端, 该值用于判断这个用户是否在后台
773
773
  */
774
774
  inBackground: boolean;
775
+ /**
776
+ * 是否正在通话中
777
+ */
778
+ isCalling: boolean;
775
779
  raiseHandTime: number;
776
780
  /**
777
781
  * 是不是web端入会
778
782
  */
779
783
  get isWeb(): boolean;
784
+ /**
785
+ * 是不是电话入会
786
+ */
787
+ get isMobile(): boolean;
780
788
  constructor(user: any, isLocal?: boolean);
781
789
  setup(userId: string, userinfo: UserInfo, nickname: string): void;
782
790
  getMainStreamModel(): BMStreamModel | undefined;
package/dist/index.d.ts CHANGED
@@ -484,7 +484,6 @@ declare class BMStreamModel {
484
484
  muted: boolean;
485
485
  private checkVideoTimer;
486
486
  checkCount: number;
487
- private checkFailedCount;
488
487
  /**
489
488
  * streamModel的唯一标识,用来给业务绑定播放容器
490
489
  */
@@ -577,6 +576,7 @@ declare class BMStreamModel {
577
576
  */
578
577
  get isShare(): boolean;
579
578
  get isWeb(): boolean;
579
+ get isMobile(): boolean;
580
580
  /**
581
581
  * 当前音频是否开启
582
582
  */
@@ -636,7 +636,7 @@ declare class BMStreamModel {
636
636
  /**
637
637
  * 销毁当前流
638
638
  */
639
- destroy(): void;
639
+ destroyBrtcStream(): void;
640
640
  /**
641
641
  * 获取当前流是否正在播放
642
642
  */
@@ -695,7 +695,7 @@ declare class BMStreamModel {
695
695
  unAttach(type: 'big' | 'small' | 'all'): void;
696
696
  }
697
697
 
698
- declare type Operation = 'none' | 'getMaster' | 'getManager' | 'removeMaster' | 'getGuest' | 'removeGuest' | 'removeManager' | 'changeNickName' | 'speakerEnable' | 'changeShare' | 'updateUser' | 'raiseHandsVideo' | 'raiseHandsAudio' | 'audienceEnableSpeaking' | 'inBackground' | 'raiseHand';
698
+ declare type Operation = 'none' | 'getMaster' | 'getManager' | 'removeMaster' | 'getGuest' | 'removeGuest' | 'removeManager' | 'changeNickName' | 'speakerEnable' | 'changeShare' | 'updateUser' | 'raiseHandsVideo' | 'raiseHandsAudio' | 'audienceEnableSpeaking' | 'inBackground' | 'raiseHand' | 'isCalling';
699
699
  interface IUserActionWatcher {
700
700
  operation: Operation;
701
701
  user: BMUser;
@@ -772,11 +772,19 @@ declare class BMUser {
772
772
  * 如果改用户是移动端, 该值用于判断这个用户是否在后台
773
773
  */
774
774
  inBackground: boolean;
775
+ /**
776
+ * 是否正在通话中
777
+ */
778
+ isCalling: boolean;
775
779
  raiseHandTime: number;
776
780
  /**
777
781
  * 是不是web端入会
778
782
  */
779
783
  get isWeb(): boolean;
784
+ /**
785
+ * 是不是电话入会
786
+ */
787
+ get isMobile(): boolean;
780
788
  constructor(user: any, isLocal?: boolean);
781
789
  setup(userId: string, userinfo: UserInfo, nickname: string): void;
782
790
  getMainStreamModel(): BMStreamModel | undefined;