Huddle01 Core SDK

People-powered
Communication
Core SDK
The Huddle01 Vanilla JS SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
Installing the packages:
You can install the Huddle01 Vanilla JS SDK packages in two ways:
-
using the script tag: Add the following code snippet to the head of your HTML file: Replace with our CDN
<script src="https://unpkg.com/@huddle01/web-core@umd/dist/index.global.js"></script>
<script>
let client;
const init = async () => {
client = new HuddleWebCore.HuddleClient({
projectId: "YOUR_PROJECT_ID",
options: {
activeSpeakers: {
size: 10,
},
},
});
const room = await client.joinRoom({
roomId: "YOUR_ROOM_ID",
token: "YOUR_ACCESS_TOKEN",
});
};
</script>
-
using npm (or pnpm/bun): Run the following command in your terminal to install the package:
npm install @huddle01/web-core
For more information head to https://huddle01.com/docs
💡 For any help reach out to us on
Discord