Skip to content

A difference in the tab sharing permission screen #3

@IvayloHrTonev

Description

@IvayloHrTonev

Hi @ColonelParrot! Congrats for your work!

There is a difference in the tab sharing permission screen. Under Chromium, the browser gives the option to choose between the current tab, other tabs, windows or full screen, while under Chrome only the current tab is displayed.
I guess this behavior can be fixed with parameters to getMedia

For example this code will fix the problem under Chrome
navigator.mediaDevices.getDisplayMedia({ video: { displaySurface: "browser"} })

So I suggest that the library allows, for example via a second constructor or some other way, to pass parameters to the navigator.mediaDevices.getDisplayMedia.

Please see the screenshots.

Chromium - version Version 112.0.5615.49 (Official Build)
Screenshot from 2023-09-25 13-18-29

Google Chrome - Version 117.0.5938.92 (Official Build) (64-bit)
Screenshot from 2023-09-25 13-18-03

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions