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 d386915ff2 - Show all commits

30
app.js
View File

@ -91,21 +91,21 @@ worker = createWorker();
// list of media codecs supported by mediasoup ... // list of media codecs supported by mediasoup ...
// 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, // clockRate : 48000,
channels : 2 // channels : 2
}, // },
{ // {
kind : 'video', // kind : 'video',
mimeType : 'video/VP8', // mimeType : 'video/VP8',
clockRate : 90000, // clockRate : 90000,
parameters : // parameters :
{ // {
'x-google-start-bitrate' : 1000 // 'x-google-start-bitrate' : 1000
} // }
}, // },
{ {
kind : 'video', kind : 'video',
mimeType : 'video/VP9', mimeType : 'video/VP9',