Bug 1958076 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Following on bug 1179084 but for screen-capture tracks.

We should cover the subset of https://w3c.github.io/mediacapture-screen-share/#constrainable-properties we currently support.

Screen capture back-ends don't really have "capabilities" the same way cameras do, so this is mostly filling in some rudimentary information as detailed in the link above.

Currently our getCapabilities code isn't aware of this so it goes all the way down to https://searchfox.org/mozilla-central/rev/fa5b44a4ea5c98b6a15f39638ea4cd04dc271f3d/dom/media/systemservices/video_engine/desktop_device_info.cc#354,361

STR:
1. Open https://jsfiddle.net/jib1/rs16kgqd/

Expected result (Chrome):
```
Go!
getCapabilities(): {"max":2992,"min":1}x{"max":1934,"min":1}x{"max":30,"min":0}
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Actual results:
```
getCapabilities(): undefinedxundefinedxundefined
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Following on bug 1179084 but for screen-capture tracks.

We should cover the subset of https://w3c.github.io/mediacapture-screen-share/#constrainable-properties we currently support.

Screen capture back-ends don't really have "capabilities" the same way cameras do, so this is mostly filling in some rudimentary information as detailed in the link above.

Currently our getCapabilities code isn't aware of this so it goes all the way down to https://searchfox.org/mozilla-central/rev/fa5b44a4ea5c98b6a15f39638ea4cd04dc271f3d/dom/media/systemservices/video_engine/desktop_device_info.cc#354,361

STR:
1. Open https://jsfiddle.net/jib1/rs16kgqd/ and hit the `Go!` button

Expected result (Chrome):
```
Go!
getCapabilities(): {"max":2992,"min":1}x{"max":1934,"min":1}x{"max":30,"min":0}
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Actual results:
```
getCapabilities(): undefinedxundefinedxundefined
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Following on bug 1179084 but for screen-capture tracks.

We should cover the subset of https://w3c.github.io/mediacapture-screen-share/#constrainable-properties we currently support.

Screen capture back-ends don't really have "capabilities" the same way cameras do, so this is mostly about filling in some rudimentary information as detailed in the link above.

Currently our getCapabilities code isn't aware of this so it goes all the way down to https://searchfox.org/mozilla-central/rev/fa5b44a4ea5c98b6a15f39638ea4cd04dc271f3d/dom/media/systemservices/video_engine/desktop_device_info.cc#354,361

STR:
1. Open https://jsfiddle.net/jib1/rs16kgqd/ and hit the `Go!` button

Expected result (Chrome):
```
Go!
getCapabilities(): {"max":2992,"min":1}x{"max":1934,"min":1}x{"max":30,"min":0}
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Actual results:
```
getCapabilities(): undefinedxundefinedxundefined
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Following on bug 1179084 but for screen-capture tracks.

We should cover the subset of https://w3c.github.io/mediacapture-screen-share/#constrainable-properties we currently support.

Screen capture back-ends don't really have "capabilities" the same way cameras do, so this is mostly about filling in some rudimentary information as detailed in the link above.

Currently our getCapabilities code isn't aware of this so it goes all the way down to https://searchfox.org/mozilla-central/rev/fa5b44a4ea5c98b6a15f39638ea4cd04dc271f3d/dom/media/systemservices/video_engine/desktop_device_info.cc#354,361

STR:
1. Open https://jsfiddle.net/jib1/rs16kgqd/ and hit the `Go!` button

Expected result (Chrome):
```
getCapabilities(): {"max":2992,"min":1}x{"max":1934,"min":1}x{"max":30,"min":0}
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```
Actual results:
```
getCapabilities(): undefinedxundefinedxundefined
getSettings(): 2992x1934x30
videoWidth/Height: 2992x1934
```

Back to Bug 1958076 Comment 0