Update server
This commit is contained in:
parent
f20e1ad260
commit
d1ad8b4d3a
17
app.js
17
app.js
@ -92,10 +92,21 @@ worker = createWorker();
|
|||||||
// https://github.com/versatica/mediasoup/blob/v3/src/supportedRtpCapabilities.ts
|
// https://github.com/versatica/mediasoup/blob/v3/src/supportedRtpCapabilities.ts
|
||||||
const mediaCodecs = [
|
const mediaCodecs = [
|
||||||
{
|
{
|
||||||
kind: 'audio',
|
// kind: 'audio',
|
||||||
mimeType: 'audio/opus',
|
// mimeType: 'audio/opus',
|
||||||
|
// clockRate: 48000,
|
||||||
|
// channels: 2,
|
||||||
clockRate: 48000,
|
clockRate: 48000,
|
||||||
channels: 2,
|
mimeType: "audio/opus",
|
||||||
|
parameters: {
|
||||||
|
minptime: 10,
|
||||||
|
useinbandfec: 1
|
||||||
|
},
|
||||||
|
payloadType: 111,
|
||||||
|
rtcpFeedback: [{
|
||||||
|
parameter: "",
|
||||||
|
type: "transport-cc"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
kind: 'video',
|
kind: 'video',
|
||||||
|
Loading…
Reference in New Issue
Block a user