Commit aa30c348 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Increase audio quality for presented files.

parent cbcfbb3f
...@@ -1168,6 +1168,12 @@ function setUpStream(c, stream) { ...@@ -1168,6 +1168,12 @@ function setUpStream(c, stream) {
scaleResolutionDownBy: 2, scaleResolutionDownBy: 2,
maxBitrate: simulcastRate, maxBitrate: simulcastRate,
}); });
} else {
if(c.label === 'video') {
encodings.push({
maxBitrate: 192000,
});
}
} }
let tr = c.pc.addTransceiver(t, { let tr = c.pc.addTransceiver(t, {
direction: 'sendonly', direction: 'sendonly',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment