Components
Video

Video Component

You can directly use the Video component from @huddle01/react/components to show video stream. You need to pass the stream prop to the component.

💡

Video component accepts all the props of video tag.

import { Video } from '@huddle01/react/components';
import { useRemoteVideo } from '@huddle01/react/hooks';
 
const App = () => {
  const { stream } = useRemoteVideo();
  return (
    {stream && <Video stream={audioStream} />}
  );
};
 
export default App;
Audio/Video Infrastructure designed for developers to empower them to ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.