Skip to content

Linux/PulseAudio General issue if network on host disconnects. #112

@GavinDarkglider

Description

@GavinDarkglider

Describe the Bug

If using wifi on host, and host wifi disconnects while stream is in session, sunshine aborts, leaving the pulseaudio tunnels available, and set to default, so you have to manually change, or wait for pulseaudio to catch up. In the event of an error like this, sunshine should destroy these tunnels.

Also, side note, but while I am on the subject...... Honestly, it is more work even to get things like 5.1 working even though there are simple tunnels for them, the whole audio routing thing in pulseaudio might need looked at on both sides to fix this. lol.

Expected Behavior

On the event that sunshine crashes due to network error, or really anything that causes abort, we need to destroy all pulseaudi tunnels created by stream connect,

Additional Context

More of an improvement.

Sunshine Host Operating System and Version

Gentoo

Architecture

all

Sunshine Version

latest git at 4b658cd

GPU Type

Doesnt matter for this issue

GPU Model

Doesnt matter

GPU Driver/Mesa Version

Doesnt matter

Capture Method (Linux Only)

X11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions