fix local tab share on chromeium

This commit is contained in:
Rémai Gábor 2023-04-29 16:46:24 +02:00 committed by GitHub
parent 2dcf89379c
commit 7a2b444321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -44,6 +44,7 @@ export default class BrowserRecorder
displaySurface : 'browser',
width : { ideal: 1920 }
},
selfBrowserSurface : "include",
audio : false,
advanced : [
{ width: 1920, height: 1080 },

View file

@ -4551,7 +4551,8 @@ export default class RoomClient
autoGainControl,
echoCancellation,
noiseSuppression,
sampleSize
sampleSize,
selfBrowserSurface : 'include'
});
}
@ -4559,7 +4560,8 @@ export default class RoomClient
{
stream = await this._screenSharing.start({
...getVideoConstrains(screenSharingResolution, aspectRatio),
frameRate : screenSharingFrameRate
frameRate : screenSharingFrameRate,
selfBrowserSurface : 'include'
});
}