@hysc/meeting 10.0.41 → 10.0.43

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
@@ -1,4 +1,4 @@
1
- import * as lodash from 'lodash';
1
+ import * as lodash_es from 'lodash-es';
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: lodash.DebouncedFunc<() => void>;
136
+ notificationMessageList: lodash_es.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: lodash.DebouncedFunc<() => void>;
333
+ updateModelSort: lodash_es.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: lodash.DebouncedFunc<() => void>;
615
- emitBindElement: lodash.DebouncedFunc<() => void>;
616
- emitBindBigElement: lodash.DebouncedFunc<() => void>;
614
+ sendMessage2Room: lodash_es.DebouncedFunc<() => void>;
615
+ emitBindElement: lodash_es.DebouncedFunc<() => void>;
616
+ emitBindBigElement: lodash_es.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: lodash.DebouncedFunc<() => void>;
678
+ checkBigVideo: lodash_es.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: lodash.DebouncedFunc<() => void>;
690
+ checkStreamIsPlaying: lodash_es.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: lodash.DebouncedFunc<() => void>;
981
- updateCommonUserSort: lodash.DebouncedFunc<() => void>;
982
- updateDelayCommonUserSort: lodash.DebouncedFunc<() => void>;
983
- updateAudienceUserSort: lodash.DebouncedFunc<() => void>;
980
+ updateUserSort: lodash_es.DebouncedFunc<() => void>;
981
+ updateCommonUserSort: lodash_es.DebouncedFunc<() => void>;
982
+ updateDelayCommonUserSort: lodash_es.DebouncedFunc<() => void>;
983
+ updateAudienceUserSort: lodash_es.DebouncedFunc<() => void>;
984
984
  updateSignalUserSort: () => void;
985
985
  /**
986
986
  * 初始化所有的用户
@@ -1031,6 +1031,24 @@ declare class BMUserVM {
1031
1031
  searchWaitRoomUsers(searchTxt: string, pageSize: number): Promise<BMUser[]>;
1032
1032
  }
1033
1033
 
1034
+ interface Tiles4 {
1035
+ index: number;
1036
+ nickname: string;
1037
+ user: string;
1038
+ stream: string;
1039
+ isSubStream?: boolean;
1040
+ }
1041
+ interface HostLayout {
1042
+ user: string;
1043
+ layout: number;
1044
+ activeSubtiles: boolean;
1045
+ tiles: Tiles4[];
1046
+ }
1047
+ declare type CloudRecord = {
1048
+ recordStatus: 0 | 1 | 2;
1049
+ userId: string;
1050
+ };
1051
+
1034
1052
  /**
1035
1053
  * @name: BMRoomInfo
1036
1054
  * @author: yangliye
@@ -1245,20 +1263,6 @@ declare class BMRoomInfo {
1245
1263
  private setSimpleRaiseHandsWatcherValue;
1246
1264
  }
1247
1265
 
1248
- interface Tiles4 {
1249
- index: number;
1250
- nickname: string;
1251
- user: string;
1252
- stream: string;
1253
- isSubStream?: boolean;
1254
- }
1255
- interface HostLayout {
1256
- user: string;
1257
- layout: number;
1258
- activeSubtiles: boolean;
1259
- tiles: Tiles4[];
1260
- }
1261
-
1262
1266
  /**
1263
1267
  * 0 仅支持人 1 嘉宾 2 全员
1264
1268
  */
@@ -1269,10 +1273,6 @@ declare type giveLikeItem = {
1269
1273
  time: number;
1270
1274
  type: number;
1271
1275
  };
1272
- declare type CloudRecord = {
1273
- recordStatus: 0 | 1 | 2;
1274
- userId: string;
1275
- };
1276
1276
  declare type SupportVideoProfile = '180p' | '240p' | '360p' | '480p' | '720p';
