trtc-cloud-js-sdk 2.14.2-beta.1 → 2.14.2-beta.2
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/package.json
CHANGED
package/trtc-cloud-js-sdk.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
|
2
|
+
import { VirtualBackground } from 'trtc-sdk-v5/plugins/video-effect/virtual-background';
|
|
3
|
+
import { BasicBeauty } from 'trtc-sdk-v5/plugins/video-effect/basic-beauty';
|
|
4
|
+
import VideoMixer from 'trtc-sdk-v5/plugins/video-effect/video-mixer';
|
|
5
|
+
import Whiteboard from 'trtc-sdk-v5/plugins/whiteboard';
|
|
2
6
|
|
|
3
7
|
declare enum TRTCVideoResolution {
|
|
4
8
|
TRTCVideoResolution_120_120 = 1,
|
|
@@ -1246,7 +1250,7 @@ declare class TRTC_Cloud extends EventEmitter {
|
|
|
1246
1250
|
private _hasJoinedRoom;
|
|
1247
1251
|
private _isExitingRoom;
|
|
1248
1252
|
constructor(config?: ITRTCCloudConfig);
|
|
1249
|
-
static getPlugin(pluginName: string):
|
|
1253
|
+
static getPlugin(pluginName: string): typeof VirtualBackground | typeof BasicBeauty | typeof VideoMixer | typeof Whiteboard | null;
|
|
1250
1254
|
/**
|
|
1251
1255
|
* 创建 TRTCCloud 对象单例
|
|
1252
1256
|
* @param {ITRTCCloudConfig} config 构造函数初始化
|
|
@@ -1751,7 +1755,6 @@ declare class TRTC_Cloud extends EventEmitter {
|
|
|
1751
1755
|
* @param {Number} params.videoFps 帧率
|
|
1752
1756
|
* @param {Number} params.videoBitrate 码率
|
|
1753
1757
|
* @param {Boolean=} params.screenAudio 屏幕分享是否采集系统音频, 默认 false 不采集
|
|
1754
|
-
* @param {Boolean=} params.applyResolutionConstraints 是否将设置的分辨率作为约束应用于屏幕采集, 默认 false
|
|
1755
1758
|
* @param {MediaStreamTrack=} params.videoTrack 自定义采集的 videoTrack
|
|
1756
1759
|
* **Note:**
|
|
1757
1760
|
* - 采集系统声音只支持 Chrome M74+ ,在 Windows 和 Chrome OS 上,可以捕获整个系统的音频
|
|
@@ -2172,4 +2175,4 @@ declare class TRTC_Cloud extends EventEmitter {
|
|
|
2172
2175
|
getAITranscriberManager(): AITranscriberManager;
|
|
2173
2176
|
}
|
|
2174
2177
|
|
|
2175
|
-
export { AITranscriberListener, AudioMuteType, IAITranscriberManager, ITRTCMediaMixingEvent, ITRTCMediaMixingManager, ITRTCWhiteboardManager, InteractionOption, Rect, TRTCAppScene, TRTCAudioQuality, TRTCAudioSceneEx, TRTCBeautyStyle, TRTCCameraCaptureMode, TRTCCameraCaptureParams,
|
|
2178
|
+
export { AITranscriberListener, AudioMuteType, IAITranscriberManager, ITRTCMediaMixingEvent, ITRTCMediaMixingManager, ITRTCWhiteboardManager, InteractionOption, Rect, TRTCAppScene, TRTCAudioQuality, TRTCAudioSceneEx, TRTCBeautyStyle, TRTCCameraCaptureMode, TRTCCameraCaptureParams, TRTCDeviceInfo, TRTCDeviceState, TRTCDeviceType, TRTCImageBuffer, TRTCLocalStatistics, TRTCLogLevel, TRTCMediaMixingEncParam, TRTCMediaMixingErrorCode, TRTCMediaMixingEvent, TRTCMediaSource, TRTCMediaSourceType, TRTCMixInputType, TRTCMixUser, TRTCNetworkQosParam, TRTCParams, TRTCPublishCDNParam, TRTCQosControlMode, TRTCQuality, TRTCQualityInfo, TRTCRemoteStatistics, TRTCRenderParams, TRTCRoleType, TRTCScreenCaptureProperty, TRTCScreenCaptureSourceInfo, TRTCScreenCaptureSourceType, TRTCStatistics, TRTCTranscodingConfig, TRTCTranscodingConfigMode, TRTCVideoEncParam, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoQosPreference, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoRotation, TRTCVideoStreamType, TRTCVolumeInfo, TRTCWhiteboardEvent, TranscriberMessage, TranscriberParams, WHITEBOARD_EXPERIMENTAL_EVENT_NAME, WhiteboardCanvasInfo, WhiteboardExperimentalEventPayload, WhiteboardOp, WhiteboardRecvCommand, WhiteboardToolConfig, WhiteboardToolType, TRTC_Cloud as default, loggerManager };
|