1.2.8 • Published 5 months ago

simli-client v1.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

SimliClient

Simli WebRTC frontend client

Installation

npm install simli-client

Methods

  • Initialize(config: SimliClientConfig): Initializes the SimliClient with the provided configuration.
  • start(): Sets up the WebRTC connection and prepares for streaming.
  • close(): Closes the WebRTC connection and cleans up resources.
  • sendAudioData(audioData: Uint8Array): Sends audio data to the server.
  • listenToMediastreamTrack(stream: MediaStreamTrack): Listens to a MediaStreamTrack and sends audio data to the server. Can be used as an alternative to sendAudioData.
  • ClearBuffer(): Clears the audio buffer, best used when you want the avatar to stop talking.

Events

  • connected
  • disconnected
  • failed

Docs

Setup guide

1.2.0

8 months ago

1.2.8

5 months ago

1.2.7

6 months ago

1.2.6

6 months ago

1.2.5

6 months ago

1.2.4

6 months ago

1.2.3

7 months ago

1.2.2

7 months ago

1.2.1

8 months ago

1.1.9

9 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.1

9 months ago

1.0.2

11 months ago

1.1.0

9 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

11 months ago

1.1.5

9 months ago

1.0.6

11 months ago

1.1.4

9 months ago

1.0.5

11 months ago

1.1.3

9 months ago

1.0.4

11 months ago

1.1.2

9 months ago

1.0.3

11 months ago

1.0.1

11 months ago

1.0.0

1 year ago