视频会议

This commit is contained in:
wangqiong
2024-01-18 10:46:33 +08:00
parent d7f5ce05ea
commit 37a88df277
28922 changed files with 2797396 additions and 19461 deletions
@@ -0,0 +1,30 @@
{
"name": "@rtc-plugin/virtual-background",
"version": "5.2.1",
"description": "TRTC Web SDK 5.x virtual background plugin",
"main": "./virtual-background.esm.js",
"author": "longyuqi <longyuqi@tencent.com>",
"module": "./virtual-background.esm.js",
"repository": {
"type": "git",
"url": "git@github.com:LiteAVSDK/TRTC_Web.git"
},
"homepage": "https://web.sdk.qcloud.com/trtc/webrtc/v5/doc/en/tutorial-36-advanced-virtual-background.html",
"keywords": [
"webrtc",
"TRTC",
"rtc",
"call",
"video call",
"audio call",
"javascript",
"video",
"audio",
"camera",
"microphone",
"live streaming",
"real-time communication",
"blur background"
],
"types": "./virtual-background.esm.d.ts"
}
@@ -0,0 +1,27 @@
export interface AuthParam {
sdkAppId: number;
userId: string;
userSig: string;
}
export interface VirtualBackgroundOptions {
sdkAppId: number;
userId: string;
userSig: string;
type?: 'image' | 'blur';
src?: string;
}
export interface UpdateVirtualBackgroundOptions {
type: 'image' | 'blur';
src?: string;
}
export declare class VirtualBackground {
start(options: VirtualBackgroundOptions): Promise<void>;
update(options: UpdateVirtualBackgroundOptions): Promise<void>;
stop(): Promise<void>;
}
export default VirtualBackground;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long