fcr-core
Version:
Core APIs for building online scenes
69 lines (68 loc) • 6.46 kB
TypeScript
export { md5 } from 'js-md5';
import to from 'await-to-js';
import get from 'lodash/get';
import padStart from 'lodash/padStart';
import padEnd from 'lodash/padEnd';
import toLower from 'lodash/toLower';
import { default as EasemobChatSDK } from 'easemob-websdk';
import { FcrVideoEncoderConfigurationSchema, FcrMediaStreamCreateConfigSchema, FcrStreamBindConfigSchema } from './schema';
export { to, get, padStart, padEnd, toLower, EasemobChatSDK };
export { EasemobChat } from 'easemob-websdk';
export { RTMProvider_2_2 as FcrRTMProvider_2_2 } from '@netless/forge-rtm';
export { Room as FcrRoom } from '@netless/forge-room';
export { WhiteboardApplication as FcrWhiteboardApplication } from '@netless/forge-whiteboard';
export type { ApplicationInstanceType as FcrApplicationInstanceType } from '@netless/forge-room';
export type { Whiteboard as FcrWhiteboard, WhiteboardToolType as FcrWhiteboardToolType, } from '@netless/forge-whiteboard';
export { WhiteboardPermissionFlag as FcrWhiteboardPermissionFlag } from '@netless/forge-whiteboard';
export type { JoinRoomOptions as FcrJoinRoomOptions } from '@netless/forge-room';
export { getLogger, createLogger } from 'agora-foundation/lib/logger';
export type { Logger } from 'agora-foundation/lib/logger';
export { serializeArgs } from 'agora-foundation/lib/decorator/log/log-serializer';
export { AgoraObservable } from 'agora-foundation/lib/utilities/observable';
export { retryAttempt } from 'agora-foundation/lib/utilities/async-retry';
export { getPlatform, FcrApplicationPlatform } from 'agora-foundation/lib/utilities/env';
export { Duration } from 'agora-foundation/lib/schedule/scheduler';
export { trace, bound } from 'agora-foundation/lib/decorator';
export { AgoraScheduler, ActionWhenTaskFail } from 'agora-foundation/lib/schedule';
export { sleep, jsonstring, randomString } from 'agora-foundation/lib/utilities/misc';
export { z, ZodError, anySchema, booleanSchema, numberSchema, stringSchema, fcrRenderViewSchema, unknownSchema, objectSchema, createRecordSchemaWithKey, createUnionSchema, createArraySchema, } from 'agora-foundation/lib/utilities/schema';
export { validateParams } from 'agora-foundation/lib/decorator/validate';
export { Mutex } from 'agora-foundation/lib/worker/mutex';
export type { AgoraRtcNetworkStats, AgoraRtcDeviceInfo, AgoraRtcDisplayInfo, AgoraRtcWindowInfo, AgoraRtePerformanceInfo, AgoraRteScenePropertiesDeletedEvent, AgoraRteStreamEncryptionConfig, AgoraRteStreamJoinConfig, AgoraRteDualVideoStreamConfig, AgoraRteMessage, AgoraRteScenePropertiesUpdatedEvent, AgoraRteRenderView, AgoraRteScene, } from 'agora-rte-sdk';
export type { AgoraRtmClient } from 'agora-rte-sdk/lib/core/rtm/client';
export type { AgoraRteEngineObserver } from 'agora-rte-sdk/lib/type';
export type { AgoraRteNetworkQualityEvent } from 'agora-rte-sdk/lib/core/scene/type';
export type { AgoraRteOperatCause } from 'agora-rte-sdk/lib/core/processor/type';
export type { AgoraRestfulClient } from 'agora-rte-sdk/lib/core/services/client';
export { AgoraRteError } from 'agora-rte-sdk/lib/core/utilities/error';
export { AgoraError as FcrError } from 'agora-foundation/lib/utilities/agora-error';
export type { AgoraRteUserUpdatedReason as FcrUserUpdatedReason, AgoraRteUserPageParams, AgoraRteUserPageResponse, AgoraRteUserPropertiesDeletedEvent, AgoraRteUserPropertiesUpdatedEvent, AgoraRteUserInfo, AgoraRteSceneObserver, AgoraRteSnapshotInfo, AgoraRteEntryRoomResponse, AgoraRteMediaStreamEvent, } from 'agora-rte-sdk/lib/core/scene/type';
export type AgoraRteMediaStreamCreateConfig = FcrMediaStreamCreateConfigSchema;
export type AgoraRteStreamBindConfig = FcrStreamBindConfigSchema;
export type AgoraRteVideoEncoderConfig = FcrVideoEncoderConfigurationSchema;
export type { AgoraRtcLocalVideoStats, AgoraRtcLocalAudioStats, AgoraRtcRemoteVideoStats, AgoraRtcRemoteAudioStats, AgoraRtcDimensions, } from 'agora-rte-sdk/lib/core/rtc/type';
export type { AgoraRteAudioRawDataConfig, AgoraRteBeautyOptions, AgoraRteCameraPosition, AgoraRteScreenCaptureParams, AgoraRteVirtualBackgroundOptions, AgoraRteCameraCaptureParams, } from 'agora-rte-sdk/lib/core/media/type';
export type { AgoraRteMonitor } from 'agora-rte-sdk/lib/core/monitor';
export type { AgoraRteMediaControl } from 'agora-rte-sdk/lib/core/media';
export type { AgoraRteUpdateStreamPrivilege, AgoraRteMediaStreamInfo, } from 'agora-rte-sdk/lib/core/scene/type';
export { AgoraRteConnectionState, AgoraRteEngine, convertStreamTypeToPublishState, AgoraRteLatencyLevel, } from 'agora-rte-sdk';
export { AgoraRteRoomConnectorType, AgoraRteStreamPrivilegeOperation, AgoraRteStreamPrivilegeVideoSourceType, AgoraRteStreamPrivilegeAudioSourceType, AgoraRteMediaStreamType, } from 'agora-rte-sdk/lib/core/scene/type';
export { AgoraRtcRegion, AgoraRtcVideoSourceType, AgoraRtcAudioSourceType, AgoraRtcMediaSourceState, AgoraRtcRenderMode, AgoraRtcVideoStreamType, AgoraRtcCapability, AgoraRtcAiDenoiseLevel, AgoraRtcAudioOutputRouting, AgoraRtcLatencyLevelType, AgoraRtcEncryptionMode, } from 'agora-rte-sdk/lib/core/rtc/type';
export { AgoraRtmRegion } from 'agora-rte-sdk/lib/core/rtm/type';
export { AgoraRteRegion, AgoraRteAudioSourceType, AgoraRteVideoSourceType, AgoraRteMediaPublishState, AgoraRteScreenScenarioType as FcrScreenScenarioType, AgoraRteMediaSourceState, } from 'agora-rte-sdk/lib/type';
export { AgoraRestfulClientError } from 'agora-rte-sdk/lib/core/services/client';
export { getSharedDomainHolder } from 'agora-rte-sdk/lib/core/services/domain-holder';
export { AgoraRteScreenCaptureType, AgoraRteVideoOrientation, } from 'agora-rte-sdk/lib/core/media/type';
export { registerPlugin } from 'agora-rte-sdk/lib/core/engine/plugin';
export { AgoraRteUserUpdatedReason } from 'agora-rte-sdk/lib/core/scene/type';
export type { AgoraRteUploadEvent } from 'agora-rte-sdk/lib/core/monitor/type';
export { FcrCoreEngine } from './engine';
export { FcrWhiteboardControlFactoryImpl } from './room-control/whiteboard-control-v2/whiteboard-control/factory';
export { FcrAnnotationControlFactoryImpl } from './room-control/whiteboard-control-v2/annotation-control/factory';
export { deCompressGzipToJson } from './room-control/stt-control/de-compress-gzip';
export type FcrImageData = ImageData;
export type FcrWhiteboardView = HTMLElement;
export { getVersion } from './utilities/package-info';
export declare const localStorage: Storage;
export { v4 } from 'uuid';
export { default as merge } from 'lodash/merge';