Update server
This commit is contained in:
parent
a97ec24148
commit
c63aee83a1
@ -20460,6 +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);
|
||||||
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,6 +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);
|
||||||
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