Update server
This commit is contained in:
parent
c63aee83a1
commit
c089e91fba
@ -20460,7 +20460,7 @@ let originAssetId
|
|||||||
|
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
console.log('device.rtpCapabilities.codecs', device.rtpCapabilities.codecs);
|
console.log('🟥 device', device);
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
codec : device.rtpCapabilities.codecs
|
codec : device.rtpCapabilities.codecs
|
||||||
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
|
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
|
||||||
|
@ -102,7 +102,7 @@ let originAssetId
|
|||||||
|
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
console.log('device.rtpCapabilities.codecs', device.rtpCapabilities.codecs);
|
console.log('🟥 device', device);
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
codec : device.rtpCapabilities.codecs
|
codec : device.rtpCapabilities.codecs
|
||||||
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
|
.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'),
|
||||||
|
Loading…
Reference in New Issue
Block a user