Skip to content

Commit 30aa142

Browse files
authored
Fix announceUrl and Polly limits (#317)
1 parent a48bb3b commit 30aa142

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

api/compatibility-api/_spec_.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3468,7 +3468,10 @@ paths:
34683468
properties:
34693469
AnnounceUrl:
34703470
type: string
3471-
description: The URL to send participant announcements to.
3471+
description: >-
3472+
The URL to send conference announcements to.
3473+
The `AnnounceUrl` has a maximum length of 60 seconds of audio before timing out.
3474+
Additionally, if the `AnnounceUrl` is a `cXML script` using the [`say verb`][/compatibility-api/cxml/voice/say], the url will inherrient the limits of the `say`.
34723475
AnnounceMethod:
34733476
type: string
34743477
enum:
@@ -3915,7 +3918,10 @@ paths:
39153918
Default is `POST`
39163919
AnnounceUrl:
39173920
type: string
3918-
description: The URL to send conference announcements to.
3921+
description: >-
3922+
The URL to send conference announcements to.
3923+
The `AnnounceUrl` has a maximum length of 60 seconds of audio before timing out.
3924+
Additionally, if the `AnnounceUrl` is a `cXML script` using the [`say verb`][/compatibility-api/cxml/voice/say], the url will inherrient the limits of the `say`.
39193925
Status:
39203926
type: string
39213927
description: The status of this conference.

docs/home/calling/voice/tts/index.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ For detailed instructions for each provider, consult the voice ID references lin
8686
Amazon Web Services' Polly TTS engine includes several models to accommodate different use cases.
8787
SignalWire supports the Standard and Neural models:
8888

89+
:::warning Amazon Polly limits
90+
Amazon Polly has a limit of 3000 chargable charactere in a single request.
91+
If your TTS request is longer than 3000 characters, you will experience silence.
92+
:::
93+
8994
- [Standard](https://docs.aws.amazon.com/polly/latest/dg/standard-voices.html)
9095
is a traditional, cost-effective, and reliable TTS model.
9196
It is less natural-sounding but more budget-friendly than Polly Neural. Example voice identifier string: `polly.Emma`

0 commit comments

Comments
 (0)