更语音静态资源
This commit is contained in:
parent
e670138ea7
commit
23d09c8e51
@ -82,6 +82,7 @@ console.log(text,'11111')
|
||||
voice.start();
|
||||
}
|
||||
}
|
||||
|
||||
function addcloEvenPassthrough() {
|
||||
window.closeEvent = function(info) {
|
||||
console.log('2222')
|
||||
|
@ -5,7 +5,8 @@
|
||||
}
|
||||
|
||||
let transAudioData = {
|
||||
transcode(audioData) {
|
||||
transcode(audioData) {
|
||||
|
||||
let output = transAudioData.to16kHz(audioData)
|
||||
output = transAudioData.to16BitPCM(output)
|
||||
output = Array.from(new Uint8Array(output.buffer))
|
||||
@ -41,5 +42,7 @@
|
||||
}
|
||||
return dataView
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
})();
|
@ -266,7 +266,7 @@
|
||||
}
|
||||
return false;
|
||||
};
|
||||
console.log(this.audioData)
|
||||
|
||||
// 中间帧
|
||||
this.webSocket.send(
|
||||
JSON.stringify({
|
||||
|
Loading…
x
Reference in New Issue
Block a user