Update server
This commit is contained in:
parent
0b3a45ae45
commit
f5b9067b7e
4
app.js
4
app.js
@ -97,7 +97,7 @@ const mediaCodecs = [
|
|||||||
// clockRate: 48000,
|
// clockRate: 48000,
|
||||||
// channels: 2,
|
// channels: 2,
|
||||||
clockRate: 48000,
|
clockRate: 48000,
|
||||||
mimeType: "audio/opus",
|
mimeType: "audio/webm;codecs=opus", // https://developer.mozilla.org/en-US/docs/Web/Media/Formats/WebRTC_codecs#supported_audio_codecs
|
||||||
parameters: {
|
parameters: {
|
||||||
minptime: 10,
|
minptime: 10,
|
||||||
useinbandfec: 1
|
useinbandfec: 1
|
||||||
@ -109,7 +109,7 @@ const mediaCodecs = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
kind: 'video',
|
kind: 'video',
|
||||||
mimeType: 'video/VP8',
|
mimeType: 'video/VP8', // https://developer.mozilla.org/en-US/docs/Web/Media/Formats/WebRTC_codecs#supported_video_codecs
|
||||||
clockRate: 90000,
|
clockRate: 90000,
|
||||||
parameters: {
|
parameters: {
|
||||||
'x-google-start-bitrate': 1000,
|
'x-google-start-bitrate': 1000,
|
||||||
|
Loading…
Reference in New Issue
Block a user