@fishjam-cloud/react-client
Version:
React client library for Fishjam
15 lines • 712 B
TypeScript
import { type FishjamClient } 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";
}
export declare const useTrackManager: ({ deviceManager, tsClient, peerStatus, bandwidthLimits, streamConfig, type, }: TrackManagerConfig) => TrackManager;
export {};
//# sourceMappingURL=useTrackManager.d.ts.map