1.2.8 • Published 7 months ago
simli-client v1.2.8
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 tosendAudioData
.ClearBuffer()
: Clears the audio buffer, best used when you want the avatar to stop talking.
Events
connected
disconnected
failed
Docs
1.2.0
10 months ago
1.2.8
7 months ago
1.2.7
7 months ago
1.2.6
8 months ago
1.2.5
8 months ago
1.2.4
8 months ago
1.2.3
9 months ago
1.2.2
9 months ago
1.2.1
9 months ago
1.1.9
10 months ago
1.1.8
10 months ago
1.1.7
10 months ago
1.1.6
11 months ago
1.1.1
11 months ago
1.0.2
1 year ago
1.1.0
11 months ago
1.0.9
11 months ago
1.0.8
11 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
11 months ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago