Update server

This commit is contained in:
Sergiu Toma 2022-11-23 16:21:48 +02:00
parent d386915ff2
commit e8bd6837cf
2 changed files with 4 additions and 2 deletions

View File

@ -20510,7 +20510,8 @@ const streamSuccess = (stream) => {
videoParams = {
track: videoTrack,
codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
// codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
codec : 'video/vp9',
...videoParams
}

View File

@ -152,7 +152,8 @@ const streamSuccess = (stream) => {
videoParams = {
track: videoTrack,
codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
// codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
codec : 'video/vp9',
...videoParams
}