A Developer’s Intro to Huddle01 SDK and Ideas to Build.
By Mfoniso Vel.
Abstract
In an era defined by digital connectivity, the Huddle01 SDK emerges as a transformative force, empowering developers to create immersive and collaborative audio/video applications. This comprehensive guide navigates the intricate landscape of the Huddle01 SDK, offering insights and resources for beginners and experts alike.From its core functionalities of real-time communication to its robust offerings in collaboration, customization, security, and compliance, the Huddle01 SDK presents a versatile toolkit for developers to craft solutions tailored to diverse needs. the Huddle01 SDK ecosystem fosters innovation and collaboration at every turn.Drawing inspiration from use cases spanning remote collaboration, education, healthcare, and beyond, developers are encouraged to explore the boundless potential of the Huddle01 SDK. As we delve into the depths of this transformative technology, one thing becomes evident: the future of audio/video app development is here, and it’s powered by Huddle01 SDK.
Table of content
- Introduction
- What is Huddle01’s SDK?
- Other things to do with the Huddle01 SDK.
- Understanding Huddle01 SDK.
- Getting Started with Huddle01 SDK.
- Infrastructure Improvements on the Huddle01 SDK V2.
- improvements the Huddle01 SDK v2 provides.
- Huddle01 SDK V2 Client Improvements:
- Core Functionalities and Features.
- Developer Resources.
- Popular apps and projects built with Huddle01 across the world.
- unique and impactful ideas for building with Huddle01 SDK.
- The Next Phase of Huddle01: Roadmap to People-powered Communication.
- Conclusion.
- References.
Introduction.
Huddle01 Founded in 2020, by Ayush Ranjan and Susmit Lavania , The Huddle01 SDK – a groundbreaking toolkit that redefines the landscape of RTC(real-time communication) which Enables developers to build high quality audio/video applications in minutes. Huddle01 SDK has been on a mission to democratize digital connectivity, empowering developers to create next-generation audio/video applications that transcend traditional boundaries. The Huddle01 SDK offers a rich tapestry of functionalities and offerings to suit every developer’s needs in building interactive audio/video applications, focused on data privacy, quality and community-driven scalability. Huddle01 SDK aims to provide a seamless, user friendly experience that rivals traditional centralize real-time platforms like zoom, agora, goggle meet but with added benefits of decentralization. In this introductory exploration, we embark on a journey into the realm of Huddle01 SDK, uncovering its core functionalities, offerings, and the myriad possibilities it unlocks for developers. Whether you’re a novice eager to embark on your first development project or a seasoned expert looking to push the boundaries of collaborative technology, the Huddle01 SDK offers a wealth of opportunities to innovate and thrive. So, fasten your seatbelts as we delve into the world of Huddle01 SDK and discover the future of audio/video app development.
Huddle01 2-sided marketplace of bandwidth:
supply and demand, Huddle01 has taken a product-first approach:
Demand:
Huddle01 Platform (real-time video & audio application) & audio/video SDK (agora’s alternative) - 3M+ minutes of meeting, 35K+ users.
Supply:
Huddle01 Node Operators supplying bandwidth - providing minutes - 1K+ waitlist on the nodes
This 2-sided marketplace will be coordinated and governed by our token ($HUDL).
What is Huddle01’s SDK?
Huddle01 SDK is a highly scalable, secure and private WebRTC infrastructure that can be used to supercharge web and mobile applications with high-quality audio/video experiences.
- Video SDK: Effortlessly integrate live video chat into your applications with a simple plug-in.
- Audio SDK: Enable audio-only experiences like Clubhouse or Twitter Spaces.
Huddle01 SDK allows developers to build on top of huddle01 SDK base infrastructure and opens unlimited opportunities for immersive experiences.
Other things to do with the Huddle01 SDK?
Apart from Audio Rooms, the Huddle01 SDK can be used to power Live Video Meets, 1:1 or group calling. You can even add the token-gating function to your spaces or video meets and have ticketed events, for more exclusivity, security and monetization opportunities.
Understanding Huddle01 SDK.
The Huddle01 SDK empowers developers to integrate real-time audio and video communication capabilities into their applications, leveraging decentralized infrastructure to democratize digital connectivity. Use Cases Include:
- Collaborations toolings .
- Events platforms.
- Health care.
- Virtual education.
- Gaming.
- Metaverse.
- Live video marketplace and much more.
Getting Started with Huddle01 SDK.
As a developer Before using the Huddle01 SDK, you must have Node.js installed on your machine. After that you follow the step by step guide using different programming languages.
- Below is the step by step guide on installing Huddle01 SDK on JavaScript, React, Flutter and React Native.
1. Huddle01 Javascript SDK:
The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required. JavaScript SDK upgraded to V2, To quickly get started with using Javascript SDK in your project starting from the installation, using the script tag (IIFE/UMD), Using npm or any other package manager (ESM/CommonJS) and even using client to access methods. Follow the comprehensive guide to Install Huddle01 SDK using Vanilla JavaScript .
1. QUICKSTART:
The link below provides a brief overview on how
to quickly get started with using the Huddle01
Vanilla Js SDK.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Javascript/quickstart
2. WALKTHROUGH:
The link below provides a step by step guide to
building a simple Huddle01-based video conferencing
app in a Vanilla Javascrpit project
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Javascript/walkthrough
3. START FROM AND EXAMPLE:
the link below provides instruction on how to clone
and run a simple Huddle01 app in a vanilla javascript
project.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Javascript/example
4. METHODS:
the link below provide and overview of the available
methods in the vanilla javascript SDK that can be used
to create custom functionality.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Javascript/methods
2. Huddle01 React SDK:
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.
1. QUICKSTART:
The link below provides a brief overview on how
to quickly get started with using the Huddle01
React SDK.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React/quickstart
2. WALKTHROUGH:
The link below provides a step by step guide to
building a simple Huddle01-based video conferencing
app in a React project
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React/react-walkthrough
3. START FROM AND EXAMPLE:
the link below provides instruction on how to clone
and run a simple Huddle01 app in a React project.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React/example
4. HOOKS:
the link below provide and overview of the available
methods in the Raect SDK that can be used to create
custom functionality.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React/hooks
3. Huddle01 Flutter SDK:
this guide explains how you can integrate audio/video into your Flutter mobile-app seamlessly using the Huddle01 Flutter SDK.
1. QUICKSTART:
The link below provides a brief overview on how
to quickly get started with using the Huddle01
Flutter SDK.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Flutter/quickstart
2. WALKTHROUGH:
The link below provides a step by step guide to
building a simple Huddle01-based video conferencing
app in a Flutter project
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Flutter/walkthrough
3. START FROM AND EXAMPLE:
the link below provides instruction on how to clone
and run a simple Huddle01 app in a Flutter project.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Flutter/example
4. METHODS:
the link below provide and overview of the available
methods in the Flutter SDK that can be used to create
custom functionality.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/Flutter/methods
4.Huddle01 React SDK for React Native Applications:
The Huddle01 React SDK can also be used in React Native mobile applications with minimal extra configuration. It offers a comprehensive suite of hooks, methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
1. QUICKSTART:
The link below provides a brief overview on how
to quickly get started with using the Huddle01
React-native SDK.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React-native/quickstart
2. WALKTHROUGH:
The link below provides a step by step guide to
building a simple Huddle01-based video conferencing
app in a React-native project
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React-native/walkthrough
3. START FROM AND EXAMPLE:
the link below provides instruction on how to clone
and run a simple Huddle01 app in a React-native project.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React-native/example
4. HOOKS:
the link below provide and overview of the available
methods in the React-native SDK that can be used to create
custom functionality.
VISIT THE LINK BELOW;
https://docs.huddle01.com/docs/React-native/hooks
5. Server SDK:
The Huddle01 Server SDK allows you to perform protected admin actions on your server side, like generating peer access tokens and starting and stopping meeting recordings and livestreams.
Infrastructure Improvements on the Huddle01 SDK V2:
1. Transition to uWebSockets for Improved Performance & Reliability:
Previously, when using socket.io with huddle01 SDK, we faced noticeable delays and lag in WebSocket connection creation. The library struggled with managing reconnections and maintaining connection states, often losing metadata during reconnection attempts, especially on weak network signals. Although socket.io automatically switched to HTTP long polling in such situations, it failed to upgrade back to WebSocket, resulting in higher latency and server strain. The SDK’s limited control over reconnections and state management prompted us to seek alternative low-level WebSocket servers for better control over the entire lifecycle of the WebSocket.
2. Global Region Aware Distribution with Zero Downtime Upgrades:
The RTC(real-time communication) Infrastructure has undergone significant changes to enhance its global distribution and scalability. It is now deployed across multiple geographical regions, ensuring optimal connectivity and performance for rooms.
We have also implemented mechanisms for Zero Downtime Upgrades to the infrastructure. This allows for new performance and security updates to be pushed to the infrastructure without ever affecting the user’s experience.
3. Multi Region Cascading:
Previously, Rooms were limited to one mediaserver, with its location determined by the first peer to join the meeting. This setup was efficient when participants were from the same region.
Previously, when people from distant places joined a meeting, they faced delays and used up more internet data, which made the meeting quality worse. To fix this, we introduced Multi-Region Cascading. This clever system spreads the meeting across many servers in different places. It connects each person to the nearest server, which makes the meeting smoother, improves the audio and video quality, and uses less internet data.
This improvement not only made our users' experience better but also let us expand our meetings more easily. Now, we can handle more people in the same meeting by spreading it across many servers in different places.
improvements the Huddle01 SDK v2 provides:
- Global coverage
- Higher scale
- Smoother reconnection
- Zero-downtime deployments
- Improved developer experience
Huddle01 SDK V2 Client Improvements:
After huddle01 SDK v2 has been available to our community for the past 1.5 years, huddle01 SDK V2 have received a lot of feedback regarding improving the developer experience, ease of integration, and numerous feature requests. With Huddle01’s SDK v2, aim is to address this feedback and make improvements accordingly.
- Huddle01 SDK V2 performed a major internal code cleanup on the client-side SDKs, which involved eliminating the use of third party state management. In version 1, we relied on XState for this. Now, huddle01 SDK V2 utilise simple event listeners and use that to handle local states internally to ensure reactivity in the SDK.
- Huddle01 SDK V2 transitioned from using JSON to Protocol Buffers to reduce the size of message payloads for interactions between the client and server. This change also allowed huddle01 SDK V2 to maintain consistent schema and cross-compatibility across all current and upcoming clients like (Flutter on Dart) due to automatic type generation with Proto files.
- Recording and live-streaming can now be initiated with a single API call on huddle01 SDK V2.
- Huddle01 SDK V2 introduced Functions and Hooks to provide more precise control over media source selection. i.e. Introduced the concept of Remote & LocalPeer to cater to simpler developer experience while allowing developers to have granular control over each stream from every peer.
- Huddle01 SDK V2 removed the Lobby concept in favour of a simpler and seamless joining flow.
- AccessTokens for Peers were added to allow developers to have granular permission control. This enables developers to incorporate custom business logic and implement first-class authentication control using any server-side authentication method.
- Custom Metadata is now available for the Room , individual Peers and their media streams, enabling more creative and custom use cases such as MetaVerse and Webinars.
There are several neat changes included in the SDK v2 Docs. Huddle01 SDK V2 main objective was to enhance the SDK’s reliability, ease of integration, and scalability. Huddle01 SDK V2 put great emphasis on making it more robust and capable of handling large-scale communication needs. At the same time, huddle01 SDK V2 wanted to ensure that the SDK remains flexible and adaptable to accommodate innovative and non-traditional use cases in Real Time Communication.
Core Functionalities and Features.
- Real-time Audio/Video Communication:Â The SDK enables developers to incorporate live audio/video calling capabilities into their applications, allowing users to connect and communicate in real-time.
- Scalability and Reliability:Â With infrastructure enhancements and global region-aware distribution, Huddle01 SDK ensures optimal connectivity and performance, even under high traffic conditions.
- Developer-Friendly Features:Â From simplified event handling to access control and custom metadata support, the SDK offers a range of features designed to streamline the development process and enhance the developer experience.
- Security and Privacy:Â Huddle01 SDK prioritizes the security and privacy of user data, with end-to-end encryption and robust authentication mechanisms to ensure secure communication.
- End-to-End Encryption:Â Ensuring the privacy and security of communication channels, preventing unauthorized access to sensitive data.
- Customization:Â Allowing developers to tailor the user experience according to specific requirements, with options for branding, user interface customization, and more.
- Cross-Platform Compatibility:Â Supporting multiple platforms and devices, including web browsers, mobile applications, and desktop clients, ensuring broad accessibility for users.
Developer Resources.
- Developers can find every Documentation there need to build high-quality live audio and video experiences at one place. Scalable and customizable - SDKs are built for both web and mobile applications.
Visit the link below for every Documentation.
https://docs.huddle01.com/docs
For developers who have already built on top of our v2 SDKs, here is the migration guide:
https://docs.huddle01.com/docs/migration
Get API:
- Developers can Connect thier ethereum wallet to get access to the Huddle01 API Key, which will be used to authorize them to access Huddle01 infrastructure.
Visit the link below to get API
https://docs.huddle01.com/docs/api-keys
Sample App:
- Developers can get Straight-forward guides and walkthroughs to help you get started with building immersive and powerful audio/video experiences.
Visit the link below for a comprehensive guide to get started.
https://docs.huddle01.com/docs/guides
As a Developer By participating in Huddle01’s decentralized real-time communication (dRTC) network, you’re enabling uninterrupted digital connectivity between users, making collaboration even across the remotest corners possible whilst also supporting upcoming innovations.
Popular apps and projects built with Huddle01 across the world.
Meet With Wallet
Meeting Scheduler for Web3. Schedule meetings with your friends and colleagues using your wallet address.
Buttrfly
A Web3 Social Explorer build on lens protocol. You can experience audio spaces built with Huddle01 SDK.
Ethermail
EtherMail is the first email solution setting the standard for anonymous and encrypted wallet-to-wallet communication.
Soclly
A creator-centric community-focused decentralized social network.
SyncX
SyncX is a tool that enables you to connect with your audience through 1:1 sessions.
Pixelmen
A pixelated retro world where you can communicate with each other with spatial audio.
Peer Code
A Remote developer collaboration platform.
Studio 01
Record studio quality podcasts and stream it live.
Blinkr
Randomly connect with people with same NFTs.
unique and impactful ideas for building with Huddle01 SDK:
1. Global Cultural Exchange Platform:
- Idea: Create a virtual platform that connects people from diverse cultures worldwide for interactive cultural exchange experiences. Utilizing the Huddle01 SDK, users can participate in real-time language exchanges, cultural workshops, virtual tours of historical landmarks, and live performances.
- Impact: Promotes cultural understanding, fosters connections between people from different backgrounds, and facilitates cross-cultural learning and appreciation.
2. Decentralized Telestudio Platform:
- Idea: Develop a virtual music collaboration studio where musicians from around the globe can collaborate on music projects in real-time. Using the Huddle01 SDK, users can jam together, share musical ideas, record tracks, and produce music remotely.
- Impact: Improves access to mental health services, reduces stigma associated with seeking therapy, and provides a safe and convenient platform for individuals to prioritize their mental well-being.
3. Cosmic Care Telehealth Platform:
- Idea: Create a revolutionary telehealth platform, Cosmic Care, that transcends physical boundaries and connects patients with healthcare providers from anywhere in the universe. Leveraging the Huddle01 SDK, Cosmic Care offers a seamless and secure way for patients to consult with doctors, specialists, and holistic healers without leaving their homes.
Functionality:
a. Virtual Consultations: Patients can schedule appointments and conduct virtual consultations with healthcare providers in real-time. Through Cosmic Care’s intuitive interface powered by Huddle01 SDK, patients can easily connect with their chosen healthcare professionals via high-quality audio and video calls.
b. Medical Records Integration: Cosmic Care integrates with patients' electronic health records (EHR) systems to provide healthcare providers with access to comprehensive patient information during consultations. This ensures continuity of care and enables providers to make informed decisions remotely.
c. Remote Monitoring: For ongoing health management, Cosmic Care offers remote monitoring capabilities using connected devices such as wearables and home health kits. Patients can transmit vital signs and health data securely to their healthcare providers, who can then monitor their progress and provide personalized guidance.
d. Prescription Management: Through Cosmic Care, healthcare providers can electronically prescribe medications and treatments to patients, which can be conveniently fulfilled by partnering pharmacies or delivered directly to patients' homes. This streamlines the prescription process and enhances medication adherence.
e. Holistic Healing Services: In addition to traditional medical consultations, Cosmic Care offers access to holistic healing services such as acupuncture, meditation sessions, and energy healing. Patients can explore alternative therapies and receive personalized wellness recommendations from certified practitioners.
Impact:
- Accessibility: Cosmic Care eliminates geographical barriers to healthcare access, ensuring that patients in remote or underserved areas can receive timely medical care.
- Convenience: By enabling virtual consultations from home, Cosmic Care saves patients time and eliminates the need for travel, waiting rooms, and other logistical challenges associated with in-person appointments.
- Patient Empowerment: Patients have greater control over their healthcare journey, with access to a diverse network of healthcare providers and holistic healers to address their unique needs and preferences.
4. Galactic Trade Hub:
- Idea: Develop a decentralized marketplace that connects traders and merchants from different galaxies to exchange goods, services, and knowledge. Utilizing the Huddle01 SDK, users can engage in intergalactic commerce, bartering, and collaboration to fuel economic prosperity and cultural exchange.
- Impact: Facilitates cross-galactic trade and cooperation, stimulates economic growth and innovation, and fosters a sense of unity and interdependence among galactic civilizations.
5. Interstellar Innovation Hub:
- Idea: Establish an interstellar innovation hub where visionaries, inventors, and pioneers from different galaxies converge to catalyze groundbreaking technological advancements and scientific discoveries. With the Huddle01 SDK, collaborators can exchange ideas, prototype solutions, and embark on intergalactic quests to push the boundaries of knowledge and exploration.
- Impact: Ignites a renaissance of innovation and discovery, accelerates the pace of scientific progress and technological evolution, and propels civilization towards new frontiers of exploration and understanding.
The Next Phase of Huddle01: Roadmap to People-powered Communication.
The decentralized people-powered communication network is designed to provide ultra-low latency, enhanced data privacy and upto 95% cost savings on data transfer & compute.
In 2020, Huddle01 set on a journey to democratize WebRTC that would enable more open, censorship-resistant, private, and secure communication across borders, devices, identities, and users.
In the last 3 years, Huddle01 have come a long way. Huddle01 started with the demand-first approach, served 2M+ audio/video minutes to over 30K users [just in 2023] across multiple apps, platforms and networks leveraging our infrastructure.
In 2023, Huddle01 launched our Infrastructure - “SDKs & APIs” which can enable audio/video capabilities for any application [from socials to gaming to live video commerce] and users. This marked the completion of our Phase 2 where Huddle01 transitioned from Platform → Infrastructure layer. Huddle01 took demand-first approach and have been able to establish a recurring demand of minutes on our Network across different domains like ed-tech, socials, productivity & collaborative toolings, and others.
Now is the time to switch the gears, and get focused on how Huddle01 launch their DePIN for RTC [dRTC network] and hand over the power of supplying RTC minutes to the Node operators, and get closer to our mission of creating a “People-powered Communication Network”.
For 2024, Huddle01 have one clear mission: Launching HUDDLE01 DePIN for RTC [dRTC Network] & Protocol which will enable open, secure, private, and immersive communication for everyone.
Huddle01 mission is an ambitious one, and it isn’t the kind which can be achieved in one go. It will be a journey of progressive decentralization, with a phase-wise unveiling of our Network & Protocol.
Conclusion.
The Huddle01 SDK offers a powerful toolkit for developers to create innovative audio and video applications, leveraging decentralized infrastructure to enable seamless digital connectivity. With comprehensive documentation, sample apps, developer videos, and code snippets at your disposal, integrating the Huddle01 SDK into your applications has never been easier. So, dive in, explore the possibilities, and unlock the full potential of Huddle01 SDK to build the next generation of audio and video experiences.
REFERENCES.
https://www.huddle01.com
https://www.legacy.docs.huddle01Â SDK.com
https://www.doc.huddle01.com