1.2.8 • Published 8 months ago

simli-client v1.2.8

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

11 months ago

1.2.8

8 months ago

1.2.7

8 months ago

1.2.6

9 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

10 months ago

1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

11 months ago

1.1.6

11 months ago

1.1.1

12 months ago

1.0.2

1 year ago

1.1.0

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.1.5

11 months ago

1.0.6

1 year ago

1.1.4

11 months ago

1.0.5

1 year ago

1.1.3

11 months ago

1.0.4

1 year ago

1.1.2

12 months ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago