Files
2021-12-29 01:57:42 -08:00
..
2021-12-29 01:57:42 -08:00
2021-12-29 01:57:42 -08:00
2021-12-29 01:57:42 -08:00

  • RtcTokenBuilder.js: Source code for generating a token for the following SDKs:
    • Agora Native SDK v2.1+

    • Agora Web SDK v2.4+

    • Agora Recording SDK v2.1+

    • Agora RTSA SDK

The Agora RTSA SDK supports joining multiple channels. If you join multiple channels at the same time, then you MUST generate a specific token for each channel you join.

  • RtmTokenBuilder.js: Source code for generating a token for the Agora RTM SDK.
  • AccessToken.js: Implements all the underlying algorithms for generating a token. Both RtcTokenBuilder.js and RtmTokenBuilder.js are a wrapper of AccessToken.js and have much easier-to-use APIs. We recommend using RtcTokenBuilder.js for generating an RTC token or RtmTokenBuilder.js for an RTM token.