1
Fork 0

Increase audio quality for presented files.

This commit is contained in:
Juliusz Chroboczek 2022-02-21 17:41:49 +01:00
parent cbcfbb3f74
commit aa30c34863
1 changed files with 6 additions and 0 deletions

View File

@ -1168,6 +1168,12 @@ function setUpStream(c, stream) {
scaleResolutionDownBy: 2,
maxBitrate: simulcastRate,
});
} else {
if(c.label === 'video') {
encodings.push({
maxBitrate: 192000,
});
}
}
let tr = c.pc.addTransceiver(t, {
direction: 'sendonly',