I am using
chrome.desktopCapture.chooseDesktopMedia API in my Chrome App.
Here are several issues:
1, Not able to select which screen to be shared if user has multiple monitors.
When select option "screen", it is a video with all screens merged.
Do you have any plan to enhance this API to allow the user to choose which screen to share?
2, Chrome looses the track when captured Window is minimized.
Presenter selects a window to be shared and he is able to move the window around without interrupting the sharing.
But if the presenter minimizes the window then restore it, Chrome can't capture that window any more. The video stops at the last picture before it's minimized.
3, The captured video stays at its original resolution, regardless user resizes the window.
Presenter selects a window to be shared. In case the window size was originally very small, let's say 320*240, the video's resolution is set to 320*240.
Later the presenter increase the window size to be like 1280*800, the video's resolution is still at 320*240.
Vice versa, if the window size was originally very large (1920*1200) at the time it's be picked, the video's resolution keeps the same size even though the window size is decreased. It's wasting resources.
I tried to pass in the media constraints but without any luck.
constraints.video = {
mandatory: {
chromeMediaSource: "desktop",
chromeMediaSourceId: id,
maxWidth: 1920,
maxHeight: 1200,
minWidth: 640, // min settings have no effect
minHeight: 480
}
};
Please let me know if I am missing something, or you are planning to fix them. Thanks!