Closed
Bug 1453259
Opened 8 years ago
Closed 1 month ago
MediaStreamTrack.getSettings() should report correct resolution for screen capture immediately after applyConstraints() resolves
Categories
(Core :: WebRTC: Audio/Video, enhancement, P3)
Tracking
()
RESOLVED
FIXED
143 Branch
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: pehrsons, Unassigned)
References
Details
Attachments
(1 file)
1.09 KB,
text/html
|
Details |
Currently the timing around applyConstraints() and getSettings() when there are no capabilities (like screen capture) looks like:
- applyConstraints(newConstraints)
- Select desiredDimensions from newConstraints (one or both of [width, height] may be 0)
- Reconfigure capture with desiredDimensions (if this fails, reject applyConstraints() and early exit)
- (settings.width, settings.height) = desiredDimensions
- resolve applyConstraints()
- frame comes in with actualDimensions
- (settings.width, settings.height) = actualDimensions
When applyConstraints resolves we need to guarantee that the settings are already correct.
Reporter | ||
Updated•8 years ago
|
Rank: 25
Priority: -- → P3
Comment 1•5 years ago
|
||
This bug affects me too. I attached a simple example. Just click the button and share your entire screen.
Updated•3 years ago
|
Severity: normal → S3
Reporter | ||
Comment 2•1 month ago
|
||
This was recently fixed by bug 1453269.
Status: NEW → RESOLVED
Closed: 1 month ago
status-firefox143:
--- → fixed
Depends on: 1453269
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•