1.2.8 • Published 6 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
9 months ago
1.2.8
6 months ago
1.2.7
6 months ago
1.2.6
7 months ago
1.2.5
7 months ago
1.2.4
7 months ago
1.2.3
8 months ago
1.2.2
8 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
10 months ago
1.1.1
10 months ago
1.0.2
12 months ago
1.1.0
10 months ago
1.0.9
11 months ago
1.0.8
11 months ago
1.0.7
11 months ago
1.1.5
10 months ago
1.0.6
11 months ago
1.1.4
10 months ago
1.0.5
11 months ago
1.1.3
10 months ago
1.0.4
11 months ago
1.1.2
10 months ago
1.0.3
12 months ago
1.0.1
12 months ago
1.0.0
1 year ago