Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No automatic change of audio source when using BT headset during playback #418

Open
ti-guru opened this issue Jan 15, 2023 · 2 comments
Open

Comments

@ti-guru
Copy link

ti-guru commented Jan 15, 2023

Describe the bug
Just Player does not change automatically from incompatible to compatible audio source when direct playing mkv file with Jellyfin on Nvidia Shield when BT headset is connected to Shield. Player opens, but does not start streaming. Error message is briefly displayed. When manually changing audio source from e.g. TrueHD 7.1 to DD 5.1 i player menu, direct play resumes.

To Reproduce
Steps to reproduce the behavior:

  1. Force direct play in Jellyfin for current user. Connect BT headset to Nvidia Shield.
  2. Open movie that has both a TrueHD 7.1 audio source and a DD 5.1 track with Just Player as external app in Jellyfin Android TV.
  3. See error with message MediaCodecAudioRenderer error, index=2, format=Format(2, Surround 7.1, null, audio/true-hd, null, -1, en, [-1, -1, -1, 0], [8, 48000]), format_support=YES

Expected behavior
Just Player should automatically switch to compatible audio stream (if present in file) when using direct play with BT headset.

Device (please complete the following information):

  • Model: Nvidia Shield pro
  • OS: Android 11, Shield Android TV SW version: 9.1.1
  • Just Player version: 0.136
  • Jellyfin server: 10.8.8

Media
NA

Additional context
NA

@moneytoo
Copy link
Owner

Please try long pressing the gear and changing "Decoder priority" to "Prefer app decoders". Does it work then?

@ti-guru
Copy link
Author

ti-guru commented Jan 16, 2023

Please try long pressing the gear and changing "Decoder priority" to "Prefer app decoders". Does it work then?

This works. However, when streaming mkv files with soundbar with "prefer app decoder" setting, the TrueHD stream does not trigger the soundbar (should see rolling text with "TrueHD - Dolby Atmos"). Not really sure what source the soundbar gets (TrueHD or DD?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants