trtc-sdk-v5 5.11.2-beta.5 → 5.11.2-beta.7

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/device-detector",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "TRTC Web SDK 5.x device detector plugin",
5
5
  "main": "./device-detector.esm.js",
6
6
  "module": "./device-detector.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/small-stream-auto-switcher",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "",
5
5
  "main": "./small-stream-auto-switcher.esm.js",
6
6
  "keywords": [],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/video-decoder",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "Video decoder plugin for TRTC",
5
5
  "main": "./video-decoder.esm.js",
6
6
  "module": "./video-decoder.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/basic-beauty",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "TRTC Web SDK 5.x basic-beauty plugin",
5
5
  "main": "./basic-beauty.esm.js",
6
6
  "module": "./basic-beauty.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/beauty",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "TRTC Web SDK 5.x beauty plugin",
5
5
  "main": "./beauty.esm.js",
6
6
  "module": "./beauty.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/video-mixer",
3
- "version": "5.11.2-beta.5",
3
+ "version": "5.11.2-beta.7",
4
4
  "description": "TRTC Web SDK 5.x videoMixer plugin",
5
5
  "main": "./video-mixer.esm.js",
6
6
  "module": "./video-mixer.esm.js",
@@ -1,13 +1,9 @@
1
- import {
2
- screenProfileMap,
3
- VideoProfile,
4
- videoProfileMap,
5
- } from 'trtc-sdk-v5';
1
+ import { screenProfileMap, VideoProfile, videoProfileMap } from 'trtc-sdk-v5';
6
2
 
7
3
  export interface VideoMixerOptions {
8
4
  view?: string | HTMLElement | null;
9
5
  canvasInfo: {
10
- canvasColor?: string; // 合流背景色
6
+ canvasColor?: string | CanvasGradient | CanvasPattern; // 合流背景色
11
7
  // 合流画布分辨率
12
8
  width: number;
13
9
  height: number;
@@ -22,13 +18,13 @@ export interface VideoMixerOptions {
22
18
  // 更新时画布配置变为可选
23
19
  export type UpdateVideoMixerOptions = {
24
20
  view?: VideoMixerOptions['view'];
25
- canvasInfo?: VideoMixerOptions['canvasInfo']
21
+ canvasInfo?: VideoMixerOptions['canvasInfo'];
26
22
  camera?: VideoMixerOptions['camera'];
27
23
  screen?: VideoMixerOptions['screen'];
28
24
  text?: VideoMixerOptions['text'];
29
25
  image?: VideoMixerOptions['image'];
30
26
  video?: VideoMixerOptions['video'];
31
- }
27
+ };
32
28
 
33
29
  export interface CameraSource {
34
30
  // 参数与 startLocalVideo 对齐