LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
19.69k stars 954 forks source link

Default audio device preference lost #1268

Closed Myp3a closed 1 year ago

Myp3a commented 1 year ago

Is there an existing issue for this?

Is your issue described in the documentation?

Is your issue present in the nightly release?

Describe the Bug

Default audio device is restored to last selected out of currently available instead of last selected. This breaks default audio device mappings on system with changing audio configurations. After connecting headphones after stream end, system still uses speakers.

Expected Behavior

After connecting headphones after stream end, system will use headphones because they had higher priority.

Additional Context

Test system: laptop, mostly headphones. If they aren't available, use speakers. Audio preferences: Headphones > Speakers > Any other.

Sunshine stream correctly sets default device to Steam Speakers and back to previous after the stream ends. However, if headphones were disconnected at the time of the stream, default audio device reverts to speakers.

So... Speakers are currently used as default, because headphones are unavailable. Sunshine sets up a virtual sink and captures audio. Stream ends, default audio device reverts to speakers. When headphones are connected, system ignores them as a default device.

probably, this is more a Windows issue, but I'll be really glad if this quirk could be solved

audio-info.exe log ``` ====== Found 4 audio devices ====== ===== Device ===== Device ID : {0.0.0.00000000}.{05039245-f7b3-498f-b866-4acad5195acc} Device name : Speakers (Steam Streaming Speakers) Adapter name : Steam Streaming Speakers Device description : Speakers Device state : Active Mono: unsupported Stereo: supported Surround 5.1: unsupported Surround 7.1: unsupported ===== Device ===== Device ID : {0.0.0.00000000}.{75cd87a6-4236-413f-8365-3e03b48570b0} Device name : Speakers (Realtek(R) Audio) Adapter name : Realtek(R) Audio Device description : Speakers Device state : Active Mono: unsupported Stereo: supported Surround 5.1: unsupported Surround 7.1: unsupported ===== Device ===== Device ID : {0.0.0.00000000}.{8b81de89-2f5a-45b2-b116-06b774a684c2} Device name : Headphones (WH-1000XM3) Adapter name : WH-1000XM3 Device description : Headphones Device state : Active Mono: unsupported Stereo: unsupported Surround 5.1: unsupported Surround 7.1: unsupported ===== Device ===== Device ID : {0.0.0.00000000}.{c39510a4-09f9-4902-8214-9150ea3320e4} Device name : Speakers (Steam Streaming Microphone) Adapter name : Steam Streaming Microphone Device description : Speakers Device state : Active Mono: unsupported Stereo: supported Surround 5.1: unsupported Surround 7.1: unsupported ```

Host Operating System

Windows

Operating System Version

Windows 11 22H2

Architecture

64 bit

Sunshine commit or version

0.19.1

Package

Windows - installer

GPU Type

Intel

GPU Model

Intel UHD Graphics (12th gen CPU)

GPU Driver/Mesa Version

30.0.1001.1994

Config

virtual_sink = {0.0.0.00000000}.{05039245-f7b3-498f-b866-4acad5195acc}
min_log_level = 2
hevc_mode = 0
resolutions = [
    352x240,
    480x360,
    858x480,
    1280x720,
    1920x1080,
    2560x1080,
    3440x1440,
    1920x1200,
    3860x2160,
    3840x1600,
    2360x1640
]

Apps

No response

Relevant log output

