Components
Audio

Audio Component

You can directly use Audio component from @huddle01/react/components to play audio stream. You need to pass stream as a prop. It will automatically play the stream.

💡

Audio component accepts all the props of audio tag.

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