ttp-agent-sdk 2.3.3 → 2.3.4
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/dist/agent-widget.js +1 -1
- package/dist/agent-widget.js.map +1 -1
- package/dist/examples/demo-v2.html +16 -2
- package/examples/demo-v2.html +16 -2
- package/package.json +1 -1
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
|
|
551
551
|
<label>WebSocket URL</label>
|
|
552
552
|
|
|
553
|
-
<input type="text" id="websocketUrl" value="wss://speech.
|
|
553
|
+
<input type="text" id="websocketUrl" value="wss://speech.bidme.co.il/ws/conv">
|
|
554
554
|
|
|
555
555
|
</div>
|
|
556
556
|
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
|
|
563
563
|
<label>Agent ID</label>
|
|
564
564
|
|
|
565
|
-
<input type="text" id="agentId" value="
|
|
565
|
+
<input type="text" id="agentId" value="agent_41eac180c" placeholder="agent-123">
|
|
566
566
|
|
|
567
567
|
</div>
|
|
568
568
|
|
|
@@ -654,6 +654,18 @@
|
|
|
654
654
|
|
|
655
655
|
</div>
|
|
656
656
|
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
<div class="form-group">
|
|
660
|
+
|
|
661
|
+
<label for="outputFrameDurationMs">Output Frame Duration (ms):</label>
|
|
662
|
+
|
|
663
|
+
<input type="number" id="outputFrameDurationMs" min="10" max="1000" step="10" value="200" />
|
|
664
|
+
|
|
665
|
+
<small>Frame size for raw PCM streaming (10-1000ms, default: 200ms)</small>
|
|
666
|
+
|
|
667
|
+
</div>
|
|
668
|
+
|
|
657
669
|
</div>
|
|
658
670
|
|
|
659
671
|
</div>
|
|
@@ -867,6 +879,8 @@
|
|
|
867
879
|
|
|
868
880
|
outputChannels: 1,
|
|
869
881
|
|
|
882
|
+
outputFrameDurationMs: parseInt(document.getElementById('outputFrameDurationMs').value),
|
|
883
|
+
|
|
870
884
|
|
|
871
885
|
|
|
872
886
|
// Input format
|
package/examples/demo-v2.html
CHANGED
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
|
|
551
551
|
<label>WebSocket URL</label>
|
|
552
552
|
|
|
553
|
-
<input type="text" id="websocketUrl" value="wss://speech.
|
|
553
|
+
<input type="text" id="websocketUrl" value="wss://speech.bidme.co.il/ws/conv">
|
|
554
554
|
|
|
555
555
|
</div>
|
|
556
556
|
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
|
|
563
563
|
<label>Agent ID</label>
|
|
564
564
|
|
|
565
|
-
<input type="text" id="agentId" value="
|
|
565
|
+
<input type="text" id="agentId" value="agent_41eac180c" placeholder="agent-123">
|
|
566
566
|
|
|
567
567
|
</div>
|
|
568
568
|
|
|
@@ -654,6 +654,18 @@
|
|
|
654
654
|
|
|
655
655
|
</div>
|
|
656
656
|
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
<div class="form-group">
|
|
660
|
+
|
|
661
|
+
<label for="outputFrameDurationMs">Output Frame Duration (ms):</label>
|
|
662
|
+
|
|
663
|
+
<input type="number" id="outputFrameDurationMs" min="10" max="1000" step="10" value="200" />
|
|
664
|
+
|
|
665
|
+
<small>Frame size for raw PCM streaming (10-1000ms, default: 200ms)</small>
|
|
666
|
+
|
|
667
|
+
</div>
|
|
668
|
+
|
|
657
669
|
</div>
|
|
658
670
|
|
|
659
671
|
</div>
|
|
@@ -867,6 +879,8 @@
|
|
|
867
879
|
|
|
868
880
|
outputChannels: 1,
|
|
869
881
|
|
|
882
|
+
outputFrameDurationMs: parseInt(document.getElementById('outputFrameDurationMs').value),
|
|
883
|
+
|
|
870
884
|
|
|
871
885
|
|
|
872
886
|
// Input format
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ttp-agent-sdk",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "Comprehensive Voice Agent SDK with Enhanced Customizable Widget - Real-time audio, WebSocket communication, React components, and extensive customization options",
|
|
5
5
|
"main": "dist/agent-widget.js",
|
|
6
6
|
"module": "dist/agent-widget.js",
|