generated from capacitor-community/.github
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Currently, especially on web, the list of available voices can change while the page is open. Uniquely identifying a specific voice (rather than the current system) avoids the risk of playing the wrong voice due to voices getting added, etc, while the page is open.
Additionally, at least on Android, voices are unordered - so this plugin needs to order the voices in a repeatable manner such that they can be located. I'm not actually sure if voices can change while the app is open, however either way, voiceURI would be less complicated.
Ideal Solution: voice property takes a string representing the voiceURI of the voice (or a separate option for voiceURI)
- The biggest problem here is that, in order to maintain backwards compatibility, such changes would increase the codebase size overall, which may not be ideal.
phjardas and kieranbarlow