/plushcap/analysis/agora/adding-pubnub-chat-to-an-agora-video-web-app

Adding PubNub Chat to an Agora Video Web App

What's this blog post about?

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.

Company
Agora

Date published
Oct. 29, 2020

Author(s)
Hermes Frangoudis

Word count
1271

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.