fcr-ui-scene 1.0.2 → 1.0.20

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.
@@ -0,0 +1,3 @@
1
+ export declare enum RoomTemplate {
2
+ FINITY_CLOUD_CLASS = "scene_finity_v1"
3
+ }
@@ -0,0 +1,8 @@
1
+ declare global {
2
+ interface Window {
3
+ __agora__fcr__locked: boolean;
4
+ }
5
+ }
6
+ export declare const lock: () => void;
7
+ export declare const unlock: () => void;
8
+ export declare const isLocked: () => boolean;
@@ -1,4 +1,4 @@
1
- import { ConversionOption, EduRegion, EduRoleTypeEnum, EduRoomTypeEnum, EduRtcConfig } from 'agora-edu-core';
1
+ import { ConversionOption, EduRegion, EduRoleTypeEnum, EduRoomTypeEnum, EduRtcConfig, AgoraCloudProxyType } from 'agora-edu-core';
2
2
  import { AGMediaOptions, AgoraLatencyLevel, AGVideoEncoderConfiguration } from 'agora-rte-sdk';
3
3
  import { FcrMultiThemeMode } from 'agora-common-libs';
4
4
  import { FcrUISceneWidget } from 'agora-common-libs';
@@ -204,6 +204,20 @@ export declare type LaunchOptions = {
204
204
  * BoardRecordOptions
205
205
  */
206
206
  recordOptions?: BoardWindowAnimationOptions;
207
+ /**
208
+ * RTC 云代理类型
209
+ */
210
+ /** @en
211
+ * Cloud proxy type
212
+ */
213
+ rtcCloudProxyType?: AgoraCloudProxyType;
214
+ /**
215
+ * 是否开启 RTM 云代理
216
+ */
217
+ /** @en
218
+ * Whether to enable RTM cloud proxy
219
+ */
220
+ rtmCloudProxyEnabled?: boolean;
207
221
  };
208
222
  /**
209
223
  * 支持的语言
@@ -9,10 +9,6 @@ import { BeautyFilterOptions, VirtualBackgroundOptions } from '..';
9
9
  */
10
10
  export declare class DeviceSettingUIStore extends EduUIStoreBase {
11
11
  private _defaultBeautyOptions;
12
- private _pretestCameraEnabled;
13
- private _pretestMicEnabled;
14
- setPretestCameraEnabled(enable: boolean): void;
15
- setPretestMicEnabled(enable: boolean): void;
16
12
  private _virtualBackgroundProcessor?;
17
13
  private _beautyEffectProcessor?;
18
14
  private _aiDenoiserProcessor?;
@@ -56,8 +52,6 @@ export declare class DeviceSettingUIStore extends EduUIStoreBase {
56
52
  get beautySmoothValue(): number | undefined;
57
53
  get beautyBrighteningValue(): number | undefined;
58
54
  get beautyBlushValue(): number | undefined;
59
- get pretestCameraEnabled(): boolean;
60
- get pretestMicEnabled(): boolean;
61
55
  get defaultBeautyOptions(): {
62
56
  smooth: number;
63
57
  brightening: number;
@@ -1,10 +1,10 @@
1
1
  import { FcrTheme, FcrUIConfig } from 'agora-common-libs';
2
2
  import { LaunchOptions } from '..';
3
- declare type Config = Partial<Record<'host' | 'ignoreUrlRegionPrefix' | 'logo' | 'shareUrl' | 'uiConfig' | 'theme' | 'recordOptions' | 'defaultEnableDevice', unknown>>;
3
+ declare type Config = Partial<Record<'host' | 'ignoreUrlRegionPrefix' | 'logo' | 'shareUrl' | 'uiConfig' | 'theme' | 'recordOptions' | 'defaultEnableDevice' | 'fastMode', unknown>>;
4
4
  export declare const setLaunchOptions: (launchOptions: LaunchOptions) => void;
5
5
  export declare const getLaunchOptions: () => LaunchOptions;
6
6
  export declare const setConfig: (config: Config) => void;
7
- export declare const getConfig: () => Partial<Record<"theme" | "host" | "ignoreUrlRegionPrefix" | "logo" | "shareUrl" | "uiConfig" | "recordOptions" | "defaultEnableDevice", unknown>>;
7
+ export declare const getConfig: () => Partial<Record<"theme" | "host" | "ignoreUrlRegionPrefix" | "logo" | "shareUrl" | "uiConfig" | "recordOptions" | "defaultEnableDevice" | "fastMode", unknown>>;
8
8
  export declare const getUiConfig: () => FcrUIConfig;
9
9
  export declare const getTheme: () => FcrTheme;
10
10
  export {};
@@ -0,0 +1 @@
1
+ export declare const matchVirtualSoundCardPattern: (deviceName: string) => boolean;