agora_token_service 0.1.1 copy "agora_token_service: ^0.1.1" to clipboard
agora_token_service: ^0.1.1 copied to clipboard

outdated

Unofficial Dart library for generating Agora.io WebRTC tokens.

Agora Token Service for Dart #

pub github buy me a coffee

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 #

Check example for basic usage.

final token = RtcTokenBuilder.build(
  appId: appId,
  appCertificate: appCertificate,
  channelName: channelName,
  uid: uid,
  role: role,
  expireTimestamp: expireTimestamp,
);

Contribution #

This library is currently only used for token generation, you can contribute here by implementing other features included in Agora's official implementation.

14
likes
50
points
1.99k
downloads

Publisher

unverified uploader

Weekly Downloads

Unofficial Dart library for generating Agora.io WebRTC tokens.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crc32_checksum, crypto

More

Packages that depend on agora_token_service