@huddle01/react
Version:
The Huddle01 React SDK offers a comprehensive suite of hooks, methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
17 lines (13 loc) • 527 B
TypeScript
import React from 'react';
interface Props$1 {
stream: MediaStream;
}
type HTMLAudioElementWithSetSinkId = HTMLAudioElement & {
setSinkId: (id: string) => void;
};
declare const Audio: React.FC<Props$1 & React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLAudioElementWithSetSinkId>, HTMLAudioElementWithSetSinkId>>;
interface Props {
stream: MediaStream;
}
declare const Video: React.FC<Props & React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>>;
export { Audio, Video };