Update screenShareFixes.ts
This commit is contained in:
parent
1763bbd9b9
commit
0cfb1f643c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if (isLinux) {
|
||||||
const frameRate = Number(currentSettings?.fps);
|
const frameRate = Number(currentSettings?.fps);
|
||||||
const height = Number(currentSettings?.resolution);
|
const height = Number(currentSettings?.resolution);
|
||||||
const width = Math.round(height * (16 / 9));
|
const width = Math.round(height * (16 / 9));
|
||||||
var track = stream.getVideoTracks()[0];
|
const track = stream.getVideoTracks()[0];
|
||||||
|
|
||||||
track.contentHint = String(currentSettings?.contentHint);
|
track.contentHint = String(currentSettings?.contentHint);
|
||||||
|
|
||||||
|
|
Reference in a new issue