lizhen_gitee 6a2c8af5b6 伴声github下载的sdk 1 éve
..
AccessToken2Sample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
ChatTokenBuilder2Sample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
EducationTokenBuilderSample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
FpaTokenBuilderSample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
README.md 6a2c8af5b6 伴声github下载的sdk 1 éve
RtcTokenBuilder2Sample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
RtcTokenBuilderSample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
RtmTokenBuilder2Sample.php 6a2c8af5b6 伴声github下载的sdk 1 éve
RtmTokenBuilderSample.php 6a2c8af5b6 伴声github下载的sdk 1 éve

README.md

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