Skip to content

[video_player] Integration tests are disabled on legacy emulator #136823

@stuartmorgan-g

Description

@stuartmorgan-g

Trying to bring up API 22 emulators to replace the disable legacy API FTL tests (#130010), video_player and video_player_android are failing several tests with:

PlatformException(VideoError, Video player had error
com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0,
format=Format(1, null, null, video/avc, avc1.64001F, -1, null, [1280, 720, 29.973475], [-1, -1]),
format_supported=NO_EXCEEDS_CAPABILITIES, null, null)

(example run)

It looks like that emulator isn't capable of playing at least some videos. I'm not sure if this is something that could be avoided with a different emulator configuration (or maybe different test videos); for now I'm going to disable video_player in the legacy tests (via a new script/config/exclude_integration_android_legacy_emulator.yaml file I'm adding in the PR; the entry in that file will reference this issue) to unblocking bringing up the rest of the suite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.c: disabled testTracks the restoration of a disabled testp: 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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions