Uh oh!
There was an error while loading. Please reload this page.
[camera] Add API support query for image streaming - #8250
Conversation
3d16044 to
4d88109Compare
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
There was a problem hiding this comment.
The default should be false, not to throw, so that existing implementations that don't support it will automatically get the right behavior.
There was a problem hiding this comment.
The web and Windows package changes won't be necessary once the base implementation is changed.
There was a problem hiding this comment.
This needs to be wrapped in a method at this layer; clients are not expected to use the platform interface directly.
4d88109 to
b87babeCompareliff
commented
Dec 10, 2024
Android build is failing in Firebase Test Lab, but I don’t seem to have permission to view the results. |
camsim99
commented
Dec 10, 2024
The |
2927697 to
ead8c41Compareliff
commented
Dec 11, 2024
I am unable to reproduce the failure locally with an emulator or with Firebase Test Lab. I tried the integration tests with Firebase Test Lab both in $ pushd android
$ ./gradlew app:assembleAndroidTest
$ ./gradlew app:assembleDebug -Ptarget=integration_test/camera_test.dart
$ popd
$ gcloud firebase test android run --type instrumentation --app build/app/outputs/apk/debug/app-debug.apk --test build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk --timeout 7m --device model=panther,version=33But I get successful results: camera_androidcameraand similar results with the emulator, except for this: in the “Capture specific image resolutions” test. Any ideas as to what’s going on? |
liff
commented
Dec 11, 2024
Re-running the check seems to have solved the problem 🎉 |
ead8c41 to
247846dCompare
stuartmorgan-g
left a comment
There was a problem hiding this comment.
The API changes look good to me; this is ready to split out the first sub-PR for landing.
I left notes about missing tests, but those can be addressed in the sub PRs.
There was a problem hiding this comment.
This will need a Dart unit test.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8e65354 to
e32542eCompareliff
commented
Jan 8, 2025
Rebased on #8307. |
e32542e to
b35bf6dCompareflutter/packages@3c3bc68...d1fd623 2025-01-13 olli.helenius@codemate.com [camera] Add API support query for image streaming (flutter/packages#8250) 2025-01-13 westracer1@gmail.com [webview_flutter_android] Add additional WebSettings methods (flutter/packages#8270) 2025-01-13 engine-flutter-autoroll@skia.org Roll Flutter from 864d4f5 to 72db8f6 (11 revisions) (flutter/packages#8421) 2025-01-13 30872003+misos1@users.noreply.github.com [video_player_avfoundation, camera_avfoundation] never overwrite but only upgrade audio session category (flutter/packages#7143) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@3c3bc68...d1fd623 2025-01-13 olli.helenius@codemate.com [camera] Add API support query for image streaming (flutter/packages#8250) 2025-01-13 westracer1@gmail.com [webview_flutter_android] Add additional WebSettings methods (flutter/packages#8270) 2025-01-13 engine-flutter-autoroll@skia.org Roll Flutter from 864d4f5 to 72db8f6 (11 revisions) (flutter/packages#8421) 2025-01-13 30872003+misos1@users.noreply.github.com [video_player_avfoundation, camera_avfoundation] never overwrite but only upgrade audio session category (flutter/packages#7143) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…flutter#8307) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Step 3 from the [changing federated plugins guide](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins), split off from flutter#8250 with a new Dart test added.
Add API support query, `supportsImageStreaming` for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?
…ter#8422) Final step for introducing the `supportsImageStreaming` query method. Expose it through `CameraController`. Previous steps: - flutter#8250 - flutter#8307
…flutter#8307) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Step 3 from the [changing federated plugins guide](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins), split off from flutter#8250 with a new Dart test added.
Add API support query, `supportsImageStreaming` for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?
…ter#8422) Final step for introducing the `supportsImageStreaming` query method. Expose it through `CameraController`. Previous steps: - flutter#8250 - flutter#8307
…flutter#8307) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Step 3 from the [changing federated plugins guide](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins), split off from flutter#8250 with a new Dart test added.
Add API support query, `supportsImageStreaming` for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?
…ter#8422) Final step for introducing the `supportsImageStreaming` query method. Expose it through `CameraController`. Previous steps: - flutter#8250 - flutter#8307
…flutter#8307) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Step 3 from the [changing federated plugins guide](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins), split off from flutter#8250 with a new Dart test added.
Add API support query, `supportsImageStreaming` for checking if the camera platform supports image streaming. As requested on this comment: flutter#8234 (comment) Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?
…ter#8422) Final step for introducing the `supportsImageStreaming` query method. Expose it through `CameraController`. Previous steps: - flutter#8250 - flutter#8307
Add API support query,
supportsImageStreamingfor checking if the camera platform supports image streaming.As requested on this comment: #8234 (comment)
Attempting to follow the contribution guide wrt. changing federated plugins.
There is no issue to link to, but should I create one?
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.