Update server

This commit is contained in:
Sergiu Toma 2022-11-23 00:13:56 +02:00
parent dfe4630839
commit 0b3a45ae45

11
app.js
View File

@ -95,18 +95,17 @@ const mediaCodecs = [
kind: 'audio', kind: 'audio',
// mimeType: 'audio/opus', // mimeType: 'audio/opus',
// clockRate: 48000, // clockRate: 48000,
channels: 2, // channels: 2,
clockRate: 48000, clockRate: 48000,
mimeType: "audio/opus", mimeType: "audio/opus",
parameters: { parameters: {
minptime: 10, minptime: 10,
useinbandfec: 1 useinbandfec: 1
}, },
// payloadType: 111, rtcpFeedback: [{
// rtcpFeedback: [{ parameter: "",
// parameter: "", type: "transport-cc"
// type: "transport-cc" }]
// }]
}, },
{ {
kind: 'video', kind: 'video',