New issue
Advanced search Search tips

Issue 707118 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

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)
 
index.html
1.3 KB View Download
Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
guidou@ can you help with triage here?

Comment 2 by guidou@chromium.org, 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.

Comment 3 by guidou@chromium.org, Apr 18 2017

Status: Fixed (was: Assigned)

Comment 4 by guidou@chromium.org, Apr 18 2017

andrew@: please reopen if you can find another way to reproduce the problem in a recent Canary.

Comment 5 by and...@tokbox.com, Apr 19 2017

Works for me! Thanks!

Sign in to add a comment