@huddle01/web-core
Version:
The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
15 lines (12 loc) • 622 B
TypeScript
import { MediaKind } from 'mediasoup-client/lib/RtpParameters';
declare const getMediaStreamKind: (stream: MediaStream) => MediaKind;
declare const getMediaDeviceKind: (track: MediaStreamTrack) => "mic" | "screen" | "cam";
declare const getMediaTrack: (data: {
stream: MediaStream;
kind: MediaKind;
}) => MediaStreamTrack;
declare const estimateSize: (obj: unknown) => number;
declare const isBrowser: () => boolean;
declare const isNode: () => boolean;
declare const isReactNative: () => boolean;
export { estimateSize, getMediaDeviceKind, getMediaStreamKind, getMediaTrack, isBrowser, isNode, isReactNative };