Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcam recordings freeze on latest Chromium #5435

Open
2 tasks done
Xhale1 opened this issue Aug 28, 2024 · 1 comment
Open
2 tasks done

Webcam recordings freeze on latest Chromium #5435

Xhale1 opened this issue Aug 28, 2024 · 1 comment
Labels

Comments

@Xhale1
Copy link

Xhale1 commented Aug 28, 2024

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

https://stackblitz.com/edit/vitejs-vite-3qqtfg?file=src%2FApp.tsx

Steps to reproduce

  1. Use a modern version of chromium (Brave 1.69.153 with Chromium: 128.0.6613.85, Chrome 128.0.6613.114)
  2. Record a ~10 second video using uppy's webcam feature in the minimal repo link
  3. Play the video
  4. Observe the error

This appears to only happen when setting both videoConstraints and preferredVideoMimeType: 'video/mp4' as seen in the repo link.

Expected behavior

Webcam recording does not freeze.

Actual behavior

On certain newer versions of chromium (Brave 1.69.153 with Chromium: 128.0.6613.85, Chrome 128.0.6613.114) I'm seeing that videos recorded using @uppy/webcam are freezing after ~3-4 seconds of playback. It appears there is audio for the entire recording but the video freezes.

Safari 17.6 and Chrome 127.0.6533.100 both appear to record videos without issue.

@Xhale1 Xhale1 added the Bug label Aug 28, 2024
@Xhale1 Xhale1 changed the title Webcam recording freezes after a few seconds on latest Chrome Webcam recordings freeze on latest Chromium Aug 28, 2024
@aduh95
Copy link
Contributor

aduh95 commented Aug 29, 2024

Thank you for the report, it looks like there's a regression in Chromium, not sure it's something we can fix on our side. I tried looking for a report for this, it might be related to https://issues.chromium.org/issues/348923066, but not sure. Did you try to report it Chromium?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants