UNPKG

agora-meeting-sdk

Version:

For publishing npm package agora-metting-sdk (Web). Get more information from https://docs.agora.io

32 lines (31 loc) 1.04 kB
import React from 'react'; import { BaseProps } from '../interface/base-props'; import './index.css'; interface DeviceProps { deviceId: string; label: string; } export interface PretestProps extends BaseProps { isMirror?: boolean; cameraList?: DeviceProps[]; cameraId?: string; microphoneList?: DeviceProps[]; microphoneId?: string; speakerList?: DeviceProps[]; speakerId?: string; isNative?: boolean; microphoneVolume?: number; microphoneLevel?: number; speakerTestUrl?: string; speakerVolume?: number; speakerLevel?: number; cameraError?: boolean; microphoneError?: boolean; onSelectMirror?: (isMirror: boolean) => void; onChangeDevice?: (deviceType: string, value: string) => void | Promise<void>; onChangeAudioVolume?: (deviceType: string, value: number) => void; onSelectDevice?: (deviceType: string, value: string) => void | Promise<void>; videoComponent?: React.ReactElement; } export declare const Pretest: React.FC<PretestProps>; export {};