1.0.1-6.3 • Published 8 months ago

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

Weekly downloads
-
License
ISC
Repository
-
Last release
8 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

8 months ago

1.0.1-6.2

8 months ago

1.0.1-6.1

8 months ago

1.0.16

8 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

12 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago