UNPKG

fcr-core

Version:

Core APIs for building online scenes

28 lines (27 loc) 1.61 kB
import { FcrStreamJoinConfig } from "../type"; export declare const getStreamJoinConfig: (stream?: FcrStreamJoinConfig) => { videoSourceUuid: string | undefined; audioSourceUuid: string | undefined; videoEncoderConfig?: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcVideoEncoderConfiguration; videoSourceId?: string; audioSourceId?: string; streamName?: string; streamType?: import("agora-rte-sdk/lib/core/scene/type").AgoraRteMediaStreamType | undefined; videoSourceType?: import("agora-rte-sdk/lib/type").AgoraRteVideoSourceType | undefined; audioSourceType?: import("agora-rte-sdk/lib/type").AgoraRteAudioSourceType | undefined; audioSourceState?: import("agora-rte-sdk/lib/type").AgoraRteMediaSourceState; videoSourceState?: import("agora-rte-sdk/lib/type").AgoraRteMediaSourceState; }; export declare const getStreamsJoinConfig: (streams?: FcrStreamJoinConfig[]) => { videoSourceUuid: string | undefined; audioSourceUuid: string | undefined; videoEncoderConfig?: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcVideoEncoderConfiguration; videoSourceId?: string; audioSourceId?: string; streamName?: string; streamType: import("agora-rte-sdk/lib/core/scene/type").AgoraRteMediaStreamType; videoSourceType: import("agora-rte-sdk/lib/type").AgoraRteVideoSourceType; audioSourceType: import("agora-rte-sdk/lib/type").AgoraRteAudioSourceType; audioSourceState?: import("agora-rte-sdk/lib/type").AgoraRteMediaSourceState; videoSourceState?: import("agora-rte-sdk/lib/type").AgoraRteMediaSourceState; }[] | undefined;