Skip to content

Audio switches from Sink to Default a few seconds after stream start #976

@skellycode

Description

@skellycode

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

Launching Steam Big Picture (whilst the audio sink is -blank- and the virtual sink is set to the ID of Steam Streaming Speakers) causes the streamed audio to start coming out of the client and not the host (as expected) for 3-5 seconds, before suddenly switching back to coming out of the host and not the client (not expected).
The switch happens part-way through steam big picture playing its loading sound, so it is clear what is happening.

There are zero errors/warnings or pieces of useful information that are presented in the logs for me to attach, unfortunately. The logs simply show the stream starting, and then me disconnecting it when I exit.

As a workaround I can go back to my PC and manually choose the Steam Streaming Speakers (via Windows) once the stream has loaded, however this is not possible when I am not am home.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

Windows 11

Architecture

64 bit

Sunshine commit or version

0.18.3

Package

Windows - installer

GPU Type

Nvidia

GPU Model

RTX 3070

GPU Driver/Mesa Version

528.49

Capture Method (Linux Only)

No response

Config

amd_usage = ultralowlatency
origin_pin_allowed = pc
amd_vbaq = enabled
gamepad = ds4
upnp = disabled
resolutions = [
    1920x1080,
    3860x2160
]
nv_preset = default
nv_tune = ull
output_name = \\.\DISPLAY1
min_log_level = 2
adapter_name = NVIDIA GeForce RTX 3070
nv_coder = auto
amd_preanalysis = disabled
qsv_coder = auto
amd_quality = default
vt_software = auto
amd_coder = auto
origin_web_ui_allowed = lan
dwmflush = enabled
nv_rc = auto
virtual_sink = {0.0.0.00000000}.{c5a978e1-6180-4295-8c2a-0d44608a2162}
encoder = nvenc
amd_rc = auto
qsv_preset = medium
fps = [30,60,90,120]
vt_coder = auto
vt_realtime = enabled
hevc_mode = 0
key_rightalt_to_key_win = disabled

Apps

{
    "env": {
        "PATH": "$(PATH);C:\\Program Files (x86)\\Steam"
    },
    "apps": [
        {
            "name": "Steam Big Picture",
            "output": "steam.txt",
            "detached": [
                "steam steam:\/\/open\/bigpicture"
            ],
            "image-path": "steam.png",
            "prep-cmd": [
                {
                    "do": "C:\\Users\\USERNAME\\QRes.exe \/x 3840 \/y 2160",
                    "undo": "C:\\Users\\USERNAME\\QRes.exe \/x 3440 \/y 1440"
                }
            ]
        }
    ]
}

Relevant log output

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions