moonlight-stream / moonlight-android

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

Audio missing when resuming a disconnected streaming session #1407

Closed RebelliousX closed 3 months ago

RebelliousX commented 3 months ago

Describe the bug

I am not sure if this is a bug in Moonlight or Sunshine. If it is related to Sunshine, please close this and I will open a ticket there.

On Shield TV, if I exit Moonlight while streaming a game and try to resume the streaming session later, the game is still playing on main PC, but I get no audio on Shield TV. I am suspecting that the correct speaker is not selected the second time "Steam Streaming Speaker" when resuming.

On Shield TV, there is no way to go back to Moonlight main menu or disconnect peacefully as I am forced to press the HOME button to exit Moonlight and go to launcher, do something else, possibly during this the moonlight process is killed. And when I start Moonlight and try to connect again, it asks to resume streaming, it does, but no audio.

Steps to reproduce

Affected games

All steam games I tried

Other Moonlight clients

PC

Moonlight adjusted settings

No

Moonlight adjusted settings (please complete the following information)

default settings applied, I tried with default bitrate too.

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Android Pie 9

Device model

Shield TV

Server PC OS version

Windows 11 23H2

Server PC GeForce Experience version

I am using latest Sunshine instead of Geforce experience

Server PC Nvidia GPU driver version

560.70

Server PC antivirus and firewall software

ESET Endpoint, I tried disabling it and disabling firewall during test, same.

Screenshots

No response

Relevant log output

No response

Additional context

No response

RebelliousX commented 3 months ago

closing this, referencing similar issue in sunshine.