add speech to text transcription
This commit is contained in:
parent
29dc7de3e4
commit
0ba02f2f09
10 changed files with 378 additions and 438 deletions
|
|
@ -10,25 +10,6 @@ const testMessage = {
|
|||
}
|
||||
const wss = new WebSocket.Server({
|
||||
port: 8080
|
||||
// perMessageDeflate: {
|
||||
// zlibDeflateOptions: {
|
||||
// // See zlib defaults.
|
||||
// chunkSize: 1024,
|
||||
// memLevel: 7,
|
||||
// level: 3
|
||||
// },
|
||||
// zlibInflateOptions: {
|
||||
// chunkSize: 10 * 1024
|
||||
// },
|
||||
// // Other options settable:
|
||||
// clientNoContextTakeover: true, // Defaults to negotiated value.
|
||||
// serverNoContextTakeover: true, // Defaults to negotiated value.
|
||||
// serverMaxWindowBits: 10, // Defaults to negotiated value.
|
||||
// // Below options specified as default values.
|
||||
// concurrencyLimit: 10, // Limits zlib concurrency for perf.
|
||||
// threshold: 1024 // Size (in bytes) below which messages
|
||||
// // should not be compressed.
|
||||
// }
|
||||
});
|
||||
|
||||
wss.on("connection", function connection(ws, req) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue