flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

No audio passthrough (for android TV)

Open neckaros opened this issue 3 years ago • 1 comments

I'm using this plugin on and Android TV. Playbacks works great 👍 But when i have a video with a 5.1 audio track (like dolby atmos, dolby digital...) the audio is not passed through like it is in the VLC App.

I have done some research and i think it is because this option needs to be enabled: https://javadoc.io/doc/org.videolan.android/libvlc-all/3.2.3/org/videolan/libvlc/MediaPlayer.html#setAudioDigitalOutputEnabled-boolean-

But i'm not sure i'm able to do this with this plugin?

neckaros avatar Jun 17 '22 12:06 neckaros

I confirm adding this option in the plugin give me audio passthough https://github.com/neckaros/flutter_vlc_player/commit/b84e3dfe022210a389f56798475bde7c6c54c803

Not sure if i can ask for a pull request with this modification or if should be an option. From what i read on VLC Android github it's now on by default on the VLC app

neckaros avatar Jun 17 '22 13:06 neckaros