Sunshine log ```shell [2023:05:10:01:14:43]: Info: Sunshine version: 0.19.1.d70d084f9fbb4e0150977a89d94937418a3ccf9c [2023:05:10:01:14:43]: Info: Compiling shaders... [2023:05:10:01:14:43]: Info: System tray created [2023:05:10:01:14:43]: Debug: System tray loop [2023:05:10:01:14:43]: Info: Compiled shaders [2023:05:10:01:14:43]: Warning: Couldn't setup connection to ViGEm for gamepad support [E0000001] [2023:05:10:01:14:43]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2023:05:10:01:14:43]: Info: Trying encoder [nvenc] [2023:05:10:01:14:43]: Info: ddprobe.exe [1] [] returned: 0x00000000 [2023:05:10:01:14:43]: Info: Set GPU preference: 1 [2023:05:10:01:14:43]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:43]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:43]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:43]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:43]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:43]: Info: Color range: [JPEG] [2023:05:10:01:14:43]: Error: Could not open codec [h264_nvenc]: No such file or directory [2023:05:10:01:14:43]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:43]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:43]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:43]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:43]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:43]: Info: Color range: [JPEG] [2023:05:10:01:14:43]: Error: Could not open codec [h264_nvenc]: No such file or directory [2023:05:10:01:14:43]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:43]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:43]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:43]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:43]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:43]: Info: Color range: [JPEG] [2023:05:10:01:14:43]: Error: Could not open codec [h264_nvenc]: No such file or directory [2023:05:10:01:14:43]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:43]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:43]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:43]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:43]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:43]: Info: Color range: [JPEG] [2023:05:10:01:14:43]: Error: Could not open codec [h264_nvenc]: No such file or directory [2023:05:10:01:14:43]: Info: Encoder [nvenc] failed [2023:05:10:01:14:43]: Info: Trying encoder [quicksync] [2023:05:10:01:14:43]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:43]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:43]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:43]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:43]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:43]: Info: Color range: [JPEG] [2023:05:10:01:14:44]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:44]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:44]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:44]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:44]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:44]: Info: Color range: [JPEG] [2023:05:10:01:14:44]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:44]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:44]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:44]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:44]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:44]: Info: Color range: [JPEG] [2023:05:10:01:14:44]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:44]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:44]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:44]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:44]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:44]: Info: Color range: [JPEG] [2023:05:10:01:14:45]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:45]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:45]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:45]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:45]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:45]: Info: Color range: [JPEG] [2023:05:10:01:14:45]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:45]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:45]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:45]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:45]: Info: SDR color coding [Rec. 709] [2023:05:10:01:14:45]: Info: Color range: [JPEG] [2023:05:10:01:14:45]: Error: Could not open codec [h264_qsv]: Function not implemented [2023:05:10:01:14:45]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:45]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:45]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:45]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:45]: Info: SDR color coding [Rec. 709] [2023:05:10:01:14:45]: Info: Color range: [JPEG] [2023:05:10:01:14:46]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:46]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:46]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:46]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:46]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:46]: Info: Color range: [JPEG] [2023:05:10:01:14:46]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:46]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:46]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:46]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:46]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:46]: Info: Color range: [JPEG] [2023:05:10:01:14:46]: Warning: quicksync: h264: replacing nalu prefix data [2023:05:10:01:14:46]: Warning: quicksync: hevc: replacing nalu prefix data [2023:05:10:01:14:46]: Info: [2023:05:10:01:14:46]: Info: // Ignore any errors mentioned above, they are not relevant. // [2023:05:10:01:14:46]: Info: [2023:05:10:01:14:46]: Debug: ------ h264 ------ [2023:05:10:01:14:46]: Debug: PASSED: supported [2023:05:10:01:14:46]: Debug: REF_FRAMES_RESTRICT: supported [2023:05:10:01:14:46]: Debug: REF_FRAMES_AUTOSELECT: supported [2023:05:10:01:14:46]: Debug: SLICE: supported [2023:05:10:01:14:46]: Debug: CBR: supported [2023:05:10:01:14:46]: Debug: DYNAMIC_RANGE: unsupported [2023:05:10:01:14:46]: Debug: VUI_PARAMETERS: supported [2023:05:10:01:14:46]: Debug: NALU_PREFIX_5b: unsupported [2023:05:10:01:14:46]: Debug: ------------------- [2023:05:10:01:14:46]: Debug: ------ hevc ------ [2023:05:10:01:14:46]: Debug: PASSED: supported [2023:05:10:01:14:46]: Debug: REF_FRAMES_RESTRICT: supported [2023:05:10:01:14:46]: Debug: REF_FRAMES_AUTOSELECT: supported [2023:05:10:01:14:46]: Debug: SLICE: supported [2023:05:10:01:14:46]: Debug: CBR: supported [2023:05:10:01:14:46]: Debug: DYNAMIC_RANGE: supported [2023:05:10:01:14:46]: Debug: VUI_PARAMETERS: supported [2023:05:10:01:14:46]: Debug: NALU_PREFIX_5b: unsupported [2023:05:10:01:14:46]: Debug: ------------------- [2023:05:10:01:14:46]: Info: Found encoder quicksync: [h264_qsv, hevc_qsv] [2023:05:10:01:14:46]: Info: Configuration UI available at [https://localhost:47990] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /troubleshooting [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- navigate [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- document [2023:05:10:01:14:47]: Debug: Upgrade-Insecure-Requests -- 1 [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/config [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /node_modules/@fortawesome/fontawesome-free/css/all.min.css [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- style [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- text/css,*/*;q=0.1 [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /node_modules/bootstrap/dist/css/bootstrap.min.css [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- style [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- text/css,*/*;q=0.1 [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /node_modules/bootstrap/dist/js/bootstrap.bundle.min.js [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- script [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- */* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /node_modules/vue/dist/vue.min.js [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- script [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- */* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Info: Registered Sunshine mDNS service [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /api/logs [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- empty [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- */* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /images/logo-sunshine-45.png [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- image [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- image/avif,image/webp,*/* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /api/config [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- empty [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- */* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: METHOD :: GET [2023:05:10:01:14:47]: Debug: DESTINATION :: /images/favicon.ico [2023:05:10:01:14:47]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:47]: Debug: Sec-Fetch-Mode -- no-cors [2023:05:10:01:14:47]: Debug: Sec-Fetch-Dest -- image [2023:05:10:01:14:47]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:47]: Debug: Connection -- keep-alive [2023:05:10:01:14:47]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:47]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:47]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:47]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:47]: Debug: Accept -- image/avif,image/webp,*/* [2023:05:10:01:14:47]: Debug: Host -- localhost:47990 [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:47]: Debug: [--] [2023:05:10:01:14:51]: Debug: /CN=NVIDIA GameStream Client -- verified [2023:05:10:01:14:51]: Debug: TUNNEL :: HTTPS [2023:05:10:01:14:51]: Debug: METHOD :: GET [2023:05:10:01:14:51]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:14:51]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:14:51]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:51]: Debug: Connection -- keep-alive [2023:05:10:01:14:51]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:14:51]: Debug: Accept -- */* [2023:05:10:01:14:51]: Debug: Host -- 192.168.88.200:47984 [2023:05:10:01:14:51]: Debug: [--] [2023:05:10:01:14:51]: Debug: uniqueid -- 0123456789ABCDEF [2023:05:10:01:14:51]: Debug: [--] [2023:05:10:01:14:51]: Debug: /CN=NVIDIA GameStream Client -- verified [2023:05:10:01:14:51]: Debug: TUNNEL :: HTTPS [2023:05:10:01:14:51]: Debug: METHOD :: GET [2023:05:10:01:14:51]: Debug: DESTINATION :: /launch [2023:05:10:01:14:51]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:14:51]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:51]: Debug: Connection -- keep-alive [2023:05:10:01:14:51]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:14:51]: Debug: Accept -- */* [2023:05:10:01:14:51]: Debug: Host -- 192.168.88.200:47984 [2023:05:10:01:14:51]: Debug: [--] [2023:05:10:01:14:51]: Debug: gcpersist -- 0 [2023:05:10:01:14:51]: Debug: localAudioPlayMode -- 0 [2023:05:10:01:14:51]: Debug: gcmap -- 0 [2023:05:10:01:14:51]: Debug: remoteControllersBitmap -- 0 [2023:05:10:01:14:51]: Debug: rikeyid -- 145351363 [2023:05:10:01:14:51]: Debug: surroundAudioInfo -- 196610 [2023:05:10:01:14:51]: Debug: rikey -- 7D5AD334149214E41E13F7CB9159A203 [2023:05:10:01:14:51]: Debug: sops -- 0 [2023:05:10:01:14:51]: Debug: mode -- 2360x1640x60 [2023:05:10:01:14:51]: Debug: appid -- 1577243657 [2023:05:10:01:14:51]: Debug: additionalStates -- 1 [2023:05:10:01:14:51]: Debug: uniqueid -- 0123456789ABCDEF [2023:05:10:01:14:51]: Debug: [--] [2023:05:10:01:14:51]: Info: Executing [Desktop] [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 103 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [1] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: OPTIONS [2023:05:10:01:14:51]: Debug: target :: rtsp://192.168.88.200:48010 [2023:05:10:01:14:51]: Debug: CSeq :: 1 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- OPTIONS ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 1 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 179 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [2] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: DESCRIBE [2023:05:10:01:14:51]: Debug: target :: rtsp://192.168.88.200:48010 [2023:05:10:01:14:51]: Debug: CSeq :: 2 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Accept :: application/sdp [2023:05:10:01:14:51]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- DESCRIBE ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 2 sprop-parameter-sets=AAAAAU a=fmtp:97 surround-params=21101 a=fmtp:97 surround-params=21101 a=fmtp:97 surround-params=642012453 a=fmtp:97 surround-params=660012345 a=fmtp:97 surround-params=85301245367 a=fmtp:97 surround-params=88001234567 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 190 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [3] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: SETUP [2023:05:10:01:14:51]: Debug: target :: streamid=audio/0/0 [2023:05:10:01:14:51]: Debug: CSeq :: 3 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2023:05:10:01:14:51]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 3 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=48000 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 213 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [4] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: SETUP [2023:05:10:01:14:51]: Debug: target :: streamid=video/0/0 [2023:05:10:01:14:51]: Debug: CSeq :: 4 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Session :: DEADBEEFCAFE [2023:05:10:01:14:51]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2023:05:10:01:14:51]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 4 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=47998 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 216 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [5] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: SETUP [2023:05:10:01:14:51]: Debug: target :: streamid=control/13/0 [2023:05:10:01:14:51]: Debug: CSeq :: 5 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Session :: DEADBEEFCAFE [2023:05:10:01:14:51]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2023:05:10:01:14:51]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 5 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=47999 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 536 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 362 bytes [2023:05:10:01:14:51]: Debug: Found Content-Length: 1348 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 536 bytes [2023:05:10:01:14:51]: Debug: Found Content-Length: 1348 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 450 bytes [2023:05:10:01:14:51]: Debug: Found Content-Length: 1348 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [6] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: v=0 o=android 0 14 IN IPv4 192.168.88.200 s=NVIDIA Streaming Client a=x-nv-video[0].clientViewportWd:2360 a=x-nv-video[0].clientViewportHt:1640 a=x-nv-video[0].maxFPS:60 a=x-nv-video[0].packetSize:1024 a=x-nv-video[0].rateControlMode:4 a=x-nv-video[0].timeoutLengthMs:7000 a=x-nv-video[0].framesWithInvalidRefThreshold:0 a=x-nv-video[0].initialBitrateKbps:30000 a=x-nv-video[0].initialPeakBitrateKbps:30000 a=x-nv-vqos[0].bw.minimumBitrateKbps:30000 a=x-nv-vqos[0].bw.maximumBitrateKbps:30000 a=x-nv-vqos[0].fec.enable:1 a=x-nv-vqos[0].videoQualityScoreUpdateTime:5000 a=x-nv-vqos[0].qosTrafficType:0 a=x-nv-aqos.qosTrafficType:0 a=x-nv-general.featureFlags:167 a=x-nv-general.useReliableUdp:13 a=x-nv-vqos[0].fec.minRequiredFecPackets:2 a=x-nv-vqos[0].bllFec.enable:0 a=x-nv-vqos[0].drc.enable:0 a=x-nv-general.enableRecoveryMode:0 a=x-nv-video[0].videoEncoderSlicesPerFrame:1 a=x-nv-clientSupportHevc:1 a=x-nv-vqos[0].bitStreamFormat:1 a=x-nv-video[0].dynamicRangeMode:0 a=x-nv-video[0].maxNumReferenceFrames:1 a=x-nv-video[0].clientRefreshRateX100:0 a=x-nv-audio.surround.numChannels:2 a=x-nv-audio.surround.channelMask:3 a=x-nv-audio.surround.enable:0 a=x-nv-audio.surround.AudioQuality:0 a=x-nv-aqos.packetDuration:5 a=x-nv-video[0].encoderCscMode:0 t=0 0 m=video 47998 [2023:05:10:01:14:51]: Debug: command :: ANNOUNCE [2023:05:10:01:14:51]: Debug: target :: streamid=control/13/0 [2023:05:10:01:14:51]: Debug: CSeq :: 6 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Session :: DEADBEEFCAFE [2023:05:10:01:14:51]: Debug: Content-type :: application/sdp [2023:05:10:01:14:51]: Debug: Content-length :: 1348 [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- ANNOUNCE ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: Found Host: 192.168.88.200 [2023:05:10:01:14:51]: Info: WLAN interface 0 is now in low latency mode [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 6 ---End Response--- [2023:05:10:01:14:51]: Debug: handle_read(): Handle read of size: 97 bytes [2023:05:10:01:14:51]: Debug: handle_payload(): Handle read of size: 0 bytes [2023:05:10:01:14:51]: Debug: type [REQUEST] [2023:05:10:01:14:51]: Debug: sequence number [7] [2023:05:10:01:14:51]: Debug: protocol :: RTSP/1.0 [2023:05:10:01:14:51]: Debug: payload :: [2023:05:10:01:14:51]: Debug: command :: PLAY [2023:05:10:01:14:51]: Debug: target :: / [2023:05:10:01:14:51]: Debug: CSeq :: 7 [2023:05:10:01:14:51]: Debug: X-GS-ClientVersion :: 14 [2023:05:10:01:14:51]: Debug: Host :: 192.168.88.200 [2023:05:10:01:14:51]: Debug: Session :: DEADBEEFCAFE [2023:05:10:01:14:51]: Debug: ---Begin MessageBuffer--- PLAY ---End MessageBuffer--- [2023:05:10:01:14:51]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 7 ---End Response--- [2023:05:10:01:14:51]: Info: CLIENT CONNECTED [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Debug: type [IDX_REQUEST_IDR_FRAME] [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Debug: type [IDX_START_B] [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Verbose: type [IDX_START_A] [2023:05:10:01:14:51]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:51]: Debug: RAISE: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:51]: Debug: Received ping from 192.168.88.11:63422 [474E4950] [2023:05:10:01:14:51]: Debug: Start capturing Video [2023:05:10:01:14:51]: Debug: Detecting monitors... [2023:05:10:01:14:51]: Debug: ====== ADAPTER ===== Device Name : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB ====== OUTPUT ====== [2023:05:10:01:14:51]: Debug: Output Name : \\.\DISPLAY1 AttachedToDesktop : yes Resolution : 2560x1440 [2023:05:10:01:14:51]: Debug: ====== ADAPTER ===== Device Name : NVIDIA GeForce RTX 3070 Ti Laptop GPU Device Vendor ID : 0x000010DE Device Device ID : 0x000024A0 Device Video Mem : 8032 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB ====== OUTPUT ====== [2023:05:10:01:14:51]: Debug: ====== ADAPTER ===== Device Name : Microsoft Basic Render Driver Device Vendor ID : 0x00001414 Device Device ID : 0x0000008C Device Video Mem : 0 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB ====== OUTPUT ====== [2023:05:10:01:14:51]: Info: Device Description : Intel(R) UHD Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00004688 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 16234 MiB Feature Level : 0x0000B100 Capture size : 2560x1440 Offset : 0x0 Virtual Desktop : 2560x1440 [2023:05:10:01:14:51]: Info: Desktop resolution [2560x1440] [2023:05:10:01:14:51]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:51]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0.639648,0.330078] Green Primary : [0.299805,0.599609] Blue Primary : [0.149414,0.0595703] White Point : [0.3125,0.329102] Min Luminance : 0.5 nits Max Luminance : 270 nits Max Full Luminance : 270 nits [2023:05:10:01:14:51]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM] [2023:05:10:01:14:51]: Info: SDR color coding [Rec. 601] [2023:05:10:01:14:51]: Info: Color range: [MPEG] [2023:05:10:01:14:51]: Debug: Sent HDR mode: false [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Debug: --begin relative mouse move packet-- deltaX [1] deltaY [1] --end relative mouse move packet-- [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Debug: --begin relative mouse move packet-- deltaX [-1] deltaY [-1] --end relative mouse move packet-- [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Verbose: type [IDX_START_A] [2023:05:10:01:14:51]: Verbose: Recv: 192.168.88.11:58864 :: AUDIO [2023:05:10:01:14:51]: Debug: RAISE: 192.168.88.11:58864 :: AUDIO [2023:05:10:01:14:51]: Debug: Received ping from 192.168.88.11:58864 [474E4950] [2023:05:10:01:14:51]: Debug: Start capturing Audio [2023:05:10:01:14:51]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:51]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:51]: Verbose: type [IDX_START_A] [2023:05:10:01:14:51]: Debug: Stereo: supported [2023:05:10:01:14:51]: Debug: Surround 5.1: supported [2023:05:10:01:14:51]: Debug: Surround 7.1: supported [2023:05:10:01:14:51]: Verbose: ===== Device ===== Device ID : {0.0.0.00000000}.{05039245-f7b3-498f-b866-4acad5195acc} Device name : Speakers (Steam Streaming Speakers) Adapter name : Steam Streaming Speakers Device description : Speakers [2023:05:10:01:14:52]: Verbose: Generating multiple FEC blocks [2023:05:10:01:14:52]: Verbose: Key Frame [1] :: send [41] shards... [2023:05:10:01:14:52]: Verbose: Key Frame [1] :: send [41] shards... [2023:05:10:01:14:52]: Debug: Stereo: supported [2023:05:10:01:14:52]: Debug: Surround 5.1: supported [2023:05:10:01:14:52]: Verbose: Key Frame [1] :: send [41] shards... [2023:05:10:01:14:52]: Debug: Surround 7.1: supported [2023:05:10:01:14:52]: Verbose: ===== Device ===== Device ID : {0.0.0.00000000}.{75cd87a6-4236-413f-8365-3e03b48570b0} Device name : Speakers (Realtek(R) Audio) Adapter name : Realtek(R) Audio Device description : Speakers [2023:05:10:01:14:52]: Debug: Stereo: supported [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Frame [2] :: send [20] shards... [2023:05:10:01:14:52]: Debug: Surround 5.1: supported [2023:05:10:01:14:52]: Debug: Surround 7.1: supported [2023:05:10:01:14:52]: Verbose: ===== Device ===== Device ID : {0.0.0.00000000}.{c39510a4-09f9-4902-8214-9150ea3320e4} Device name : Speakers (Steam Streaming Microphone) Adapter name : Steam Streaming Microphone Device description : Speakers [2023:05:10:01:14:52]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:52]: Verbose: type [IDX_START_A] [2023:05:10:01:14:52]: Debug: Trying audio format [Stereo] [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Frame [3] :: send [14] shards... [2023:05:10:01:14:52]: Debug: Found audio format [Stereo] [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Increasing FEC percentage to 50 to meet parity shard minimum [2023:05:10:01:14:52]: Verbose: Frame [4] :: send [6] shards... [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Increasing FEC percentage to 50 to meet parity shard minimum [2023:05:10:01:14:52]: Verbose: Frame [5] :: send [6] shards... [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Increasing FEC percentage to 100 to meet parity shard minimum [2023:05:10:01:14:52]: Verbose: Frame [6] :: send [4] shards... [2023:05:10:01:14:52]: Verbose: Generating single FEC block [2023:05:10:01:14:52]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:52]: Verbose: Frame [7] :: send [3] shards... [2023:05:10:01:14:52]: Verbose: Recv: 192.168.88.11:58864 :: AUDIO [2023:05:10:01:14:52]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO ... [2023:05:10:01:14:57]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:57]: Verbose: Frame [173] :: send [3] shards... [2023:05:10:01:14:57]: Verbose: Audio [354] :: send... [2023:05:10:01:14:57]: Verbose: Audio [355] :: send... [2023:05:10:01:14:57]: Verbose: Audio FEC [352 0] :: send... [2023:05:10:01:14:57]: Verbose: Audio FEC [352 1] :: send... [2023:05:10:01:14:57]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:57]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:57]: Verbose: type [IDX_START_A] [2023:05:10:01:14:57]: Debug: METHOD :: GET [2023:05:10:01:14:57]: Debug: DESTINATION :: /api/logs [2023:05:10:01:14:57]: Debug: Sec-Fetch-Site -- same-origin [2023:05:10:01:14:57]: Debug: Sec-Fetch-Mode -- cors [2023:05:10:01:14:57]: Debug: Sec-Fetch-Dest -- empty [2023:05:10:01:14:57]: Debug: Authorization -- CREDENTIALS REDACTED [2023:05:10:01:14:57]: Debug: Connection -- keep-alive [2023:05:10:01:14:57]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:57]: Debug: Referer -- https://localhost:47990/troubleshooting [2023:05:10:01:14:57]: Debug: Accept-Language -- en-US,en;q=0.5 [2023:05:10:01:14:57]: Debug: User-Agent -- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0 [2023:05:10:01:14:57]: Debug: Accept -- */* [2023:05:10:01:14:57]: Debug: Host -- localhost:47990 [2023:05:10:01:14:57]: Debug: [--] [2023:05:10:01:14:57]: Debug: [--] [2023:05:10:01:14:57]: Verbose: Generating single FEC block [2023:05:10:01:14:57]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:57]: Verbose: Frame [174] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [175] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [176] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:58]: Verbose: type [IDX_START_A] [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [177] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [178] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Recv: 192.168.88.11:58864 :: AUDIO [2023:05:10:01:14:58]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [179] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: type [IDX_ENCRYPTED] [2023:05:10:01:14:58]: Verbose: type [IDX_START_A] [2023:05:10:01:14:58]: Debug: TUNNEL :: NONE [2023:05:10:01:14:58]: Debug: METHOD :: GET [2023:05:10:01:14:58]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:14:58]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:14:58]: Debug: Accept-Encoding -- gzip, deflate [2023:05:10:01:14:58]: Debug: Connection -- keep-alive [2023:05:10:01:14:58]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:14:58]: Debug: Accept -- */* [2023:05:10:01:14:58]: Debug: Host -- 192.168.88.200:47989 [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Debug: TUNNEL :: NONE [2023:05:10:01:14:58]: Debug: METHOD :: GET [2023:05:10:01:14:58]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:14:58]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:14:58]: Debug: Accept-Encoding -- gzip, deflate [2023:05:10:01:14:58]: Debug: Connection -- keep-alive [2023:05:10:01:14:58]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:14:58]: Debug: Accept -- */* [2023:05:10:01:14:58]: Debug: Host -- 192.168.88.200:47989 [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Debug: /CN=NVIDIA GameStream Client -- verified [2023:05:10:01:14:58]: Debug: TUNNEL :: HTTPS [2023:05:10:01:14:58]: Debug: METHOD :: GET [2023:05:10:01:14:58]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:14:58]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:14:58]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:14:58]: Debug: Connection -- keep-alive [2023:05:10:01:14:58]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:14:58]: Debug: Accept -- */* [2023:05:10:01:14:58]: Debug: Host -- 192.168.88.200:47984 [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Debug: uniqueid -- 0123456789ABCDEF [2023:05:10:01:14:58]: Debug: [--] [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [180] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [181] :: send [3] shards... [2023:05:10:01:14:58]: Info: CLIENT DISCONNECTED [2023:05:10:01:14:58]: Verbose: Generating single FEC block [2023:05:10:01:14:58]: Verbose: Increasing FEC percentage to 200 to meet parity shard minimum [2023:05:10:01:14:58]: Verbose: Frame [182] :: send [3] shards... [2023:05:10:01:14:58]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:58]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:58]: Verbose: Recv: 192.168.88.11:63422 :: VIDEO [2023:05:10:01:14:58]: Debug: Waiting for video to end... [2023:05:10:01:14:59]: Debug: Waiting for audio to end... [2023:05:10:01:14:59]: Debug: Waiting for control to end... [2023:05:10:01:14:59]: Debug: Resetting Input... [2023:05:10:01:14:59]: Debug: Removing references to any connections... [2023:05:10:01:14:59]: Debug: Session ended [2023:05:10:01:14:59]: Debug: Waiting for main listening thread to end... [2023:05:10:01:14:59]: Debug: Waiting for main video thread to end... [2023:05:10:01:14:59]: Debug: Waiting for main audio thread to end... [2023:05:10:01:14:59]: Debug: Waiting for main control thread to end... [2023:05:10:01:14:59]: Debug: All broadcasting threads ended [2023:05:10:01:15:00]: Debug: TUNNEL :: NONE [2023:05:10:01:15:00]: Debug: METHOD :: GET [2023:05:10:01:15:00]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:15:00]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:15:00]: Debug: Accept-Encoding -- gzip, deflate [2023:05:10:01:15:00]: Debug: Connection -- keep-alive [2023:05:10:01:15:00]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:15:00]: Debug: Accept -- */* [2023:05:10:01:15:00]: Debug: Host -- 192.168.88.200:47989 [2023:05:10:01:15:00]: Debug: [--] [2023:05:10:01:15:00]: Debug: [--] [2023:05:10:01:15:00]: Debug: /CN=NVIDIA GameStream Client -- verified [2023:05:10:01:15:00]: Debug: TUNNEL :: HTTPS [2023:05:10:01:15:00]: Debug: METHOD :: GET [2023:05:10:01:15:00]: Debug: DESTINATION :: /serverinfo [2023:05:10:01:15:00]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:15:00]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:15:00]: Debug: Connection -- keep-alive [2023:05:10:01:15:00]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:15:00]: Debug: Accept -- */* [2023:05:10:01:15:00]: Debug: Host -- 192.168.88.200:47984 [2023:05:10:01:15:00]: Debug: [--] [2023:05:10:01:15:00]: Debug: uniqueid -- 0123456789ABCDEF [2023:05:10:01:15:00]: Debug: [--] [2023:05:10:01:15:01]: Debug: /CN=NVIDIA GameStream Client -- verified [2023:05:10:01:15:01]: Debug: TUNNEL :: HTTPS [2023:05:10:01:15:01]: Debug: METHOD :: GET [2023:05:10:01:15:01]: Debug: DESTINATION :: /applist [2023:05:10:01:15:01]: Debug: User-Agent -- Moonlight/1 CFNetwork/1335.0.2 Darwin/21.6.0 [2023:05:10:01:15:01]: Debug: Accept-Encoding -- gzip, deflate, br [2023:05:10:01:15:01]: Debug: Connection -- keep-alive [2023:05:10:01:15:01]: Debug: Accept-Language -- en-US,en;q=0.9 [2023:05:10:01:15:01]: Debug: Accept -- */* [2023:05:10:01:15:01]: Debug: Host -- 192.168.88.200:47984 [2023:05:10:01:15:01]: Debug: [--] [2023:05:10:01:15:01]: Debug: uniqueid -- 0123456789ABCDEF [2023:05:10:01:15:01]: Debug: [--] ```
ReenigneArcher commented 1 year ago

