Build Your Own Many To Many, Live Video Streaming Using the Agora Web SDK
This tutorial guides developers through creating a live streaming web application using Agora's SDK, supporting multiple hosts and audience members. The prerequisites include basic knowledge of JavaScript, JQuery, Bootstrap, Font Awesome, an Agora developer account, and the Agora Web SDK. The project setup involves creating an HTML structure with necessary UI elements such as video streams, toolbar for audio/video controls, and a way to leave the chat. Custom CSS is then added to match the site with an Agora-based theme. JavaScript functions are used to mute and unmute video and audio, while core structures of JS use the Agora Web SDK to create clients, specify audio and video tracks, set user roles, subscribe and publish streams, and end the stream. The final application can be tested using multiple browser tabs as hosts and audience members. The tutorial also provides GitHub links for the code and a demo in action, along with additional resources such as developer guides, documentation, and community support.
Company
Agora
Date published
June 14, 2021
Author(s)
Agora Superstar
Word count
725
Language
English
Hacker News points
None found.