- add dimension of screen share
This commit is contained in:
parent
aed4596a05
commit
8445c49f92
@ -359,6 +359,8 @@ Verto.prototype.makeShare = function () {
|
||||
screenInfo = {
|
||||
chromeMediaSource: "desktop",
|
||||
chromeMediaSourceId: constraints.streamId,
|
||||
maxWidth: window.screen.width > 1920 ? window.screen.width : 1920,
|
||||
maxHeight: window.screen.height > 1080 ? window.screen.height : 1080
|
||||
};
|
||||
|
||||
_this.logger(screenInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user