Update server
This commit is contained in:
parent
233f49a998
commit
0dfbd296a7
28
app.js
28
app.js
@ -92,21 +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,
|
||||||
mimeType: "audio/opus",
|
channels: 2,
|
||||||
parameters: {
|
// clockRate: 48000,
|
||||||
minptime: 10,
|
// mimeType: "audio/opus",
|
||||||
useinbandfec: 1
|
// parameters: {
|
||||||
},
|
// minptime: 10,
|
||||||
payloadType: 111,
|
// useinbandfec: 1
|
||||||
rtcpFeedback: [{
|
// },
|
||||||
parameter: "",
|
// payloadType: 111,
|
||||||
type: "transport-cc"
|
// rtcpFeedback: [{
|
||||||
}]
|
// parameter: "",
|
||||||
|
// type: "transport-cc"
|
||||||
|
// }]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
kind: 'video',
|
kind: 'video',
|
||||||
|
Loading…
Reference in New Issue
Block a user