Custom Speech Service will not work with this SDK in browser environments specifically. Thems the breaks. The endpoint needs auth headers sent, and won't accept auth params instead. Websocket API in browsers do not have auth headers capability when connecting.
It does of course work fine in NodeJS.
We'll need to update the README in the custom speech service section to let folks know that it won't work in browsers.
Custom Speech Service will not work with this SDK in browser environments specifically. Thems the breaks. The endpoint needs auth headers sent, and won't accept auth params instead. Websocket API in browsers do not have auth headers capability when connecting.
It does of course work fine in NodeJS.
We'll need to update the README in the custom speech service section to let folks know that it won't work in browsers.