1277
1277
  declare type SampleDeviceInfo = {
1278
1278
  name: string;
@@ -1533,6 +1533,22 @@ declare class BMRoomVM {
1533
1533
  * @param {string} userid 设为焦点主屏的userId
1534
1534
  */
1535
1535
  setForceOnUser(userid: string): Promise<void>;
1536
+ /**
1537
+ * 修改云录状态, 修改申请中,
1538
+ * @param cloudRecord
1539
+ * @param {string} cloudRecord.userId
1540
+ * @param {number} cloudRecord.recordStatus
1541
+ * @returns
1542
+ */
1543
+ updateRecordType(cloudRecord: CloudRecord): Promise<any>;
1544
+ /**
1545
+ * 更改 隐藏会议号和密码
1546
+ * @param cloudRecord
1547
+ * @param {string} cloudRecord.userId
1548
+ * @param {number} cloudRecord.recordStatus
1549
+ * @returns
1550
+ */
1551
+ updateSafeHideSec(safeHideSec: boolean): Promise<any>;
1536
1552
  /**
1537
1553
  * 主持人上报布局状态
1538
1554
  * @param layoutData
@@ -2302,7 +2318,7 @@ declare class BMRoom {
2302
2318
  * @param event
2303
2319
  */
2304
2320
  private handleStreamConnectError;
2305
- republishLocalStream: lodash.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
2321
+ republishLocalStream: lodash_es.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
2306
2322
  /**
2307
2323
  * 设置用户禁止/允许发言
2308
2324
  * @param bmUser
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as lodash from 'lodash';
1
+ import * as lodash_es from 'lodash-es';
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: lodash.DebouncedFunc<() => void>;
136
+ notificationMessageList: lodash_es.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: lodash.DebouncedFunc<() => void>;
333
+ updateModelSort: lodash_es.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: lodash.DebouncedFunc<() => void>;
615
- emitBindElement: lodash.DebouncedFunc<() => void>;
616
- emitBindBigElement: lodash.DebouncedFunc<() => void>;
614
+ sendMessage2Room: lodash_es.DebouncedFunc<() => void>;
615
+ emitBindElement: lodash_es.DebouncedFunc<() => void>;
616
+ emitBindBigElement: lodash_es.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: lodash.DebouncedFunc<() => void>;
678
+ checkBigVideo: lodash_es.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: lodash.DebouncedFunc<() => void>;
690
+ checkStreamIsPlaying: lodash_es.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: lodash.DebouncedFunc<() => void>;
981
- updateCommonUserSort: lodash.DebouncedFunc<() => void>;
982
- updateDelayCommonUserSort: lodash.DebouncedFunc<() => void>;
983
- updateAudienceUserSort: lodash.DebouncedFunc<() => void>;
980
+ updateUserSort: lodash_es.DebouncedFunc<() => void>;
981
+ updateCommonUserSort: lodash_es.DebouncedFunc<() => void>;
982
+ updateDelayCommonUserSort: lodash_es.DebouncedFunc<() => void>;
983
+ updateAudienceUserSort: lodash_es.DebouncedFunc<() => void>;
984
984
  updateSignalUserSort: () => void;
985
985
  /**
986
986
  * 初始化所有的用户
@@ -1031,6 +1031,24 @@ declare class BMUserVM {
1031
1031
  searchWaitRoomUsers(searchTxt: string, pageSize: number): Promise<BMUser[]>;
1032
1032
  }
1033
1033
 
1034
+ interface Tiles4 {
1035
+ index: number;
1036
+ nickname: string;
1037
+ user: string;
1038
+ stream: string;
1039
+ isSubStream?: boolean;
1040
+ }
1041
+ interface HostLayout {
1042
+ user: string;
1043
+ layout: number;
1044
+ activeSubtiles: boolean;
1045
+ tiles: Tiles4[];
1046
+ }
1047
+ declare type CloudRecord = {
1048
+ recordStatus: 0 | 1 | 2;
1049
+ userId: string;
1050
+ };
1051
+
1034
1052
  /**
1035
1053
  * @name: BMRoomInfo
1036
1054
  * @author: yangliye
@@ -1245,20 +1263,6 @@ declare class BMRoomInfo {
1245
1263
  private setSimpleRaiseHandsWatcherValue;
1246
1264
  }
1247
1265
 
1248
- interface Tiles4 {
1249
- index: number;
1250
- nickname: string;
1251
- user: string;
1252
- stream: string;
1253
- isSubStream?: boolean;
1254
- }
1255
- interface HostLayout {
1256
- user: string;
1257
- layout: number;
1258
- activeSubtiles: boolean;
1259
- tiles: Tiles4[];
1260
- }
1261
-
1262
1266
  /**
1263
1267
  * 0 仅支持人 1 嘉宾 2 全员
1264
1268
  */
@@ -1269,10 +1273,6 @@ declare type giveLikeItem = {
1269
1273
  time: number;
1270
1274
  type: number;
1271
1275
  };
1272
- declare type CloudRecord = {
1273
- recordStatus: 0 | 1 | 2;
1274
- userId: string;
1275
- };
1276
1276
  declare type SupportVideoProfile = '180p' | '240p' | '360p' | '480p' | '720p';
1277
1277
  declare type SampleDeviceInfo = {
1278
1278
  name: string;
@@ -1533,6 +1533,22 @@ declare class BMRoomVM {
1533
1533
  * @param {string} userid 设为焦点主屏的userId
1534
1534
  */
1535
1535
  setForceOnUser(userid: string): Promise<void>;
1536
+ /**
1537
+ * 修改云录状态, 修改申请中,
1538
+ * @param cloudRecord
1539
+ * @param {string} cloudRecord.userId
1540
+ * @param {number} cloudRecord.recordStatus
1541
+ * @returns
1542
+ */
1543
+ updateRecordType(cloudRecord: CloudRecord): Promise<any>;
1544
+ /**
1545
+ * 更改 隐藏会议号和密码
1546
+ * @param cloudRecord
1547
+ * @param {string} cloudRecord.userId
1548
+ * @param {number} cloudRecord.recordStatus
1549
+ * @returns
1550
+ */
1551
+ updateSafeHideSec(safeHideSec: boolean): Promise<any>;
1536
1552
  /**
1537
1553
  * 主持人上报布局状态
1538
1554
  * @param layoutData
@@ -2302,7 +2318,7 @@ declare class BMRoom {
2302
2318
  * @param event
2303
2319
  */
2304
2320
  private handleStreamConnectError;
2305
- republishLocalStream: lodash.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
2321
+ republishLocalStream: lodash_es.DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
2306
2322
  /**
2307
2323
  * 设置用户禁止/允许发言
2308
2324
  * @param bmUser