The voiceId option couples this library too closely to the AWS SDK. I think instead the API should accept a language parameter, and we can map the language to our preferred Polly voice on the server side. The locale option in this library would default to the system locale, just as it does in MapboxDirections.swift.
The
voiceId
option couples this library too closely to the AWS SDK. I think instead the API should accept alanguage
parameter, and we can map the language to our preferred Polly voice on the server side. Thelocale
option in this library would default to the system locale, just as it does in MapboxDirections.swift./cc @bsudekum