Update server
This commit is contained in:
parent
a3ae874f8e
commit
d49b8e42ff
@ -20461,12 +20461,33 @@ 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
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
|
// encodings: [
|
||||||
|
// { scaleResolutionDownBy: 4, maxBitrate: 500000 },
|
||||||
|
// { scaleResolutionDownBy: 2, maxBitrate: 1000000 },
|
||||||
|
// { scaleResolutionDownBy: 1, maxBitrate: 5000000 },
|
||||||
|
// { scalabilityMode: 'S3T3_KEY' }
|
||||||
|
// ],
|
||||||
|
// codecOptions: {
|
||||||
|
// videoGoogleStartBitrate: 1000
|
||||||
|
// }
|
||||||
encodings: [
|
encodings: [
|
||||||
{ scaleResolutionDownBy: 4, maxBitrate: 500000 },
|
{
|
||||||
{ scaleResolutionDownBy: 2, maxBitrate: 1000000 },
|
rid: 'r0',
|
||||||
{ scaleResolutionDownBy: 1, maxBitrate: 5000000 },
|
maxBitrate: 100000,
|
||||||
{ scalabilityMode: 'S3T3_KEY' }
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rid: 'r1',
|
||||||
|
maxBitrate: 300000,
|
||||||
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rid: 'r2',
|
||||||
|
maxBitrate: 900000,
|
||||||
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerCodecOptions
|
||||||
codecOptions: {
|
codecOptions: {
|
||||||
videoGoogleStartBitrate: 1000
|
videoGoogleStartBitrate: 1000
|
||||||
}
|
}
|
||||||
|
@ -103,12 +103,33 @@ 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
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
|
// encodings: [
|
||||||
|
// { scaleResolutionDownBy: 4, maxBitrate: 500000 },
|
||||||
|
// { scaleResolutionDownBy: 2, maxBitrate: 1000000 },
|
||||||
|
// { scaleResolutionDownBy: 1, maxBitrate: 5000000 },
|
||||||
|
// { scalabilityMode: 'S3T3_KEY' }
|
||||||
|
// ],
|
||||||
|
// codecOptions: {
|
||||||
|
// videoGoogleStartBitrate: 1000
|
||||||
|
// }
|
||||||
encodings: [
|
encodings: [
|
||||||
{ scaleResolutionDownBy: 4, maxBitrate: 500000 },
|
{
|
||||||
{ scaleResolutionDownBy: 2, maxBitrate: 1000000 },
|
rid: 'r0',
|
||||||
{ scaleResolutionDownBy: 1, maxBitrate: 5000000 },
|
maxBitrate: 100000,
|
||||||
{ scalabilityMode: 'S3T3_KEY' }
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rid: 'r1',
|
||||||
|
maxBitrate: 300000,
|
||||||
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rid: 'r2',
|
||||||
|
maxBitrate: 900000,
|
||||||
|
scalabilityMode: 'S1T3',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerCodecOptions
|
||||||
codecOptions: {
|
codecOptions: {
|
||||||
videoGoogleStartBitrate: 1000
|
videoGoogleStartBitrate: 1000
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user