@fishjam-cloud/react-client
Version:
React client library for Fishjam
16 lines • 753 B
TypeScript
import { type FishjamClient, type Logger } from "@fishjam-cloud/ts-client";
import type { TrackManager } from "../../types/internal";
import type { BandwidthLimits, PeerStatus, StreamConfig } from "../../types/public";
import type { DeviceManager } from "./devices/useDeviceManager";
interface TrackManagerConfig {
deviceManager: DeviceManager;
tsClient: FishjamClient;
peerStatus: PeerStatus;
bandwidthLimits: BandwidthLimits;
streamConfig?: StreamConfig;
type: "camera" | "microphone";
logger: Logger;
}
export declare const useTrackManager: ({ deviceManager, tsClient, peerStatus, bandwidthLimits, streamConfig, type, logger, }: TrackManagerConfig) => TrackManager;
export {};
//# sourceMappingURL=useTrackManager.d.ts.map