Update server

This commit is contained in:
Sergiu Toma 2022-11-23 00:22:00 +02:00
parent f5b9067b7e
commit 22656722e8

2
app.js
View File

@ -97,7 +97,7 @@ const mediaCodecs = [
// clockRate: 48000,
// channels: 2,
clockRate: 48000,
mimeType: "audio/webm;codecs=opus", // https://developer.mozilla.org/en-US/docs/Web/Media/Formats/WebRTC_codecs#supported_audio_codecs
mimeType: "audio/opus", // https://developer.mozilla.org/en-US/docs/Web/Media/Formats/WebRTC_codecs#supported_audio_codecs
parameters: {
minptime: 10,
useinbandfec: 1