Skip to main content

Server API Overview

RC provides a set of server APIs and multiple server callbacks for real-time audio/video products (e.g., RTC calls, meetings, and low-latency live streaming), working alongside client SDK features to deliver comprehensive business solutions.

Feature Overview

Server APIs offer the following core functionalities:

  1. User onboarding for RC services
    Your application server must call the User Registration API to exchange user IDs for Tokens. Clients require valid Tokens to connect to RC servers. See User Registration.

  2. Advanced capabilities (optional based on business needs):

  3. Audio/Video callbacks:

Important Notes

Critical
  • The User Registration API is mandatory—without it, RC cannot serve your app users.
  • Never call Server APIs directly from client-side. Always route through your application server to prevent App Secret leaks.
  • Avoid KeepAlive for API calls. If necessary:
    • Set idle timeout <55 seconds per connection.
    • Recycle connections after 80 reuses.
      Pro tip: Rotate connections after 55s idle or 80 reuses to maintain load balancing.