LH-265-enable-audio-in-mediasoup #16

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
Showing only changes of commit 0dfbd296a7 - Show all commits

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',