The Akool Streaming Avatar SDK provides a generic JavaScript SDK for integrating Agora RTC streaming avatar functionality into any JavaScript application. This TypeScript-supported SDK enables programmatic control of avatar interactions with real-time video streaming capabilities.Key Features:
Easy-to-use API for Agora RTC integration
TypeScript support with full type definitions
Multiple bundle formats (ESM, CommonJS, IIFE)
CDN distribution via unpkg and jsDelivr
Event-based architecture for handling messages and state changes
Message management with history and updates
Network quality monitoring and statistics
Microphone control for voice interactions
Chunked message sending for large text
Automatic rate limiting for message chunks
Token expiry handling
Error handling and logging
The integration uses Agora’s Real-Time Communication (RTC) SDK for reliable, low-latency streaming and our avatar service for generating responsive avatar behaviors.
<!-- Using unpkg --><script src="https://unpkg.com/akool-streaming-avatar-sdk"></script><!-- Using jsDelivr --><script src="https://cdn.jsdelivr.net/npm/akool-streaming-avatar-sdk"></script>