fix(multi-stream) use highest video quality for screenshare
This commit is contained in:
parent
0cf1b7e3d9
commit
c246174555
|
@ -325,6 +325,12 @@ function _updateReceiverVideoConstraints({ getState }) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (remoteScreenShares?.length) {
|
||||||
|
remoteScreenShares.forEach(sourceName => {
|
||||||
|
receiverConstraints.constraints[sourceName] = { 'maxHeight': VIDEO_QUALITY_LEVELS.ULTRA };
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
receiverConstraints = {
|
receiverConstraints = {
|
||||||
constraints: {},
|
constraints: {},
|
||||||
|
|
Loading…
Reference in New Issue