Home / Companies / Agora / Blog / Post Details
Content Deep Dive

Adding PubNub Chat to an Agora Video Web App

Blog post from Agora

Post Details
Company
Date Published
Author
Hermes Frangoudis
Word Count
1,271
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

This tutorial demonstrates how to integrate the PubNub Web SDK with an existing web app that uses the Agora Web SDK for voice and video communication, adding text-based chat functionality. The project setup involves using a code base from a previous tutorial on building a group video chat web app. The build phase covers modifying the input form to add inputs for PubNub keys, adding the chat UI, integrating a PubNub client, connecting the PubNub client to a channel, and sending/receiving messages in the channel. Keyboard shortcuts are disabled when the chat window is visible, and testing can be done locally or via Ngrok for remote testing. The complete code is available on GitHub.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 818 271 91 +9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.