fcr-core
Version:
Core APIs for building online scenes
62 lines (61 loc) • 5.84 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 { WhiteWebSdk, createPlugins } from 'white-web-sdk';
export * as netlessVideoPlugin from '@netless/video-js-plugin';
export { WindowManager } from '@netless/window-manager';
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 { getLogger, createLogger } 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 { 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 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 { AgoraRteMediaStreamInfo } from 'agora-rte-sdk/lib/core/processor/struct';
export type { AgoraRteMonitor } from 'agora-rte-sdk/lib/core/monitor';
export type { AgoraRteMediaControl } from 'agora-rte-sdk/lib/core/media';
export type { AgoraRteUpdateStreamPrivilege } 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, } 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 type FcrImageData = ImageData;
export type FcrWhiteboardView = HTMLElement;
export { getVersion } from './utilities/package-info';