Update server

This commit is contained in:
Sergiu Toma 2022-11-23 16:16:17 +02:00
parent 2479f58e21
commit d386915ff2

30
app.js
View File

@ -91,21 +91,21 @@ worker = createWorker();
// list of media codecs supported by mediasoup ...
// https://github.com/versatica/mediasoup/blob/v3/src/supportedRtpCapabilities.ts
const mediaCodecs = [
{
kind : 'audio',
mimeType : 'audio/opus',
clockRate : 48000,
channels : 2
},
{
kind : 'video',
mimeType : 'video/VP8',
clockRate : 90000,
parameters :
{
'x-google-start-bitrate' : 1000
}
},
// {
// kind : 'audio',
// mimeType : 'audio/opus',
// clockRate : 48000,
// channels : 2
// },
// {
// kind : 'video',
// mimeType : 'video/VP8',
// clockRate : 90000,
// parameters :
// {
// 'x-google-start-bitrate' : 1000
// }
// },
{
kind : 'video',
mimeType : 'video/VP9',