max 1fps video stream from facetime camera blocks entire browser intermittently
Reported by
and...@tokbox.com,
Mar 31 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Steps to reproduce the problem:
1. Use a macbook pro facetime camera
2. Click run button
What is the expected behavior?
Video from camera is displayed a 1fps or ConstraintsNotSatisfied error
What went wrong?
Stream is returned but no data actually comes through and browser (not just the current tab!) locks up intermittently.
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 57.0.2987.133 Channel: stable
OS Version: OS X 10.12.4
Flash Version:
The display shows the high watermark of the time between requestAnimationFrames, decaying with a half-life of one second. This should stay around 16ms on most devices.
Using the newer constraint format like this produces the same behaviour:
run({ video: { frameRate: { max: 1 } } })
Bug also present in Canary (59.0.3056.0)
,
Apr 18 2017
I can reproduce the issue with https://jsfiddle.net/pL5r73um/1/ on 57.0.2987.133, but the bug seems fixed in Canary 60.0.3074.0. I ran a bisect and it looks like the problem was fixed when we enabled the spec-compliant constraints algorithm.
,
Apr 18 2017
,
Apr 18 2017
andrew@: please reopen if you can find another way to reproduce the problem in a recent Canary.
,
Apr 19 2017
Works for me! Thanks! |
||
►
Sign in to add a comment |
||
Comment 1 by emir...@chromium.org
, Mar 31 2017Status: Assigned (was: Unconfirmed)