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

Streaming audio has a chance of disappearing #2552

Open
3 tasks done
SakiBiAnNya opened this issue May 22, 2024 · 1 comment
Open
3 tasks done

Streaming audio has a chance of disappearing #2552

SakiBiAnNya opened this issue May 22, 2024 · 1 comment

Comments

@SakiBiAnNya
Copy link

SakiBiAnNya commented May 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

When switching from one audio-producing application to another (e.g., pausing current audio and then switching to another program, such as pausing a video in the browser and switching to a music application to play music), there is a chance that the streamed audio disappears. I have already reset the Windows audio system and Sunshine's audio capture device to their defaults, and manually reinstalled the audio driver (Steam Virtual Audio), but the issue persists. When this problem occurs, I have to disconnect and reconnect Moonlight, and then the audio returns to normal. This issue occurs on both the Android and PC ends, and I have ruled out it being a problem with Moonlight. However, even after these steps, the problem persists, and I am forced to repeatedly disconnect and reconnect to resolve it.
1
2

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

win10 22h2

Architecture

64 bit

Sunshine commit or version

0.23.1.26ceec5f3c97b0130b82cb28ba53c3b4dafc8419

Package

Windows - installer

GPU Type

Nvidia

GPU Model

rtx3060ti

GPU Driver/Mesa Version

552.12

Capture Method (Linux Only)

No response

Config

locale = zh
install_steam_audio_drivers = disabled
upnp = enabled
channels = 3
address_family = both
audio_sink = NVIDIA High Definition Audio
virtual_sink = NVIDIA High Definition Audio
min_log_level = 3

Apps

No response

Relevant log output

[2024:05:22:23:30:11]: Error: NvEnc: encoding format is not supported by the gpu
[2024:05:22:23:30:17]: Error: NvEnc: encoding format is not supported by the gpu
[2024:05:23:00:44:04]: Error: NvEnc: encoding format is not supported by the gpu
[2024:05:23:00:44:05]: Error: Couldn't get default audio endpoint [0x80070490]
[2024:05:23:00:44:05]: Warning: There will be no audio
[2024:05:23:00:44:05]: Error: Unable to initialize audio capture. The stream will not have audio.
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:00:51:36]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:32]: Error: Couldn't get default audio endpoint [0x80070490]
[2024:05:23:01:13:32]: Warning: There will be no audio
[2024:05:23:01:13:32]: Error: Unable to initialize audio capture. The stream will not have audio.
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:13:51]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:17:00]: Warning: WSASendMsg() failed: 10022
[2024:05:23:01:27:01]: Error: Couldn't get default audio endpoint [0x80070490]
[2024:05:23:01:27:01]: Warning: Couldn't re-initialize audio input
[2024:05:23:01:27:01]: Error: No displays were found after reenumeration!
[2024:05:23:01:27:02]: Error: Failed to locate an output device
[2024:05:23:01:27:02]: Warning: Audio sink not found: {0.0.0.00000000}.{c34f5f83-62dc-49d5-a56d-7021632e1e49}
[2024:05:23:01:27:02]: Warning: Audio sink not found: {0.0.0.00000000}.{c34f5f83-62dc-49d5-a56d-7021632e1e49}
[2024:05:23:01:27:02]: Warning: Audio sink not found: {0.0.0.00000000}.{c34f5f83-62dc-49d5-a56d-7021632e1e49}
[2024:05:23:01:27:03]: Error: Failed to locate an output device
[2024:05:23:10:17:32]: Error: NvEnc: encoding format is not supported by the gpu
[2024:05:23:10:18:11]: Error: No IGD device found
[2024:05:23:10:19:10]: Error: NvEnc: encoding format is not supported by the gpu
@tvoracek
Copy link

Same issue. For me there is no sound if I switch from running app such as Witcher3 back to Moonlight UI (ShieldTV) and then resume session with the game. Many times there is no sound and I need to close the game and start it again to have sound. Wasn't a problem before. Can't remember but I am experiencing it for last few months at least. Using nightly version.

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

No branches or pull requests

2 participants