Issue 994953: Feature Request: Include HTML <video> element wihin Window or Screen to share: Select Window or Screen menu at getDisplayMedia UI
Categories
(Core :: WebRTC: Audio/Video, enhancement, P5)
Tracking
()
People
(Reporter: guest271314, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux i686; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
- Execute getDisplayMedia()
Actual results:
- HTML <video> elements are not listed at "Window or Screen to share: Select Window or Screen" menu UI.
Expected results:
- HTML <video> elements listed at "Window or Screen to share: Select Window or Screen" menu UI.
| Reporter | ||
Comment 1•6 years ago
|
||
<video> should be set as an AWindow or Screen to share: Select Window or Screen at the display capture menu UI. The Screen Capture specification does not prohibit listing of the HTML <video> element as an application.
Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=994953
Comment 2•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
| Reporter | ||
Comment 3•6 years ago
|
||
Component should be WebRTC: Audio/Video https://bugzilla.mozilla.org/buglist.cgi?product=Core&component=WebRTC%3A%20Audio%2FVideo
Comment 4•5 years ago
|
||
What would the use case be? FWIW we have no current plans for such a feature.
| Reporter | ||
Comment 5•5 years ago
|
||
When Picture-In-Picture is used on a <video> element is already is possible to capture the PIP window using getDisplayMedia().
The use case when filed this bug was to capture variable width and height video playback.
Technically Web Media Player that browsers use to playback media is an "application".
| Reporter | ||
Comment 6•5 years ago
|
||
The use case is essentially to
- overcome
MediaRecorderstopping recording when<video>srcis changed in lieu ofreplaceTrack()and/orreplaceStream()being specified and implemented forMediaRecorder(does not matter if/whensrcis changed because we are capturing the application window itself, not the current URL set atsrc, where ifsrcis changed or nosrcat all the application window can still be recorded) - "seamless" recording of multiple audio and video (potentially containing variable width and height frames)
- treat
<video>and<audio>as the application windows they actually are
| Reporter | ||
Comment 7•5 years ago
|
||
(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #4)
What would the use case be? FWIW we have no current plans for such a feature.
Basically these two approaches should be possible without using window.open() or picture-in-picture or requestFullScreen(); workarounds for areas not covered or limited by MediaRecorder, getDisplayMedia(), MediaStream specifications, for the use case of recording a <video> without having to code for src changing (where MediaRecorder stops), proof-of-concepts for this approach (getDisplayMedia())
Hopefully the above list items clears needsinfo for why request the feature of capturing HTML <video> element as an "application" or window within the purview of getDisplayMedia().
Updated•3 years ago
|
Updated•3 years ago
|
Description
•