0 purchases
agora token service
Agora Token Service for Dart #
This is an unofficial Dart library for generating Agora.io WebRTC tokens. It is based on Agora's Node.js token service implementation in this repository.
You can use it in your Dart server to create Agora WebRTC access tokens.
Usage #
See example for basic usage.
final token = RtcTokenBuilder.build(
appId: appId,
appCertificate: appCertificate,
channelName: channelName,
uid: uid,
role: role,
expireTimestamp: expireTimestamp,
);
copied to clipboard
Contribution #
This library is currently only used for access token generation, you can contribute here by implementing other features included in Agora's official implementation.
Thanks #
Thanks to Rakesh Kumar Verma for CRC32 implementation.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.