@unith-ai/core-client 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,6 +132,15 @@ Send a text message to the digital human:
|
|
|
132
132
|
conversation.sendMessage("Hello, how are you?");
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
+
|
|
136
|
+
#### toggleMicrophone()
|
|
137
|
+
|
|
138
|
+
Toogles microphone status.
|
|
139
|
+
|
|
140
|
+
```js
|
|
141
|
+
conversation.toggleMicrophone();
|
|
142
|
+
```
|
|
143
|
+
|
|
135
144
|
#### keepSession()
|
|
136
145
|
|
|
137
146
|
Sends keep-alive event to prevent session timeout:
|