commit | 09df1022aefa797f3983bba0520d9c2d43d6c814 | [log] [tgz] |
---|---|---|
author | misos1 <30872003+misos1@users.noreply.github.com> | Mon Sep 18 21:36:19 2023 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 18 19:36:19 2023 +0000 |
tree | ffc258cc3d105a29eda09f2021159b1aa75b7f74 | |
parent | 201e5c822100fddc85255e570ce883a7f49d6c13 [diff] |
[camera_avfoundation] ignore audio samples until first video sample (#4587) Samples from ios video and audio input should be regarded as arriving from independent streams because in fact they are going from independent sources. Video is going from instance `AVCaptureVideoDataOutput` while audio from `AVCaptureAudioDataOutput`. Therefore it is possible that one of them will be initialised soon or later than the other and the first few samples will be only audio samples so the video file will start without image data and will be black until the first video sample arrives. This patch addresses this by ignoring audio samples until the first video sample arrives (alternatively it could wait until both video and audio samples are actively arriving). Fix https://github.com/flutter/flutter/issues/57831
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: