Update server

This commit is contained in:
Sergiu Toma 2022-11-23 13:19:56 +02:00
parent a97ec24148
commit c63aee83a1
2 changed files with 2 additions and 0 deletions

View File

@ -20460,6 +20460,7 @@ let originAssetId
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
console.log('device.rtpCapabilities.codecs', device.rtpCapabilities.codecs);
let videoParams = {
codec : device.rtpCapabilities.codecs
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),

View File

@ -102,6 +102,7 @@ let originAssetId
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
console.log('device.rtpCapabilities.codecs', device.rtpCapabilities.codecs);
let videoParams = {
codec : device.rtpCapabilities.codecs
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),