@hysc/meeting 10.7.6 → 10.8.0
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -355,7 +355,7 @@ declare class BMStreamModelVM {
|
|
|
355
355
|
brtcStreamAddEvent(): void;
|
|
356
356
|
brtcStreamRemoveEvent(): void;
|
|
357
357
|
publishBloudStream(audio: boolean, video: boolean): Promise<void>;
|
|
358
|
-
muteHandler(type:
|
|
358
|
+
muteHandler(type: "video" | "audio"): void;
|
|
359
359
|
unpublishStream(release?: boolean): Promise<void>;
|
|
360
360
|
/**
|
|
361
361
|
* 更改音视频状态或者取消发布
|
|
@@ -368,7 +368,7 @@ declare class BMStreamModelVM {
|
|
|
368
368
|
private muteOrUnpublishStream;
|
|
369
369
|
private justReplaceVideoTrack;
|
|
370
370
|
toggleShareScreen(enable: boolean, opts?: any, customShare?: Result): Promise<boolean>;
|
|
371
|
-
setShareScreenContentHint(contentHint:
|
|
371
|
+
setShareScreenContentHint(contentHint: "" | "motion" | "detail" | "text"): void;
|
|
372
372
|
updateModelSort: lodash_es.DebouncedFunc<() => void>;
|
|
373
373
|
handleNoContainer: (info: NoPlayerContainer) => void;
|
|
374
374
|
/**
|
|
@@ -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
|
@@ -355,7 +355,7 @@ declare class BMStreamModelVM {
|
|
|
355
355
|
brtcStreamAddEvent(): void;
|
|
356
356
|
brtcStreamRemoveEvent(): void;
|
|
357
357
|
publishBloudStream(audio: boolean, video: boolean): Promise<void>;
|
|
358
|
-
muteHandler(type:
|
|
358
|
+
muteHandler(type: "video" | "audio"): void;
|
|
359
359
|
unpublishStream(release?: boolean): Promise<void>;
|
|
360
360
|
/**
|
|
361
361
|
* 更改音视频状态或者取消发布
|
|
@@ -368,7 +368,7 @@ declare class BMStreamModelVM {
|
|
|
368
368
|
private muteOrUnpublishStream;
|
|
369
369
|
private justReplaceVideoTrack;
|
|
370
370
|
toggleShareScreen(enable: boolean, opts?: any, customShare?: Result): Promise<boolean>;
|
|
371
|
-
setShareScreenContentHint(contentHint:
|
|
371
|
+
setShareScreenContentHint(contentHint: "" | "motion" | "detail" | "text"): void;
|
|
372
372
|
updateModelSort: lodash_es.DebouncedFunc<() => void>;
|
|
373
373
|
handleNoContainer: (info: NoPlayerContainer) => void;
|
|
374
374
|
/**
|
|
@@ -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;
|