`getDisplayMedia` is not undefined but always returns a promise that is immediately rejected (as capturing the screen is not supported on Android)
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: lukas.kalbertodt, Assigned: jib)
Details
(Keywords: parity-chrome)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36
Steps to reproduce:
Open the attached HTML file in Firefox for Android 68. Then click the button to actually call getDisplayMedia
.
Actual results:
getDisplayMedia
is defined. When clicking the button, Firefox does not prompt the user to share their screen, but instead immediately rejects the promise returned by getDisplayMedia
.
Expected results:
The function getDisplayMedia
should be undefined so that websites can check if that feature is supported by the browser+OS.
I initially asked about this on StackOverflow. As response to this, an issue on the w3c repo was created. There people pointed out that this should be treated as bug. There is also already a chromium bug report. But since I couldn't find a bug report for Firefox, I created this.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
•
|
||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Comment 6•5 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Tested with Samsung Galaxy Note10 (Android 10) and Nokia 6 (Android 7.1.1) following the steps from the description and from comment 3 on the latest Fenix Nightly 77.0a1 - 5/7.
Results: 'getDisplayMedia' is defined:no and "TypeError: navigator.mediaDevices.getDisplayMedia is not a function".
Description
•