LH-265-enable-audio-in-mediasoup #16
17
app.js
17
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',
|
||||
|
Loading…
Reference in New Issue
Block a user