[Webkit-unassigned] [Bug 219643] New: applyConstraints() should update track correctly when no constraints passed at first

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 07:02:56 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219643

            Bug ID: 219643
           Summary: applyConstraints() should update track correctly when
                    no constraints passed at first
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dari.zielinska at gmail.com
                CC: youennf at gmail.com

Function applyConstraints() does not work as expected.

Where? 
- issue is only reproduced on Mac"16 (and probably on iOS.14 but needs to be check)
- only on Safari - works on other browsers

How?

Steps to reproduce:

1. Start video without any constraints.
2. Then try to apply new constraints (1080x720) using applyConstraints()
(it is easy to reproduce using https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints - at the bottom there is box with example so when video is started with empty object and then user tries to apply new constraints - camera starts blinking, there is black screen and then camera is off).

Expected result:

Constraints are applied properly and camera is on.

Actual result:

Error - "A MediaStreamTrack ended due to a capture failure"
Camera starts blinking, then video went black and camera is off. 

Additional thoughts: when user applies width: 600 and height: 400 it is working well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201208/76a040a5/attachment.htm>


More information about the webkit-unassigned mailing list