@koi-rtc/avatar-sdk v1.0.1-6.3
@koi-rtc/avatar-sdk
An Avatar SDK for WebSocket and WebRTC communication.
Introduction
This is an avatar communication SDK based on web socket and web rtc technology, providing real-time audio and video communication functions. The SDK encapsulates the complex web rtc and web socket communication details and provides developers with a simple and easy-to-use API interface.
Features
-WebSocket real-time communication support -WebRTC real-time audio and video -Support TypeScript development -Supports ESM and CommonJS module systems -Event driven architecture -Error handling mechanism -Supports real-time audio transcription (ASR) -Support text-to-speech (TTS)
Directory structure
src/
├── index.ts
├── utils/
│ ├── EventEmitter.ts
│ ├── index.ts
├── RTCModule.ts
├── WebSocketModule.ts
├── ASRModule.ts
├── TTSModule.ts
Module description
-RTCModule: handles WebRTC audio and video communication -WebSocketModule: handles WebSocket real-time communication -ASRModule: handles speech recognition -TTSModule: handles text-to-speech -EventEmitter: event-driven architecture -utils: utility functions
Install
npm:
npm install @koi-rtc/avatar-sdk
pnpm:
pnpm install @koi-rtc/avatar-sdk
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
12 months ago