1.0.1-6.3 • Published 5 months ago

@koi-rtc/avatar-sdk v1.0.1-6.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

@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
1.0.1-6.3

5 months ago

1.0.1-6.2

5 months ago

1.0.1-6.1

5 months ago

1.0.16

5 months ago

1.0.15

6 months ago

1.0.14

6 months ago

1.0.13

6 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

7 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

12 months ago