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