Open Bug 1624002 Opened 6 years ago Updated 5 years ago

AbortError camera fail from flipping camera too fast in Fenix

Categories

(GeckoView :: General, defect, P3)

Unspecified
Android
defect

Tracking

(Not tracked)

People

(Reporter: jib, Unassigned)

References

(Depends on 1 open bug)

Details

STRs:

  1. Open https://fiddle.jshell.net/jib1/3duzb74a/show (to work around bug 1616729).
  2. Click One button, and check ☑ Remember decision for this site before hitting Allow.
  3. Observe back camera in video element.
  4. Click Two button.

Expected result (like Fennec but wo/permission prompt every time):

  • Video switches to showing front camera.

Actual result:

  • AbortError: Starting video failed

Workaround:

  • Keep clicking the buttons back and forth a couple of times, and it appears to start working.

Note this fiddle does not rely on facingMode to avoid bug 1623987.

See Also: → 1623987
No longer blocks: 1624053
Depends on: 1624053

NI to Eugen to try reproducing

Flags: needinfo?(esawin)

It's not reproducing for me on the latest Fenix Nightly (200325).
Which version are you using, jib?

Flags: needinfo?(esawin)
Flags: needinfo?(jib)

Still happening for me on Firefox Preview Nightly 200329. I'm on a Samsung S8 (Android 9)

Sometimes I have to click back and forth a couple of times. It helps to quit and restart Firefox before reproing. I tend to get AbortError reliably on the first two clicks. Then a couple more, and then after that things seem to work more reliably and the AbortErrors are rarer.

Flags: needinfo?(jib)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.