Update server

This commit is contained in:
Sergiu Toma 2022-11-22 20:44:22 +02:00
parent 233f49a998
commit 0dfbd296a7

28
app.js
View File

@ -92,21 +92,21 @@ worker = createWorker();
// https://github.com/versatica/mediasoup/blob/v3/src/supportedRtpCapabilities.ts
const mediaCodecs = [
{
// kind: 'audio',
// mimeType: 'audio/opus',
// clockRate: 48000,
// channels: 2,
kind: 'audio',
mimeType: 'audio/opus',
clockRate: 48000,
mimeType: "audio/opus",
parameters: {
minptime: 10,
useinbandfec: 1
},
payloadType: 111,
rtcpFeedback: [{
parameter: "",
type: "transport-cc"
}]
channels: 2,
// clockRate: 48000,
// mimeType: "audio/opus",
// parameters: {
// minptime: 10,
// useinbandfec: 1
// },
// payloadType: 111,
// rtcpFeedback: [{
// parameter: "",
// type: "transport-cc"
// }]
},
{
kind: 'video',