@kaltura-sdk/avatars 1.19.0 → 1.20.0
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 +1 -1
- package/index.esm.js +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ manager.stop(); // full teardown, unsubscribes everything
|
|
|
34
34
|
- **Pause/resume**: `pause()`, `resume()`, `pauseAfterSpeaking()`, `isPaused`
|
|
35
35
|
- **Chat & content**: `askViaText()`, `chatLog`, `content`, `setLocalContent()`, `clearContent()`, `agentData`
|
|
36
36
|
- **Screen share**: `startScreenShare()`, `stopScreenShare()`, `screenShareInfo`
|
|
37
|
-
- **Tap-to-talk**: `tapToTalkStart(options?)` (`options.enrichAudio` asks the server to analyze the recording), `tapToTalkEnd()`, `toggleTapToTalkMode()`, `tapToTalkInfo`
|
|
37
|
+
- **Tap-to-talk**: `tapToTalkStart(options?)` (`options.enrichAudio` asks the server to analyze the recording; `options.referenceText` is the text being read, sent with `enrichAudio`), `tapToTalkEnd()`, `toggleTapToTalkMode()`, `tapToTalkInfo`
|
|
38
38
|
- **Captions**: `captions` (state + `toggle`/`setReplacements`/`setFilter`)
|
|
39
39
|
- **Kaltura context**: `kalturaContext`, `toggleKalturaContext()`, `updateDynamicVariables()`
|
|
40
40
|
- **Client tools**: `registerClientTools()`, `unregisterClientTools()`, `registeredClientTools`, `clientToolCallLog`
|
package/index.esm.js
CHANGED
|
@@ -23112,14 +23112,20 @@ const sendTapToTalkStart = ({
|
|
|
23112
23112
|
if (!client) {
|
|
23113
23113
|
throw new Error('WebSocket client not found');
|
|
23114
23114
|
}
|
|
23115
|
-
const
|
|
23115
|
+
const {
|
|
23116
|
+
enrichAudio,
|
|
23117
|
+
referenceText
|
|
23118
|
+
} = (_a = event.options) !== null && _a !== void 0 ? _a : {};
|
|
23116
23119
|
// No payload without options keeps the event identical for servers that predate the flag
|
|
23117
23120
|
if (enrichAudio === undefined) {
|
|
23118
23121
|
client.emit('tapToTalkStart');
|
|
23119
23122
|
return;
|
|
23120
23123
|
}
|
|
23121
|
-
client.emit('tapToTalkStart', {
|
|
23124
|
+
client.emit('tapToTalkStart', referenceText === undefined ? {
|
|
23122
23125
|
enrichAudio
|
|
23126
|
+
} : {
|
|
23127
|
+
enrichAudio,
|
|
23128
|
+
referenceText
|
|
23123
23129
|
});
|
|
23124
23130
|
};
|
|
23125
23131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaltura-sdk/avatars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"author": "kaltura",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@kaltura-sdk/rtc-core": "^1.26.2",
|
|
14
14
|
"@local/genie-shared-utils": "^1.0.0",
|
|
15
15
|
"@unisphere/core": "^1.99.0",
|
|
16
|
-
"@unisphere/genie-types": "^1.
|
|
16
|
+
"@unisphere/genie-types": "^1.46.0",
|
|
17
17
|
"@unisphere/notifications-core": "^1.25.0",
|
|
18
18
|
"@unisphere/runtime": "^1.98.0",
|
|
19
19
|
"@unisphere/runtime-js": "^1.98.0",
|