fix: null language firefox
This commit is contained in:
@@ -41,6 +41,7 @@ function resampleTo16kHZ(audioData, origSampleRate = 44100) {
|
||||
|
||||
function startRecording(data) {
|
||||
socket = new WebSocket(`ws://${data.host}:${data.port}/`);
|
||||
language = data.language;
|
||||
socket.onopen = function(e) {
|
||||
socket.send(
|
||||
JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user