Amogh/Fix Linux audio and video playback dependencies, packaging, and diagn… - #78
Open
Amoghhosamane wants to merge 3 commits into
Open
Amoghhosamane wants to merge 3 commits into
Amoghhosamane wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Details
Description
This PR resolves audio and video playback issues on Linux desktop and packages:
Problem:
video_playerrequires nativelibmpvshared libraries. When running standalone or installed via packages (.debor Snap), missing runtime libraries or security confinement plugs caused player initialization to fail.audio-playbackandpulseaudioplugs prevented audio routing through Linux sound servers (PulseAudio/PipeWire/ALSA), andlibmpv2was not bundled instage-packages.geopod_amd64.deb),libmpv1 | libmpv2andlibsecret-1-0were missing from the packageDepends:field.What was changed:
snap/snapcraft.yaml):audio-playbackandpulseaudiotoapps.geopod.plugs.libmpv2toparts.geopod.stage-packages..github/workflows/installers.yaml&installers/deb.sh):libmpv1 | libmpv2andlibsecret-1-0to the Debiancontrolfile'sDepends:field.lib/widgets/media/audio_player_widget.dart&lib/widgets/media/video_player_widget.dart):sudo apt install libmpv-dev mpv).README.md&CHANGELOG.md):libmpv-dev,mpv,libsecret-1-dev).CHANGELOG.md.Why this change is required:
Ensures that media playback operates reliably across all supported Linux deployment targets (local
make linux,.debinstallation, and Snap store distribution) with proper diagnostics if host libraries are missing.Related Issues
Closes #71
Type of Change
How To Test?
make linux # or: flutter run -d linuxinstallers/deb.shand.github/workflows/installers.yamlto confirmlibmpv1 | libmpv2andlibsecret-1-0are included inDepends:.snap/snapcraft.yamlto confirmaudio-playback,pulseaudio, andlibmpv2stage packages are configured.Checklist
make preporflutter analyze lib)dart testoutput or screenshot included in issue BUG: Adio and Video not working on Linux #71Finalising