Skip to content

[camera_web] Re: Support for camera stream on web#7950

Open
TecHaxter wants to merge 92 commits into
flutter:mainfrom
TecHaxter:camera_web_stream
Open

[camera_web] Re: Support for camera stream on web#7950
TecHaxter wants to merge 92 commits into
flutter:mainfrom
TecHaxter:camera_web_stream

Conversation

@TecHaxter

Copy link
Copy Markdown

This PR aims to provide support for strartImageStream and stopImageStream on Web.

#92460

Based on #6944 from the archived plugins repository

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the [CLA].
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I [linked to at least one issue that this PR fixes] in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
  • I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style].
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

POV: my first PR on a public repo
Contains required commits from the PR #6443, resolves unnecessary 202 commits

@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 11, 2026
@TecHaxter

Copy link
Copy Markdown
Author

Ready for review

@stuartmorgan-g
stuartmorgan-g requested a review from mdebbar April 13, 2026 15:21
@bparrishMines
bparrishMines removed their request for review April 14, 2026 17:41
@mdebbar mdebbar added the CICD Run CI/CD label Apr 17, 2026

@ditman ditman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very cool! I don't work on this nowadays, but here's some extra comments:

Anyway, very cool. Thanks for reviving this!

Comment thread packages/camera/camera_web/lib/src/camera.dart
Comment thread packages/camera/camera_web/lib/src/camera.dart
Comment thread packages/camera/camera_web/lib/src/camera_service.dart Outdated
Comment thread packages/camera/camera_web/lib/src/camera_service.dart Outdated
@github-actions github-actions Bot removed the CICD Run CI/CD label May 17, 2026
@TecHaxter

Copy link
Copy Markdown
Author

Thanks for the valuable comments Ditman and the suggestion about MediaStreamTrackProcessor :)
I have drafted some changes locally to use that method as primary streaming option, and requestAnimationCallback as a fallback.
Please be patient for next couple of commits from my side very soon. Thanks again for your patience. 🙏

@kevmoo

kevmoo commented May 18, 2026

Copy link
Copy Markdown
Contributor

@TecHaxter – we love thoughtful, polite contributors. Thanks for helping out!

@jiechic

jiechic commented Jun 30, 2026

Copy link
Copy Markdown

is any update on this PR?

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

From triage: @mdebbar it looks from discussion above like this is ready for a hopefully final review round.

@scognito

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p: camera platform-web triage-web Should be looked at in web triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants