You can use the Agora RTM (Real-time Messaging) SDK to create a stable messaging mechanism for real-time messaging scenarios that require low latency and high concurrency for a global audience.

Functions

The Agora RTM SDK enables the following functions:

  • Send and receive (offline) peer-to-peer messages.
  • Send and receive channel messages.
  • Get the member list of the channel.
  • Create, send, cancel, accept, or decline a call invitation.
  • Set, update, or get a user's attributes.
  • Set, update, or get attributes of a specified channel.
  • Get the latest member count of specified channel(s).
  • Subscribe to or unsubscribe from the online status of the specified user(s).
  • Get a list of the peers, to whose specific status you have subscribed.
  • Interconnect with the legacy Agora Signaling SDK.

Applications

You can use the Agora RTM SDK for the following scenarios:

Industry Application
Live Broadcast
  • Commentaries
  • Chatrooms
  • Send gifts
  • Likes
  • Maintenance of the chat room status (e.g., number of the channel members)
  • Privilege management (e.g., remove or mute a specified user)
  • Social Network
  • Private chat messages
  • Group messages
  • Voice/Video call invitation commands
  • Education
  • Class group messages
  • Private chat messages
  • Whiteboard
  • Privilege management (e.g., awards, presenting, hands up or likes)
  • IoT Control messages

    Features

    The Agora RTM SDK provides the following features:

    Feature Description
    High concurrency Supports sending up to a million channel messages simultaneously. Can cope with the high concurrency scenarios, such as in an online quiz.
    High reliability Service availability at 99.999%
    Low latency We have data centers distributed worldwide.
  • The average inter-continental latency is less than 200 ms.
  • The average intra-continental latency is less than 100 ms.
  • Compatibility Supports the following platforms:
  • iOS, Android (arm64, armv7, x86), macOS, Windows, and Linux
  • Web: Chrome 49+, Firefox 52+, Safari 9+、Internet Explorer 11+
  • Java server and C++ server
  • RTM vs. Signaling

    The Agora RTM SDK is designed to replace the legacy Agora Signaling SDK with expanded capabilities.

    Maintenance of the legacy Agora Signaling SDK ends Q4 2019.