Which commit did you use to ensure this is present on nightly?

You can run sunshine --version to get the info.

Myp3a commented 1 year ago

Latest one, 4ae412b2 Sunshine version: v0.19.1.4ae412b21945b87a980dcdc31d219dc0699aabe5

cgutman commented 1 year ago

Sunshine stream correctly sets default device to Steam Speakers and back to previous after the stream ends. However, if headphones were disconnected at the time of the stream, default audio device reverts to speakers.

probably, this is more a Windows issue, but I'll be really glad if this quirk could be solved

Yeah, this is a limitation of the (undocumented) Windows API we have to use to adjust the default audio device. Windows has a bunch of heuristics for selecting the default audio endpoint.

When we restore the default audio device after changing it to use the virtual sink, there's no way to indicate to Windows that a now-absent device should be set to the default (or demote the virtual sink endpoint from default status to let Windows pick the next one).

We could disable the virtual sink device after streaming to force the audio subsystem to pick a new default, but that's not really safe to do generally. It could cause issues with VB-Cable or Steam Remote Play because they don't expect their device to be disabled and probably don't have logic to re-enable it. Since these aren't our drivers, I want Sunshine to be respectful of that and avoid breaking their original users.

Anatharias commented 1 year ago

I don't know if this is relevant to OP's problem, however, I regularly have an Audio Sink address change. Because of this, each time I want to use moonlight, I must first launch the tools to get the correct audio address, then update Sunshine, then launch my stream. If I don,t do that, the stream just doesn't launch and exits with an unkown error. The audio address changes all the time and the proces to look it up is quite annoying.

Can't you create a tool that directly fetches the information from within moonlight (with a dropdown)? Better, can you make it to sunshine automatically fetches the audio sink by name, and update its address dynamically. I understand that is challenging coding, but as it currently is, it's quite annoying :-/

ReenigneArcher commented 1 year ago

@Anatharias that's already the case in the nightly release

LizardByte-bot commented 1 year ago

This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.

LizardByte-bot commented 1 year ago

This issue was closed because it has been stalled for 10 days with no activity.