Skip to content

[camera] Failing integration tests for camera_android_camerax due to video_player #157181

Closed
flutter/packages
#10732

Description

@bparrishMines

A couple of tests for camera_android_camerax are failing with this error:

10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal: Playback error
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:   androidx.media3.exoplayer.ExoPlaybackException: Source error
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:736)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:706)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at android.os.Handler.dispatchMessage(Handler.java:102)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at android.os.Looper.loopOnce(Looper.java:201)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at android.os.Looper.loop(Looper.java:288)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at android.os.HandlerThread.run(HandlerThread.java:67)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:   Caused by: androidx.media3.exoplayer.source.UnrecognizedInputFormatException: None of the available extractors (FlvExtractor, FlacExtractor, WavExtractor, FragmentedMp4Extractor, Mp4Extractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor, PngExtractor, WebpExtractor, BmpExtractor, HeifExtractor, AvifExtractor) could read the stream.{contentIsMalformed=false, dataType=1}
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at androidx.media3.exoplayer.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:108)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1060)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:421)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
10-17 13:57:17.100 25044 30854 E ExoPlayerImplInternal:       at java.lang.Thread.run(Thread.java:1012)
10-17 13:57:17.110 25044 25044 I flutter : ��╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞����������������������������������������������������
10-17 13:57:17.110 25044 25044 I flutter : The following PlatformException was thrown running a test:
10-17 13:57:17.110 25044 25044 I flutter : PlatformException(VideoError, Video player had error androidx.media3.exoplayer.ExoPlaybackException:
10-17 13:57:17.110 25044 25044 I flutter : Source error, null, null)
10-17 13:57:17.110 25044 25044 I flutter : 
10-17 13:57:17.110 25044 25044 I flutter : When the exception was thrown, this was the stack
10-17 13:57:17.110 25044 25044 I flutter : 
10-17 13:57:17.110 25044 25044 I flutter : The test description was:
10-17 13:57:17.110 25044 25044 I flutter :   Pause and resume video recording
10-17 13:57:17.110 25044 25044 I flutter : ����������������������������������������������������������������������������������������������������
10-17 13:57:17.110 25044 25044 I flutter : 00:18 +5 -1: Pause and resume video recording [E]
10-17 13:57:17.111 25044 25044 I flutter :   Test failed. See exception logs above.
10-17 13:57:17.111 25044 25044 I flutter :   The test description was: Pause and resume video recording
10-17 13:57:17.111 25044 25044 I flutter :   
10-17 13:57:17.111 25044 25044 I flutter : 00:18 +5 -2: (tearDownAll)

Failing Roll: flutter/packages#7888
Full Logs

Activity

  1. changed the title [-]Quick placeholder[/-] [+][camera] Failing integration tests for `camera_android_camerax` due to `video_player`[/+] on Oct 18, 2024
  2. added
    packageflutter/packages repository. See also p: labels.
    team-androidOwned by Android platform team
    fyi-ecosystemFor the attention of Ecosystem team
    platform-androidAndroid applications specifically
    on Oct 18, 2024
  3. added
    ⏳Bot is counting down the days until it unassigns the issue
    on Feb 24, 2025
  4. flutter-triage-bot commented on Feb 24, 2025

    @flutter-triage-bot

    This issue is assigned to @camsim99 but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

  5. removed their assignment
    on Feb 25, 2025
  6. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on Feb 25, 2025
  7. 6 remaining items

  8. moved this to Not blocking deletion in Deprecating camera_androidon Jul 7, 2025
  9. moved this from [Non-blocking] Proposals to [Non-blocking] _camerax issues in Deprecating camera_androidon Jul 7, 2025
  10. removed their assignment
    on Jul 8, 2025
  11. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on Jul 8, 2025
  12. moved this from [Non-blocking] Issues to [Blocking] Harder to delegate in Deprecating camera_androidon Jan 21, 2026
  13. moved this from [Blocking] Harder to delegate to In Progress in Deprecating camera_androidon Feb 2, 2026
  14. self-assigned this
    on Feb 2, 2026
  15. github-actions commented on Mar 17, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  16. locked as resolved and limited conversation to collaborators on Mar 17, 2026
  17. moved this from In Progress to Done in Deprecating camera_androidon Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: cameraThe camera pluginp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions