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