moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.31k stars 685 forks source link

[Issue]: Sound start with 5.1 / 7.1 fine but after a while its only 2.0 #1205

Open normanu opened 1 year ago

normanu commented 1 year ago

Describe the bug

When playing a game, in this case It Takes Two. The game starts with surround sound, but after a while it switches to 2.0 Sometimes It goes back to surround later, but most of the time I have to reconnect to get it back.

Steps to reproduce

I play from my PC with Geforce Experience 531.68 and the latest Moonlight version available on Google TV (Chromecast)

Affected games

Tried It Takes Two and Hogwarts Legacy, problem occurs most in It Takes Two

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

Bandwith to 80Mpbs decodeding set to HEVC and 7.1 channels Streaming on 4k 60fps

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Google TV

Device model

Chromecast Google TV

Server PC OS version

Windows 11

Server PC GeForce Experience version

3.27.0.112

Server PC Nvidia GPU driver version

531.68

Server PC antivirus and firewall software

Windows defender and Firewall

Screenshots

No response

Relevant log output

No response

Additional context

No response

normanu commented 1 year ago

Just to add I have very low latency. About 1 ms LAN and avg 14ms on decoding. So its not the video, its just audio that breaks.

normanu commented 1 year ago

It seems this is the Android client issue. Don't have the issue on the windows client with the same settings.

Maybe implementing this might be a solution? https://github.com/google/oboe

I wish I could program better to test it ;)

francoislg commented 12 months ago

I also seem to have this issue.

Using a Chromecast 4k with Google TV plugged directly into the AVR, so no eARC issue here. The video feed is perfect, but when I choose >5.1, my AVR detects a Stereo stream and just switches randomly between Stereo and 5.1.

It gets really annoying that now I'm just using Stereo, but I wish I could use 5.1.

For the record, I do get a good stream on other apps, just doesn't seem work reliably on Moonlight

normanu commented 10 months ago

Is there any log or anything else I can provide for someone to look at it? In the mean time I switched to Sunshine from GFE still same.

RelicCornhusk commented 3 months ago

Having the same issue on a CCwGTV 4K plugged directly into AVR.