Open krille-chan opened 1 year ago
It's very strange that nothing is logged. It should be putting [just_audio_mpv]
lines into console when anything is loaded and when playback should start, even if it fails. I'm going to try to reproduce this against the just_audio example application.
I've now also tested it with a bytes stream AudioSource so it does not store the audio in a file first. Also does not play :-/
I've now also tested it with a bytes stream AudioSource
I do know this isn't supported, and probably won't be, since MPV itself doesn't support it.
I haven't gotten around to testing it since I'm on an odd system where snapd can't be installed. Just to double-check:
Considering the init function will either throw an error or log a success message, if all of the above are true and there are no messages or errors at all, then the plugin isn't being invoked.
Which API doesn't behave as documented, and how does it misbehave? audioPlayer.play() does nothing, does not throw an exception or writing something to the logs. It works fine on Linux itself but inside of snap it does not work. I have added
mpv
to the stage packages and added the audio-interface from snap.Minimal reproduction project https://github.com/krillefear/fluffychat-snap
To Reproduce (i.e. user steps, not code) Build app with snap
Error messages
Expected behavior It works
Screenshots
Desktop (please complete the following information):
Flutter SDK version
Additional context