@hysc/meeting 10.0.40 → 10.0.41
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 +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lodash from 'lodash';
|
|
2
2
|
import * as _hysc_brtc from '@hysc/brtc';
|
|
3
3
|
import { LocalStream, RemoteStream, Device, SubscribeOptions, VideoProfile, AudioHint, StreamCodecOption } from '@hysc/brtc';
|
|
4
4
|
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer } from '@hysc/core';
|
|
@@ -133,7 +133,7 @@ declare class BMChatVM {
|
|
|
133
133
|
*/
|
|
134
134
|
sendMessage(talkMsg: string, userId: string | undefined, lostNet: boolean): Promise<void>;
|
|
135
135
|
addMessage(info: BMMessageInfo, isParticipantNotice: boolean): void;
|
|
136
|
-
notificationMessageList:
|
|
136
|
+
notificationMessageList: lodash.DebouncedFunc<() => void>;
|
|
137
137
|
updateMessageListWatcher(messageList: Array<BMMessageInfo>): void;
|
|
138
138
|
/**
|
|
139
139
|
* 获取历史消息
|
|
@@ -330,7 +330,7 @@ declare class BMStreamModelVM {
|
|
|
330
330
|
private muteOrUnpublishStream;
|
|
331
331
|
toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
|
|
332
332
|
setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): void;
|
|
333
|
-
updateModelSort:
|
|
333
|
+
updateModelSort: lodash.DebouncedFunc<() => void>;
|
|
334
334
|
handleNoContainer: (info: NoPlayerContainer) => void;
|
|
335
335
|
/**
|
|
336
336
|
* 创建canvas,目的是为了捕获空track流,给brtc使用
|
|
@@ -611,9 +611,9 @@ declare class BMStreamModel {
|
|
|
611
611
|
*/
|
|
612
612
|
bindElement: (eleId: string) => void;
|
|
613
613
|
bindBigElement: (eleId: string) => void;
|
|
614
|
-
sendMessage2Room:
|
|
615
|
-
emitBindElement:
|
|
616
|
-
emitBindBigElement:
|
|
614
|
+
sendMessage2Room: lodash.DebouncedFunc<() => void>;
|
|
615
|
+
emitBindElement: lodash.DebouncedFunc<() => void>;
|
|
616
|
+
emitBindBigElement: lodash.DebouncedFunc<() => void>;
|
|
617
617
|
/**
|
|
618
618
|
* 当前是不是正在播放
|
|
619
619
|
* @param containerId sdk绑定播放器容器id
|
|
@@ -675,7 +675,7 @@ declare class BMStreamModel {
|
|
|
675
675
|
collectAudioLevel: () => void;
|
|
676
676
|
private handleAudioLevel;
|
|
677
677
|
checkSmallVideo: () => Promise<void>;
|
|
678
|
-
checkBigVideo:
|
|
678
|
+
checkBigVideo: lodash.DebouncedFunc<() => void>;
|
|
679
679
|
/**
|
|
680
680
|
* 播放黑窗处理,主要是做一个容错处理,又可能这股流拉下来或者存在订阅就出现问题的情况
|
|
681
681
|
* 播放时黑窗的,这个时候需要,检测,然后重新拉流
|
|
@@ -687,7 +687,7 @@ declare class BMStreamModel {
|
|
|
687
687
|
*/
|
|
688
688
|
subscribeStream(): void;
|
|
689
689
|
unSubscribeStream(): void;
|
|
690
|
-
checkStreamIsPlaying:
|
|
690
|
+
checkStreamIsPlaying: lodash.DebouncedFunc<() => void>;
|
|
691
691
|
/**
|
|
692
692
|
* 取消流的播放
|
|
693
693
|
* @param type big: 大窗口 small: 小窗口 all: 全部
|
|
@@ -977,10 +977,10 @@ declare class BMUserVM {
|
|
|
977
977
|
*/
|
|
978
978
|
updateAllSort: () => void;
|
|
979
979
|
updateSortByType: (userType: UserSortType) => void;
|
|
980
|
-
updateUserSort:
|
|
981
|
-
updateCommonUserSort:
|
|
982
|
-
updateDelayCommonUserSort:
|
|
983
|
-
updateAudienceUserSort:
|
|
980
|
+
updateUserSort: lodash.DebouncedFunc<() => void>;
|
|
981
|
+
updateCommonUserSort: lodash.DebouncedFunc<() => void>;
|
|
982
|
+
updateDelayCommonUserSort: lodash.DebouncedFunc<() => void>;
|
|
983
|
+
updateAudienceUserSort: lodash.DebouncedFunc<() => void>;
|
|
984
984
|
updateSignalUserSort: () => void;
|
|
985
985
|
/**
|
|
986
986
|
* 初始化所有的用户
|
|
@@ -1718,6 +1718,7 @@ declare class BMRoom {
|
|
|
1718
1718
|
raiseHands: boolean;
|
|
1719
1719
|
}>;
|
|
1720
1720
|
enableAudienceSpeakingWatcher: Subject<boolean>;
|
|
1721
|
+
deviceChangeWatcher: Subject<boolean>;
|
|
1721
1722
|
mediaPermission: MediaPermission;
|
|
1722
1723
|
videoProfile: VideoProfile;
|
|
1723
1724
|
audioProfile: AudioProfileInfo | null;
|
|
@@ -2301,7 +2302,7 @@ declare class BMRoom {
|
|
|
2301
2302
|
* @param event
|
|
2302
2303
|
*/
|
|
2303
2304
|
private handleStreamConnectError;
|
|
2304
|
-
republishLocalStream:
|
|
2305
|
+
republishLocalStream: lodash.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
|
|
2305
2306
|
/**
|
|
2306
2307
|
* 设置用户禁止/允许发言
|
|
2307
2308
|
* @param bmUser
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lodash from 'lodash';
|
|
2
2
|
import * as _hysc_brtc from '@hysc/brtc';
|
|
3
3
|
import { LocalStream, RemoteStream, Device, SubscribeOptions, VideoProfile, AudioHint, StreamCodecOption } from '@hysc/brtc';
|
|
4
4
|
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer } from '@hysc/core';
|
|
@@ -133,7 +133,7 @@ declare class BMChatVM {
|
|
|
133
133
|
*/
|
|
134
134
|
sendMessage(talkMsg: string, userId: string | undefined, lostNet: boolean): Promise<void>;
|
|
135
135
|
addMessage(info: BMMessageInfo, isParticipantNotice: boolean): void;
|
|
136
|
-
notificationMessageList:
|
|
136
|
+
notificationMessageList: lodash.DebouncedFunc<() => void>;
|
|
137
137
|
updateMessageListWatcher(messageList: Array<BMMessageInfo>): void;
|
|
138
138
|
/**
|
|
139
139
|
* 获取历史消息
|
|
@@ -330,7 +330,7 @@ declare class BMStreamModelVM {
|
|
|
330
330
|
private muteOrUnpublishStream;
|
|
331
331
|
toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
|
|
332
332
|
setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): void;
|
|
333
|
-
updateModelSort:
|
|
333
|
+
updateModelSort: lodash.DebouncedFunc<() => void>;
|
|
334
334
|
handleNoContainer: (info: NoPlayerContainer) => void;
|
|
335
335
|
/**
|
|
336
336
|
* 创建canvas,目的是为了捕获空track流,给brtc使用
|
|
@@ -611,9 +611,9 @@ declare class BMStreamModel {
|
|
|
611
611
|
*/
|
|
612
612
|
bindElement: (eleId: string) => void;
|
|
613
613
|
bindBigElement: (eleId: string) => void;
|
|
614
|
-
sendMessage2Room:
|
|
615
|
-
emitBindElement:
|
|
616
|
-
emitBindBigElement:
|
|
614
|
+
sendMessage2Room: lodash.DebouncedFunc<() => void>;
|
|
615
|
+
emitBindElement: lodash.DebouncedFunc<() => void>;
|
|
616
|
+
emitBindBigElement: lodash.DebouncedFunc<() => void>;
|
|
617
617
|
/**
|
|
618
618
|
* 当前是不是正在播放
|
|
619
619
|
* @param containerId sdk绑定播放器容器id
|
|
@@ -675,7 +675,7 @@ declare class BMStreamModel {
|
|
|
675
675
|
collectAudioLevel: () => void;
|
|
676
676
|
private handleAudioLevel;
|
|
677
677
|
checkSmallVideo: () => Promise<void>;
|
|
678
|
-
checkBigVideo:
|
|
678
|
+
checkBigVideo: lodash.DebouncedFunc<() => void>;
|
|
679
679
|
/**
|
|
680
680
|
* 播放黑窗处理,主要是做一个容错处理,又可能这股流拉下来或者存在订阅就出现问题的情况
|
|
681
681
|
* 播放时黑窗的,这个时候需要,检测,然后重新拉流
|
|
@@ -687,7 +687,7 @@ declare class BMStreamModel {
|
|
|
687
687
|
*/
|
|
688
688
|
subscribeStream(): void;
|
|
689
689
|
unSubscribeStream(): void;
|
|
690
|
-
checkStreamIsPlaying:
|
|
690
|
+
checkStreamIsPlaying: lodash.DebouncedFunc<() => void>;
|
|
691
691
|
/**
|
|
692
692
|
* 取消流的播放
|
|
693
693
|
* @param type big: 大窗口 small: 小窗口 all: 全部
|
|
@@ -977,10 +977,10 @@ declare class BMUserVM {
|
|
|
977
977
|
*/
|
|
978
978
|
updateAllSort: () => void;
|
|
979
979
|
updateSortByType: (userType: UserSortType) => void;
|
|
980
|
-
updateUserSort:
|
|
981
|
-
updateCommonUserSort:
|
|
982
|
-
updateDelayCommonUserSort:
|
|
983
|
-
updateAudienceUserSort:
|
|
980
|
+
updateUserSort: lodash.DebouncedFunc<() => void>;
|
|
981
|
+
updateCommonUserSort: lodash.DebouncedFunc<() => void>;
|
|
982
|
+
updateDelayCommonUserSort: lodash.DebouncedFunc<() => void>;
|
|
983
|
+
updateAudienceUserSort: lodash.DebouncedFunc<() => void>;
|
|
984
984
|
updateSignalUserSort: () => void;
|
|
985
985
|
/**
|
|
986
986
|
* 初始化所有的用户
|
|
@@ -1718,6 +1718,7 @@ declare class BMRoom {
|
|
|
1718
1718
|
raiseHands: boolean;
|
|
1719
1719
|
}>;
|
|
1720
1720
|
enableAudienceSpeakingWatcher: Subject<boolean>;
|
|
1721
|
+
deviceChangeWatcher: Subject<boolean>;
|
|
1721
1722
|
mediaPermission: MediaPermission;
|
|
1722
1723
|
videoProfile: VideoProfile;
|
|
1723
1724
|
audioProfile: AudioProfileInfo | null;
|
|
@@ -2301,7 +2302,7 @@ declare class BMRoom {
|
|
|
2301
2302
|
* @param event
|
|
2302
2303
|
*/
|
|
2303
2304
|
private handleStreamConnectError;
|
|
2304
|
-
republishLocalStream:
|
|
2305
|
+
republishLocalStream: lodash.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
|
|
2305
2306
|
/**
|
|
2306
2307
|
* 设置用户禁止/允许发言
|
|
2307
2308
|
* @param bmUser
|