dingrtc 3.8.6 → 3.8.8-beta.3
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.ts +6 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2990,7 +2990,7 @@ declare class Track extends EventEmitter<ITrackEvent> {
|
|
|
2990
2990
|
sender: {
|
|
2991
2991
|
logging: {
|
|
2992
2992
|
commonInfo: _dingrtc_shared.LogCommonInfo;
|
|
2993
|
-
|
|
2993
|
+
buffer: any[];
|
|
2994
2994
|
slsClient: {
|
|
2995
2995
|
logService: _dingrtc_shared.LogServiceDTO;
|
|
2996
2996
|
cache: any[];
|
|
@@ -3039,10 +3039,11 @@ declare class Track extends EventEmitter<ITrackEvent> {
|
|
|
3039
3039
|
start(slsConfig: _dingrtc_shared.SLSClientConfig): void;
|
|
3040
3040
|
stop(): void;
|
|
3041
3041
|
send(param: any): void;
|
|
3042
|
-
|
|
3042
|
+
flushLogBuffer(): void;
|
|
3043
3043
|
realSend(param: any): void;
|
|
3044
3044
|
};
|
|
3045
3045
|
statsConfig: _dingrtc_shared.StatsConfig;
|
|
3046
|
+
started: boolean;
|
|
3046
3047
|
simpleLogger(log: string): void;
|
|
3047
3048
|
start(slsConfig: _dingrtc_shared.SLSClientConfig): void;
|
|
3048
3049
|
stop(): void;
|
|
@@ -3413,9 +3414,9 @@ declare class LocalTrack extends Track {
|
|
|
3413
3414
|
private updateNewTrack;
|
|
3414
3415
|
/**
|
|
3415
3416
|
* 更新设置轨道使用的媒体设备, 移动端时可通过设置为user、environment来切换前置、后置摄像头
|
|
3416
|
-
* @param
|
|
3417
|
+
* @param deviceIdOrFacingMode 设备 id
|
|
3417
3418
|
*/
|
|
3418
|
-
setDevice(
|
|
3419
|
+
setDevice(deviceIdOrFacingMode: string): Promise<void>;
|
|
3419
3420
|
/**
|
|
3420
3421
|
* 获取本地轨道的来源描述
|
|
3421
3422
|
* @returns 音频或视频轨道描述
|
|
@@ -3703,7 +3704,7 @@ declare class DingRTC extends EventEmitter<IGlobalEvent> {
|
|
|
3703
3704
|
*
|
|
3704
3705
|
* @returns {MediaDeviceInfo}
|
|
3705
3706
|
*/
|
|
3706
|
-
getDevices(): Promise<
|
|
3707
|
+
getDevices(): Promise<any>;
|
|
3707
3708
|
/**
|
|
3708
3709
|
* 该方法枚举可用的音频播放设备,比如扬声器。
|
|
3709
3710
|
* 调用成功后 SDK 会通过 MediaDeviceInfo 对象返回可用的音频播放设备。
|