@telnyx/ai-agent-widget 0.33.8-beta.5 → 0.33.9-beta.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 +10 -0
- package/dist/bundle.min.js +25 -25
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -48,6 +48,16 @@ You can customize the call options by adding attributes to the `<telnyx-ai-agent
|
|
|
48
48
|
- [`call-custom-headers`](https://developers.telnyx.com/development/webrtc/js-sdk/interfaces/icalloptions#customheaders)
|
|
49
49
|
- [`call-audio`](https://developers.telnyx.com/development/webrtc/js-sdk/interfaces/icalloptions#audio)
|
|
50
50
|
|
|
51
|
+
### Region
|
|
52
|
+
|
|
53
|
+
Pin signalling to a specific region with the `region` attribute. When set, the WebRTC SDK routes the connection through `<region>.rtc.telnyx.com` instead of the default anycast `rtc.telnyx.com`. Useful when anycast DNS routes a client to a sub-optimal datacenter.
|
|
54
|
+
|
|
55
|
+
```html
|
|
56
|
+
<telnyx-ai-agent agent-id="assistant-xxx" region="apac"></telnyx-ai-agent>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Known regions: `us-east`, `us-central`, `us-west`, `ca-central`, `eu`, `apac`, `south-asia`.
|
|
60
|
+
|
|
51
61
|
### VAD (Voice Activity Detection) Options
|
|
52
62
|
|
|
53
63
|
Configure Voice Activity Detection for speech detection and latency measurement by passing a JSON object to the `vad` attribute:
|