
npm install axit-react!https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg
Web3-Native Zoom for Builders/DAOs/NFT Communities
> _NOTE:_ Request for access to the huddle01-client pkg on Huddle01's discord or reach out to the team.
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.
Before using the React SDK, you must have Node.js installed on your machine. You can install Node.js using one of the following methods:
- Install Node.js with NVM by following the instructions on this GitHub page
- Install Node.js with FNM by following the instructions on this GitHub page
- Download Node.js from the official website
> _Pro Tip :_ Use NVM or FNM to install Node.js as they help in version management
> and easy updation
After installing Node.js, verify it's installed by running the following command in your terminal:
``jsx`
node --version
To get started with the Huddle01 React SDK, you can install the package using npm or pnpm or yarn:
`bash`
npm install @huddle01/react
After installing the package, you can initialize the SDK by using the useHuddle01 hook:
`jsx
import { useHuddle01 } from '@huddle01/react';
function App() {
const { initialize } = useHuddle01();
initialize('YOUR_PROJECT_ID');
}
`
- initialize()
- isInitialized
$3- joinLobby(roomId: string) | $3- joinRoom() |
$3- fetchAudioStream() | $3- fetchVideoStream() | $3- peerIds[] |
$3- startRecording() | $3- startLivestream() |
💡 For more information head to https://huddle01.com/docs
💡 For any help reach out to us on
Discord