Build a simple real-time messaging demo using Agora Signaling. Two browser sessions should be able to log in, subscribe to the same channel, exchange JSON messages, and show their connection status.
## Setup
- Install Agora Skills:
```bash
npx skills add AgoraIO/skills
```
- Use Agora Skills and follow [official docs](https://docs.agora.io/en/realtime-media/rtm/quickstart).
- Reuse the project's stack.
## Build
- Log in and subscribe to a channel.
- Send and receive JSON messages.
- Handle connection status, errors, and cleanup.
- Keep secrets server-side.
## Verify
- Test messaging between two browser sessions.
- List required configuration and run commands.
- Report untested behavior.Product
Agora Signaling SDK
Synchronize real-time application state with ultra-low-latency signaling across Agora's global real-time network.
Start building
Copy the prompt into your coding agent to get started.
Supported platforms
- Web
- Android
- iOS
- macOS
- Flutter
- React Native
- Windows
- Linux C++
- Linux Java
- Unity
Key Features
Differentiators
Agora Signaling delivers scalable, reliable real-time synchronization for globally distributed applications.
Scale Real-Time Experiences
Support massive real-time applications with billion-scale concurrency at the system level and million-scale concurrency at the channel level, keeping users and experiences synchronized as your application grows.
Keep Users and Application State in Sync
Maintain responsive, reliable experiences with near-100% signal delivery, even under challenging network conditions, while synchronizing messages, presence, metadata, and application state in real time.
Built for Global Real-Time Applications
Reach users across 200+ countries and regions through Agora’s global real-time network, enabling low-latency signaling and state synchronization for distributed users and applications.
What others are building
Agora Signaling keeps users, devices, and shared experiences synchronized across industries.
1 million free messages every month
FAQ
What is Agora Signaling?
Agora Signaling is a managed service and SDK set for low-latency messaging, presence, metadata synchronization, and real-time event notifications. It supports client SDKs and server-side REST APIs.
Which channel type should I use?
Use a message channel for lightweight pub/sub without channel membership. Use a stream channel when you need membership, topics, and subscriptions scoped to specific publishers.
Can I send data from my backend?
Yes. The Signaling REST API can send peer-to-peer and channel messages, retrieve message history, and retrieve user login/logout or channel join/leave events.
How is access secured?
Clients authenticate with tokens. Generate tokens on your application server for production, and use token privileges to control allowed Signaling operations.
Which platforms are supported?
Agora provides Signaling SDK support for Web, Android, iOS, macOS, Flutter, React Native, Windows, Linux C++, Linux Java, and Unity.
How is Signaling usage billed?
Usage is measured by message volume, storage utilization, and peak concurrent users. Feature access and included capacity depend on the selected package; check the current pricing documentation before launch.
Can I use Signaling with Agora RTC?
Yes. Use RTC for real-time audio and video, and Signaling for application data such as presence, invitations, reactions, and shared session state. Check the release notes when integrating both SDKs because some platform versions share native libraries.