@hysc/meeting 10.0.43 → 10.0.45
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 +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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
|
-
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer } from '@hysc/core';
|
|
4
|
+
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer, SMConfig } from '@hysc/core';
|
|
5
5
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
6
6
|
import { BoomError } from '@hysc/utils';
|
|
7
7
|
export { Logger } from '@hysc/utils';
|
|
@@ -370,7 +370,7 @@ declare class BMStreamModelVM {
|
|
|
370
370
|
* 启用下一个录制分片
|
|
371
371
|
* @param filename - 下一分片文件名
|
|
372
372
|
*/
|
|
373
|
-
sliceRecord(filename: string): Promise<boolean | undefined>;
|
|
373
|
+
sliceRecord(filename: string, capture: any): Promise<boolean | undefined>;
|
|
374
374
|
/**
|
|
375
375
|
* 启动说话人检测器
|
|
376
376
|
*/
|
|
@@ -1540,7 +1540,7 @@ declare class BMRoomVM {
|
|
|
1540
1540
|
* @param {number} cloudRecord.recordStatus
|
|
1541
1541
|
* @returns
|
|
1542
1542
|
*/
|
|
1543
|
-
|
|
1543
|
+
updateCloudRecord(cloudRecord: CloudRecord): Promise<any>;
|
|
1544
1544
|
/**
|
|
1545
1545
|
* 更改 隐藏会议号和密码
|
|
1546
1546
|
* @param cloudRecord
|
|
@@ -1817,6 +1817,7 @@ declare class BMRoom {
|
|
|
1817
1817
|
* @param event
|
|
1818
1818
|
*/
|
|
1819
1819
|
private handleSubMessage;
|
|
1820
|
+
configSM(smConfig: SMConfig): void;
|
|
1820
1821
|
/**
|
|
1821
1822
|
* 设置视频分辨率, 需要在入会之前调用
|
|
1822
1823
|
* @param profile 设置视频分辨率
|
|
@@ -1923,9 +1924,13 @@ declare class BMRoom {
|
|
|
1923
1924
|
* @param {Number} opts.capture.width - 宽度
|
|
1924
1925
|
* @param {Number} opts.capture.height - 高度
|
|
1925
1926
|
* @param {Number} opts.capture.fps - 帧率
|
|
1927
|
+
* @param {Number} opts.capture.source_name - 录制源,窗口的名字
|
|
1928
|
+
* @param {Number} opts.capture.isRecord -
|
|
1929
|
+
* @param {Number} opts.capture.chromeMediaSourceId - 录制哪个窗口的id
|
|
1926
1930
|
* @param {Number} opts.record - 编码属性
|
|
1927
1931
|
* @param {Number} opts.record.bitrate - 编码码率
|
|
1928
1932
|
* @param {String|undefined} opts.record.format - 编码格式
|
|
1933
|
+
*
|
|
1929
1934
|
* @return {boolean}
|
|
1930
1935
|
*/
|
|
1931
1936
|
startRecord(opts: any): Promise<boolean | undefined>;
|
|
@@ -1937,7 +1942,7 @@ declare class BMRoom {
|
|
|
1937
1942
|
* 启用下一个录制分片
|
|
1938
1943
|
* @param filename - 下一分片文件名
|
|
1939
1944
|
*/
|
|
1940
|
-
sliceRecord(filename: string): Promise<boolean | undefined>;
|
|
1945
|
+
sliceRecord(filename: string, capture: any): Promise<boolean | undefined>;
|
|
1941
1946
|
close(): void;
|
|
1942
1947
|
/**
|
|
1943
1948
|
* 开关对端摄像头
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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
|
-
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer } from '@hysc/core';
|
|
4
|
+
import BCClient, { ShareMediaOptions, Player, BCUser, AudioPlayer, SMConfig } from '@hysc/core';
|
|
5
5
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
6
6
|
import { BoomError } from '@hysc/utils';
|
|
7
7
|
export { Logger } from '@hysc/utils';
|
|
@@ -370,7 +370,7 @@ declare class BMStreamModelVM {
|
|
|
370
370
|
* 启用下一个录制分片
|
|
371
371
|
* @param filename - 下一分片文件名
|
|
372
372
|
*/
|
|
373
|
-
sliceRecord(filename: string): Promise<boolean | undefined>;
|
|
373
|
+
sliceRecord(filename: string, capture: any): Promise<boolean | undefined>;
|
|
374
374
|
/**
|
|
375
375
|
* 启动说话人检测器
|
|
376
376
|
*/
|
|
@@ -1540,7 +1540,7 @@ declare class BMRoomVM {
|
|
|
1540
1540
|
* @param {number} cloudRecord.recordStatus
|
|
1541
1541
|
* @returns
|
|
1542
1542
|
*/
|
|
1543
|
-
|
|
1543
|
+
updateCloudRecord(cloudRecord: CloudRecord): Promise<any>;
|
|
1544
1544
|
/**
|
|
1545
1545
|
* 更改 隐藏会议号和密码
|
|
1546
1546
|
* @param cloudRecord
|
|
@@ -1817,6 +1817,7 @@ declare class BMRoom {
|
|
|
1817
1817
|
* @param event
|
|
1818
1818
|
*/
|
|
1819
1819
|
private handleSubMessage;
|
|
1820
|
+
configSM(smConfig: SMConfig): void;
|
|
1820
1821
|
/**
|
|
1821
1822
|
* 设置视频分辨率, 需要在入会之前调用
|
|
1822
1823
|
* @param profile 设置视频分辨率
|
|
@@ -1923,9 +1924,13 @@ declare class BMRoom {
|
|
|
1923
1924
|
* @param {Number} opts.capture.width - 宽度
|
|
1924
1925
|
* @param {Number} opts.capture.height - 高度
|
|
1925
1926
|
* @param {Number} opts.capture.fps - 帧率
|
|
1927
|
+
* @param {Number} opts.capture.source_name - 录制源,窗口的名字
|
|
1928
|
+
* @param {Number} opts.capture.isRecord -
|
|
1929
|
+
* @param {Number} opts.capture.chromeMediaSourceId - 录制哪个窗口的id
|
|
1926
1930
|
* @param {Number} opts.record - 编码属性
|
|
1927
1931
|
* @param {Number} opts.record.bitrate - 编码码率
|
|
1928
1932
|
* @param {String|undefined} opts.record.format - 编码格式
|
|
1933
|
+
*
|
|
1929
1934
|
* @return {boolean}
|
|
1930
1935
|
*/
|
|
1931
1936
|
startRecord(opts: any): Promise<boolean | undefined>;
|
|
@@ -1937,7 +1942,7 @@ declare class BMRoom {
|
|
|
1937
1942
|
* 启用下一个录制分片
|
|
1938
1943
|
* @param filename - 下一分片文件名
|
|
1939
1944
|
*/
|
|
1940
|
-
sliceRecord(filename: string): Promise<boolean | undefined>;
|
|
1945
|
+
sliceRecord(filename: string, capture: any): Promise<boolean | undefined>;
|
|
1941
1946
|
close(): void;
|
|
1942
1947
|
/**
|
|
1943
1948
|
* 开关对端摄像头
|