This is an ugly workaround, and should be removed when #67 is fixed.
To test that everything work without proxy, do the following in
wss://:hublot_kaldi-gstreamer_1:80/client/ws/speech?content-type=audio/x-matroska,+rate=(int)48000,+channels=(int)(or whatever is the correct SSL ws URL)
Everything should work as before, assuming SSL is on (note that every
http:// url in
live-reco.js is assumed to have been changed to
https:// due solving #67).
Does it works? Congrats'!
You can now clean up to remove the proxy:
const proxy = ...and
config.json, remove the
client.proxifiedoption and the
client.reco.portare set to their correct un-proxified values
lib/proxy.js, it is no longer useful
live-reco.jsyou can remove
proxifiedConnectionHandlerand the test in
createConnection, as they should be no longer useful
package.json, you can now remove the
xmlhttprequestdependencies, assuming they are still not used anywhere else (remember to update