Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js sdk voice audio format smarter handling #37

Open
John-A-J opened this issue Jan 8, 2024 · 0 comments
Open

js sdk voice audio format smarter handling #37

John-A-J opened this issue Jan 8, 2024 · 0 comments

Comments

@John-A-J
Copy link
Contributor

John-A-J commented Jan 8, 2024

“We’re noticing that when using a synthetic voice it sometimes doesn’t play correctly for the user. On Android, Gemelo voices aren’t playing and on iOS none of the voices are playing (Replica, Cereproc, Gemelo). Are there browser limitations to what synthetic voices we can use”

Advised that it would be an encoding mismatch and to make sure the audio format worked with the target browser.

then

We managed to fix the issue by removing “ogg” from the encoding array. This probably means that your sdk is only using the first element of that array even if that encoding gives an error (which is what we were seeing).
conversation.setSpeechConfig({
encoding: [“mp3”],
output: “buffer”,
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant