54b6578b03
The current Vosk CC provider does not support stereo mic streams (pending investigation as to why). This commits makes sure stereo is forcefully disabled via SDP munging only when transcription is active and using Vosk. Having it disabled in the server side (FreeSWITCH) is not enough because the stereo parameter is client mandated and replicated by FS on its answer. So we need to make sure it's always disabled for the time being. SFU audio does munging server side (and stereo is always off), so no changes needed there. The rest of the providers (except WebSpeech) need to be validated against stereo audio as well. This is also intended to be temporary - ideally this needs to be fixed in mod_audio_fork/Vosk/wherever this is breaking. |
||
---|---|---|
.. | ||
base.js | ||
bridge-whitelist.js | ||
service.js | ||
sfu-audio-bridge.js | ||
sip.js |