@hysc/meeting 10.7.5 → 10.7.7

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
@@ -455,6 +455,10 @@ interface NoPlayerContainer {
455
455
  interface StreamPlayMessage {
456
456
  uid: string;
457
457
  }
458
+ interface ShareFileMessage {
459
+ fileId: string;
460
+ streamId: string | undefined | null;
461
+ }
458
462
  /**
459
463
  * 播放器状态
460
464
  */
@@ -641,6 +645,11 @@ declare class BMStreamModel {
641
645
  * @param volume
642
646
  */
643
647
  setRemoteAudioLevel(volume: number): void;
648
+ /**
649
+ * 设置远端流的播放声音
650
+ * @param share_file
651
+ */
652
+ setShareFile(share_file: string): void;
644
653
  /**
645
654
  * 获取流的传输信息
646
655
  */
@@ -1810,6 +1819,7 @@ declare class BMRoom {
1810
1819
  raiseHandleRespWatcher: Subject<RaiseHandsParams>;
1811
1820
  enableAudienceSpeakingWatcher: Subject<boolean>;
1812
1821
  deviceChangeWatcher: Subject<boolean>;
1822
+ shareFileWatcher: BehaviorSubject<ShareFileMessage | null>;
1813
1823
  mediaPermission: MediaPermission;
1814
1824
  videoProfile: VideoProfile;
1815
1825
  audioProfile: AudioProfileInfo | null;
package/dist/index.d.ts CHANGED
@@ -455,6 +455,10 @@ interface NoPlayerContainer {
455
455
  interface StreamPlayMessage {
456
456
  uid: string;
457
457
  }
458
+ interface ShareFileMessage {
459
+ fileId: string;
460
+ streamId: string | undefined | null;
461
+ }
458
462
  /**
459
463
  * 播放器状态
460
464
  */
@@ -641,6 +645,11 @@ declare class BMStreamModel {
641
645
  * @param volume
642
646
  */
643
647
  setRemoteAudioLevel(volume: number): void;
648
+ /**
649
+ * 设置远端流的播放声音
650
+ * @param share_file
651
+ */
652
+ setShareFile(share_file: string): void;
644
653
  /**
645
654
  * 获取流的传输信息
646
655
  */
@@ -1810,6 +1819,7 @@ declare class BMRoom {
1810
1819
  raiseHandleRespWatcher: Subject<RaiseHandsParams>;
1811
1820
  enableAudienceSpeakingWatcher: Subject<boolean>;
1812
1821
  deviceChangeWatcher: Subject<boolean>;
1822
+ shareFileWatcher: BehaviorSubject<ShareFileMessage | null>;
1813
1823
  mediaPermission: MediaPermission;
1814
1824
  videoProfile: VideoProfile;
1815
1825
  audioProfile: AudioProfileInfo | null;