loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.78k stars 152 forks source link

Sunshine lost IPV6 support on windows from release 8 to 9. #212

Open JonasGMorsch opened 3 years ago

JonasGMorsch commented 3 years ago

This is what is looks like to run sunshine 9+ on a ipv6 machine:

...
Info: /CN=NVIDIA GameStream Client -- verfied
Info: Executing: []
Warning: Rejected connection from [127.0.0.1]: it's not properly set up
Error: Initial Ping Timeout
Error: Initial Ping Timeout
Info: 192.168.1.205: Ping Timeout

Here Aplication Exits, but by forcing IPV4 it works:

...
Info: /CN=NVIDIA GameStream Client -- verfied
Info: Executing: []
Info: CLIENT CONNECTED
...

On sunshine 8 & ipv6 it just works as intended:

...
Info: /CN=NVIDIA GameStream Client -- verfied
Info: CLIENT CONNECTED TO RTSP
Info: CLIENT DISCONNECTED FROM RTSP
Info: CLIENT CONNECTED
...

I'm trying to narrow it down further, but I kwon nothing about the code My best guess it is something to do with tcp::v4() here: https://github.com/loki-47-6F-64/sunshine/commit/b346ac2eb0ed6e514ea183ea44b6f3a0826dfca6#diff-4986806f3ca0fac4e7b66a685bf4b94dc63981f29f0042eab77e24d54cfc9903L64

Thank you all for your time.

loki-47-6F-64 commented 3 years ago

Could you set the log level to debug?

It would make it more easier to see where it fails.

JonasGMorsch commented 3 years ago

Done! The full report is about 400 lines each, I obfuscated my ipv4, as well as ipv6 and private host names, the rest is the program raw output.

Sunshine 8 on ipv6:

...
[2021:09:11:23:54:59]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2021:09:11:23:54:59]: Debug: Source format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2021:09:11:23:54:59]: Info: Color coding [Rec. 601]
[2021:09:11:23:54:59]: Info: Color range: [JPEG]
[2021:09:11:23:54:59]: Warning: software: h264: replacing nalu prefix data
[2021:09:11:23:54:59]: Info:
[2021:09:11:23:54:59]: Info: //////////////////////////////////////////////////////////////
[2021:09:11:23:54:59]: Info: //                                                          //
[2021:09:11:23:54:59]: Info: // Ignore any errors mentioned above, they are not relevant //
[2021:09:11:23:54:59]: Info: //                                                          //
[2021:09:11:23:54:59]: Info: //////////////////////////////////////////////////////////////
[2021:09:11:23:54:59]: Info:
[2021:09:11:23:54:59]: Debug: ------  h264 ------
[2021:09:11:23:54:59]: Debug: PASSED: supported
[2021:09:11:23:54:59]: Debug: REF_FRAMES_RESTRICT: supported
[2021:09:11:23:54:59]: Debug: REF_FRAMES_AUTOSELECT: supported
[2021:09:11:23:54:59]: Debug: SLICE: supported
[2021:09:11:23:54:59]: Debug: DYNAMIC_RANGE: unsupported
[2021:09:11:23:54:59]: Debug: VUI_PARAMETERS: supported
[2021:09:11:23:54:59]: Debug: NALU_PREFIX_5b: unsupported
[2021:09:11:23:54:59]: Debug: -------------------
[2021:09:11:23:54:59]: Info: Found encoder software: [libx264]
[2021:09:11:23:54:59]: Info: Configuration UI available at [https://localhost:47990]
[2021:09:11:23:54:59]: Info: Registered Sunshine Gamestream service
[2021:09:11:23:55:00]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:00]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:00]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:00]: Debug: METHOD :: GET
[2021:09:11:23:55:00]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:00]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:00]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:00]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:00]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:00]: Debug:  [--]
[2021:09:11:23:55:00]: Debug: uuid -- 890744ad-0369-4b6e-aa95-47131f663b04
[2021:09:11:23:55:00]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:00]: Debug:  [--]
[2021:09:11:23:55:01]: Debug: Found device: http://192.168.1.1:37215/62a06dad-d67e-5b03-90db-e5492b1bf006/upnpdev.xml
[2021:09:11:23:55:01]: Debug: Found valid IGD device: http://192.168.1.1:37215/62a06dad-d67e-5b03-90db-e5492b1bf006/upnpdev.xml
[2021:09:11:23:55:01]: Debug: Found external ip: x:x:x:x
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:02]: Debug: METHOD :: GET
[2021:09:11:23:55:02]: Debug: DESTINATION :: /appasset
[2021:09:11:23:55:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: AssetIdx -- 0
[2021:09:11:23:55:02]: Debug: appid -- 1
[2021:09:11:23:55:02]: Debug: AssetType -- 2
[2021:09:11:23:55:02]: Debug: uuid -- c1a0177d-36c5-44ba-ba21-9f77740448e0
[2021:09:11:23:55:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:02]: Debug: METHOD :: GET
[2021:09:11:23:55:02]: Debug: DESTINATION :: /appasset
[2021:09:11:23:55:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: AssetIdx -- 0
[2021:09:11:23:55:02]: Debug: appid -- 1
[2021:09:11:23:55:02]: Debug: AssetType -- 2
[2021:09:11:23:55:02]: Debug: uuid -- cb841a3d-0f00-4fbd-8098-732be924fac2
[2021:09:11:23:55:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:02]: Debug: METHOD :: GET
[2021:09:11:23:55:02]: Debug: DESTINATION :: /appasset
[2021:09:11:23:55:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: AssetIdx -- 0
[2021:09:11:23:55:02]: Debug: appid -- 1
[2021:09:11:23:55:02]: Debug: AssetType -- 2
[2021:09:11:23:55:02]: Debug: uuid -- 585040e1-ab0a-4371-82b1-16cdbe00a12d
[2021:09:11:23:55:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:02]: Debug: METHOD :: GET
[2021:09:11:23:55:02]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: uuid -- 4ac4fe43-2d4b-45c7-afa2-85f3ec151f65
[2021:09:11:23:55:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:02]: Debug: METHOD :: GET
[2021:09:11:23:55:02]: Debug: DESTINATION :: /applist
[2021:09:11:23:55:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:02]: Debug: uuid -- 5b04da21-c1cb-4d3b-864c-fb4eed2a1bf0
[2021:09:11:23:55:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:02]: Debug:  [--]
[2021:09:11:23:55:04]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:04]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:04]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:04]: Debug: METHOD :: GET
[2021:09:11:23:55:04]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:04]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:04]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:04]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:04]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:04]: Debug:  [--]
[2021:09:11:23:55:04]: Debug: uuid -- 421984f2-956f-4871-ad5b-f50b5e0d2788
[2021:09:11:23:55:04]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:04]: Debug:  [--]
[2021:09:11:23:55:05]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:05]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:05]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:05]: Debug: METHOD :: GET
[2021:09:11:23:55:05]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:05]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:05]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:05]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:05]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:05]: Debug:  [--]
[2021:09:11:23:55:05]: Debug: uuid -- b1c7287c-34e5-4110-a81c-d32674335e4e
[2021:09:11:23:55:05]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:05]: Debug:  [--]
[2021:09:11:23:55:05]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:05]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:05]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:05]: Debug: METHOD :: GET
[2021:09:11:23:55:05]: Debug: DESTINATION :: /launch
[2021:09:11:23:55:05]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:05]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:05]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:05]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:05]: Debug:  [--]
[2021:09:11:23:55:05]: Debug: localAudioPlayMode -- 0
[2021:09:11:23:55:05]: Debug: rikeyid -- 613821720
[2021:09:11:23:55:05]: Debug: surroundAudioInfo -- 196610
[2021:09:11:23:55:05]: Debug: rikey -- F18C28BDBCAFB17DF4B329917D330A82
[2021:09:11:23:55:05]: Debug: sops -- 0
[2021:09:11:23:55:05]: Debug: mode -- 854x480x60
[2021:09:11:23:55:05]: Debug: appid -- 1
[2021:09:11:23:55:05]: Debug: uuid -- 5b7d8cb7-fb28-49cb-8810-32bf0359ce2b
[2021:09:11:23:55:05]: Debug: additionalStates -- 1
[2021:09:11:23:55:05]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:05]: Debug:  [--]
[2021:09:11:23:55:05]: Info: Executing: []
[2021:09:11:23:55:06]: Info: CLIENT CONNECTED TO RTSP
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [1]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: OPTIONS
[2021:09:11:23:55:06]: Debug: target :: rtspru://0.0.0.0:48010
[2021:09:11:23:55:06]: Debug: CSeq ::  1
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
OPTIONS
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 1

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [2]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: DESCRIBE
[2021:09:11:23:55:06]: Debug: target :: rtspru://0.0.0.0:48010
[2021:09:11:23:55:06]: Debug: CSeq ::  2
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Accept ::  application/sdp
[2021:09:11:23:55:06]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
DESCRIBE
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 2

a=fmtp:97 surround-params=21101
a=fmtp:97 surround-params=642012435
a=fmtp:97 surround-params=660012345
a=fmtp:97 surround-params=85301233456
a=fmtp:97 surround-params=88001233456

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [3]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: SETUP
[2021:09:11:23:55:06]: Debug: target :: streamid=audio/0/0
[2021:09:11:23:55:06]: Debug: CSeq ::  3
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:55:06]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 3
Session: DEADBEEFCAFE;timeout = 90

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [4]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: SETUP
[2021:09:11:23:55:06]: Debug: target :: streamid=video/0/0
[2021:09:11:23:55:06]: Debug: CSeq ::  4
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:55:06]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:55:06]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 4

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [5]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: SETUP
[2021:09:11:23:55:06]: Debug: target :: streamid=control/1/0
[2021:09:11:23:55:06]: Debug: CSeq ::  5
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:55:06]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:55:06]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 5

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [6]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload :: v=0
o=android 0 14 IN IPv6 [x:x:x:x:x:x:x:x]
s=NVIDIA Streaming Client
a=x-nv-video[0].clientViewportWd:854
a=x-nv-video[0].clientViewportHt:480
a=x-nv-video[0].maxFPS:59
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:1900
a=x-nv-video[0].initialPeakBitrateKbps:1900
a=x-nv-vqos[0].bw.minimumBitrateKbps:1900
a=x-nv-vqos[0].bw.maximumBitrateKbps:1900
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.useReliableUdp:1
a=x-nv-ri.useControlChannel:1
a=x-nv-vqos[0].fec.repairPercent:20
a=x-nv-vqos[0].drc.enable:0
a=x-nv-general.enableRecoveryMode:0
a=x-nv-video[0].videoEncoderSlicesPerFrame:4
a=x-nv-clientSupportHevc:0
a=x-nv-vqos[0].bitStreamFormat:0
a=x-nv-video[0].dynamicRangeMode:0
a=x-nv-video[0].maxNumReferenceFrames:0
a=x-nv-video[0].clientRefreshRateX100:6000
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:10
a=x-nv-video[0].encoderCscMode:0
t=0 0
m=video 47998
[2021:09:11:23:55:06]: Debug: command :: ANNOUNCE
[2021:09:11:23:55:06]: Debug: target :: streamid=video
[2021:09:11:23:55:06]: Debug: CSeq ::  6
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:55:06]: Debug: Content-type ::  application/sdp
[2021:09:11:23:55:06]: Debug: Content-length ::  1329
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
ANNOUNCE
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 6

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [7]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: PLAY
[2021:09:11:23:55:06]: Debug: target :: streamid=video
[2021:09:11:23:55:06]: Debug: CSeq ::  7
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
PLAY
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 7

---End Response---
[2021:09:11:23:55:06]: Debug: type [REQUEST]
[2021:09:11:23:55:06]: Debug: sequence number [8]
[2021:09:11:23:55:06]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:55:06]: Debug: payload ::
[2021:09:11:23:55:06]: Debug: command :: PLAY
[2021:09:11:23:55:06]: Debug: target :: streamid=audio
[2021:09:11:23:55:06]: Debug: CSeq ::  8
[2021:09:11:23:55:06]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:55:06]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:55:06]: Debug: ---Begin MessageBuffer---
PLAY
---End MessageBuffer---
[2021:09:11:23:55:06]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 8

---End Response---
[2021:09:11:23:55:06]: Info: CLIENT DISCONNECTED FROM RTSP
[2021:09:11:23:55:06]: Info: CLIENT CONNECTED
[2021:09:11:23:55:06]: Debug: type [IDX_START_A]
[2021:09:11:23:55:06]: Debug: type [IDX_START_B]
[2021:09:11:23:55:06]: Debug: RAISE: 127.0.0.1:51150 :: AUDIO
[2021:09:11:23:55:06]: Debug: Start capturing Audio
[2021:09:11:23:55:06]: Debug: RAISE: 127.0.0.1:51148 :: VIDEO
[2021:09:11:23:55:06]: Debug: Start capturing Video
[2021:09:11:23:55:06]: Debug: Couldn't initialize audio client for [Mono]: [0x88890008]
[2021:09:11:23:55:06]: Debug: Mono: unsupported
[2021:09:11:23:55:06]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:06]: Debug: Stereo: supported
[2021:09:11:23:55:06]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:06]: Debug: --begin relative mouse move packet--
deltaX [1]
deltaY [1]
--end relative mouse move packet--
[2021:09:11:23:55:06]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:06]: Debug: --begin relative mouse move packet--
deltaX [-1]
deltaY [-1]
--end relative mouse move packet--
[2021:09:11:23:55:06]: Info:
Device Description : AMD Radeon RX 580 2048SP
Device Vendor ID   : 0x00001002
Device Device ID   : 0x00006FDF
Device Video Mem   : 4075 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16343 MiB
Feature Level      : 0x0000B100
Capture size       : 1360x768
Offset             : 1280x107
Virtual Desktop    : 2640x1024
[2021:09:11:23:55:06]: Warning: Failed to set realtime GPU priority. Please run application as administrator for optimal performance.
[2021:09:11:23:55:06]: Debug: Source format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2021:09:11:23:55:06]: Info: Color coding [Rec. 601]
[2021:09:11:23:55:06]: Info: Color range: [MPEG]
[2021:09:11:23:55:06]: Debug: Trying audio format [Mono]
[2021:09:11:23:55:06]: Debug: Couldn't initialize audio client for [Mono]: [0x88890008]
[2021:09:11:23:55:06]: Debug: Trying audio format [Stereo]
[2021:09:11:23:55:06]: Debug: Found audio format [Stereo]
[2021:09:11:23:55:08]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:08]: Debug: --begin mouse button packet--
action [08]
button [01000000]
--end mouse button packet--
[2021:09:11:23:55:08]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:08]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:08]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:21]: Debug: METHOD :: GET
[2021:09:11:23:55:21]: Debug: DESTINATION :: /appasset
[2021:09:11:23:55:21]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:21]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:21]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:21]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:21]: Debug:  [--]
[2021:09:11:23:55:21]: Debug: AssetIdx -- 0
[2021:09:11:23:55:21]: Debug: appid -- 1
[2021:09:11:23:55:21]: Debug: AssetType -- 2
[2021:09:11:23:55:21]: Debug: uuid -- bea7702d-513d-4f72-b777-b0199179ebfd
[2021:09:11:23:55:21]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:21]: Debug:  [--]
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin mouse button packet--
action [09]
button [01000000]
--end mouse button packet--
[2021:09:11:23:55:21]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:21]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:21]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:21]: Debug: METHOD :: GET
[2021:09:11:23:55:21]: Debug: DESTINATION :: /appasset
[2021:09:11:23:55:21]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:21]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:21]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:21]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:21]: Debug:  [--]
[2021:09:11:23:55:21]: Debug: AssetIdx -- 0
[2021:09:11:23:55:21]: Debug: appid -- 1
[2021:09:11:23:55:21]: Debug: AssetType -- 2
[2021:09:11:23:55:21]: Debug: uuid -- 929779dc-1b70-4372-8309-e271a07eb0f5
[2021:09:11:23:55:21]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:21]: Debug:  [--]
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin relative mouse move packet--
deltaX [-6]
deltaY [3]
--end relative mouse move packet--
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin relative mouse move packet--
deltaX [-26]
deltaY [3]
--end relative mouse move packet--
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin relative mouse move packet--
deltaX [-45]
deltaY [0]
--end relative mouse move packet--
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin relative mouse move packet--
deltaX [-28]
deltaY [-1]
--end relative mouse move packet--
[2021:09:11:23:55:21]: Debug: type [IDX_INPUT_DATA]
[2021:09:11:23:55:21]: Debug: --begin relative mouse move packet--
deltaX [-9]
deltaY [-2]
--end relative mouse move packet--
[2021:09:11:23:55:21]: Info: CLIENT DISCONNECTED
[2021:09:11:23:55:21]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:22]: Debug: METHOD :: GET
[2021:09:11:23:55:22]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:22]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:22]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:22]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:22]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:22]: Debug:  [--]
[2021:09:11:23:55:22]: Debug: uuid -- 79b9fae5-9177-4891-bfc3-f0a2b3e4698f
[2021:09:11:23:55:22]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:22]: Debug:  [--]
[2021:09:11:23:55:22]: Debug: Waiting for video to end...
[2021:09:11:23:55:22]: Debug: Waiting for audio to end...
[2021:09:11:23:55:22]: Debug: Waiting for control to end...
[2021:09:11:23:55:22]: Debug: Resetting Input...
[2021:09:11:23:55:22]: Debug: Session ended
[2021:09:11:23:55:22]: Debug: Waiting for main listening thread to end...
[2021:09:11:23:55:22]: Debug: Waiting for main video thread to end...
[2021:09:11:23:55:22]: Debug: Waiting for main audio thread to end...
[2021:09:11:23:55:22]: Debug: Waiting for main control thread to end...
[2021:09:11:23:55:22]: Debug: All broadcasting threads ended
[2021:09:11:23:55:22]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:22]: Debug: METHOD :: GET
[2021:09:11:23:55:22]: Debug: DESTINATION :: /applist
[2021:09:11:23:55:22]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:22]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:22]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:22]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:22]: Debug:  [--]
[2021:09:11:23:55:22]: Debug: uuid -- 7c72b2bd-6d9b-43e1-9a27-e56e9be6bebb
[2021:09:11:23:55:22]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:55:22]: Debug:  [--]
[2021:09:11:23:55:22]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:55:22]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:55:22]: Debug: METHOD :: GET
[2021:09:11:23:55:22]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:55:22]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:55:22]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:55:22]: Debug: Connection -- Keep-Alive
[2021:09:11:23:55:22]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:55:22]: Debug:  [--]
...
[2021:09:11:23:55:26]: Info: Interrupt handler called
[2021:09:11:23:55:26]: Info: Unmapping UPNP ports...
[2021:09:11:23:55:26]: Debug: Unmapping UPNP ports
[2021:09:11:23:55:26]: Info: Unregistered Sunshine Gamestream service
PS C:\Sunshine8-Windows>

Sunshine 9 on ipv6:

...
[2021:09:11:23:51:59]: Debug: Source format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2021:09:11:23:51:59]: Info: Color coding [Rec. 601]
[2021:09:11:23:51:59]: Info: Color range: [JPEG]
[2021:09:11:23:51:59]: Warning: software: h264: replacing nalu prefix data
[2021:09:11:23:51:59]: Info:
[2021:09:11:23:51:59]: Info: //////////////////////////////////////////////////////////////
[2021:09:11:23:51:59]: Info: //                                                          //
[2021:09:11:23:51:59]: Info: // Ignore any errors mentioned above, they are not relevant //
[2021:09:11:23:51:59]: Info: //                                                          //
[2021:09:11:23:51:59]: Info: //////////////////////////////////////////////////////////////
[2021:09:11:23:51:59]: Info:
[2021:09:11:23:51:59]: Debug: ------  h264 ------
[2021:09:11:23:51:59]: Debug: PASSED: supported
[2021:09:11:23:51:59]: Debug: REF_FRAMES_RESTRICT: supported
[2021:09:11:23:51:59]: Debug: REF_FRAMES_AUTOSELECT: supported
[2021:09:11:23:51:59]: Debug: SLICE: supported
[2021:09:11:23:51:59]: Debug: DYNAMIC_RANGE: unsupported
[2021:09:11:23:51:59]: Debug: VUI_PARAMETERS: supported
[2021:09:11:23:51:59]: Debug: NALU_PREFIX_5b: unsupported
[2021:09:11:23:51:59]: Debug: -------------------
[2021:09:11:23:51:59]: Info: Found encoder software: [libx264]
[2021:09:11:23:51:59]: Info: Configuration UI available at [https://localhost:47990]
[2021:09:11:23:52:00]: Info: Registered Sunshine Gamestream service
[2021:09:11:23:52:00]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:00]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:00]: Debug: METHOD :: GET
[2021:09:11:23:52:00]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:52:00]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:00]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:00]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:00]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:00]: Debug:  [--]
[2021:09:11:23:52:00]: Debug: uuid -- d5f692b1-0fcc-43c1-8cf6-d3dc69e6916b
[2021:09:11:23:52:00]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:00]: Debug:  [--]
[2021:09:11:23:52:01]: Debug: Found device: http://192.168.1.1:37215/62a06dad-d67e-5b03-90db-e5492b1bf006/upnpdev.xml
[2021:09:11:23:52:01]: Debug: Found valid IGD device: http://192.168.1.1:37215/62a06dad-d67e-5b03-90db-e5492b1bf006/upnpdev.xml
[2021:09:11:23:52:01]: Debug: Found external ip: x:x:x:x
[2021:09:11:23:52:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:01]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:01]: Debug: METHOD :: GET
[2021:09:11:23:52:01]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:01]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:01]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:01]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:01]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:01]: Debug:  [--]
[2021:09:11:23:52:01]: Debug: AssetIdx -- 0
[2021:09:11:23:52:01]: Debug: appid -- 1
[2021:09:11:23:52:01]: Debug: AssetType -- 2
[2021:09:11:23:52:01]: Debug: uuid -- 484447fd-5c15-4d25-9bf6-cfe608776df4
[2021:09:11:23:52:01]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:01]: Debug:  [--]
[2021:09:11:23:52:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:01]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:01]: Debug: METHOD :: GET
[2021:09:11:23:52:01]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:01]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:01]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:01]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:01]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:01]: Debug:  [--]
[2021:09:11:23:52:01]: Debug: AssetIdx -- 0
[2021:09:11:23:52:01]: Debug: appid -- 1
[2021:09:11:23:52:01]: Debug: AssetType -- 2
[2021:09:11:23:52:01]: Debug: uuid -- 46f7d469-389a-40be-92d6-96f3eb0413d9
[2021:09:11:23:52:01]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:01]: Debug:  [--]
[2021:09:11:23:52:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:02]: Debug: METHOD :: GET
[2021:09:11:23:52:02]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Debug: AssetIdx -- 0
[2021:09:11:23:52:02]: Debug: appid -- 1
[2021:09:11:23:52:02]: Debug: AssetType -- 2
[2021:09:11:23:52:02]: Debug: uuid -- 09835f16-7e97-49f5-90d5-a5908f356c3f
[2021:09:11:23:52:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:02]: Debug: METHOD :: GET
[2021:09:11:23:52:02]: Debug: DESTINATION :: /serverinfo
[2021:09:11:23:52:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Debug: uuid -- b82c1168-58f2-440a-a530-8ded4860adf8
[2021:09:11:23:52:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:02]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:02]: Debug: METHOD :: GET
[2021:09:11:23:52:02]: Debug: DESTINATION :: /launch
[2021:09:11:23:52:02]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:02]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:02]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:02]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Debug: localAudioPlayMode -- 0
[2021:09:11:23:52:02]: Debug: rikeyid -- -194302596
[2021:09:11:23:52:02]: Debug: surroundAudioInfo -- 196610
[2021:09:11:23:52:02]: Debug: rikey -- 8D500D851457951A96EF5AAE0CF80547
[2021:09:11:23:52:02]: Debug: sops -- 0
[2021:09:11:23:52:02]: Debug: mode -- 854x480x60
[2021:09:11:23:52:02]: Debug: appid -- 1
[2021:09:11:23:52:02]: Debug: uuid -- 72b54ed2-3dc8-4742-b5f6-3a61e24a6eaf
[2021:09:11:23:52:02]: Debug: additionalStates -- 1
[2021:09:11:23:52:02]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:02]: Debug:  [--]
[2021:09:11:23:52:02]: Info: Executing: []
[2021:09:11:23:52:02]: Debug: handle_read(): Handle read of size: 89 bytes
[2021:09:11:23:52:02]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:02]: Debug: type [REQUEST]
[2021:09:11:23:52:02]: Debug: sequence number [1]
[2021:09:11:23:52:02]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:02]: Debug: payload ::
[2021:09:11:23:52:02]: Debug: command :: OPTIONS
[2021:09:11:23:52:02]: Debug: target :: rtsp://0.0.0.0:48010
[2021:09:11:23:52:02]: Debug: CSeq ::  1
[2021:09:11:23:52:02]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:02]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:02]: Debug: ---Begin MessageBuffer---
OPTIONS
---End MessageBuffer---
[2021:09:11:23:52:02]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 1

---End Response---
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 165 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [2]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload ::
[2021:09:11:23:52:03]: Debug: command :: DESCRIBE
[2021:09:11:23:52:03]: Debug: target :: rtsp://0.0.0.0:48010
[2021:09:11:23:52:03]: Debug: CSeq ::  2
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Accept ::  application/sdp
[2021:09:11:23:52:03]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
DESCRIBE
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 2

a=fmtp:97 surround-params=21101
a=fmtp:97 surround-params=642012435
a=fmtp:97 surround-params=660012345
a=fmtp:97 surround-params=85301233456
a=fmtp:97 surround-params=88001233456

---End Response---
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 183 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [3]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload ::
[2021:09:11:23:52:03]: Debug: command :: SETUP
[2021:09:11:23:52:03]: Debug: target :: streamid=audio/0/0
[2021:09:11:23:52:03]: Debug: CSeq ::  3
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:52:03]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 3
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=48000

---End Response---
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 207 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [4]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload ::
[2021:09:11:23:52:03]: Debug: command :: SETUP
[2021:09:11:23:52:03]: Debug: target :: streamid=video/0/0
[2021:09:11:23:52:03]: Debug: CSeq ::  4
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:52:03]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:52:03]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 4
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47998

---End Response---
[2021:09:11:23:52:03]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:03]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:03]: Debug: METHOD :: GET
[2021:09:11:23:52:03]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:03]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:03]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:03]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:03]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:03]: Debug:  [--]
[2021:09:11:23:52:03]: Debug: AssetIdx -- 0
[2021:09:11:23:52:03]: Debug: appid -- 1
[2021:09:11:23:52:03]: Debug: AssetType -- 2
[2021:09:11:23:52:03]: Debug: uuid -- f937ef81-71f9-4a67-b28b-61b1a6d672d1
[2021:09:11:23:52:03]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:03]: Debug:  [--]
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 210 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [5]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload ::
[2021:09:11:23:52:03]: Debug: command :: SETUP
[2021:09:11:23:52:03]: Debug: target :: streamid=control/13/0
[2021:09:11:23:52:03]: Debug: CSeq ::  5
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:52:03]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:09:11:23:52:03]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 5
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47999

---End Response---
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 536 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 368 bytes
[2021:09:11:23:52:03]: Debug: Found Content-Length:  1339 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 536 bytes
[2021:09:11:23:52:03]: Debug: Found Content-Length:  1339 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 435 bytes
[2021:09:11:23:52:03]: Debug: Found Content-Length:  1339 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [6]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload :: v=0
o=android 0 14 IN IPv6 [x:x:x:x:x:x:x:x]
s=NVIDIA Streaming Client
a=x-nv-video[0].clientViewportWd:854
a=x-nv-video[0].clientViewportHt:480
a=x-nv-video[0].maxFPS:59
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:1900
a=x-nv-video[0].initialPeakBitrateKbps:1900
a=x-nv-vqos[0].bw.minimumBitrateKbps:1900
a=x-nv-vqos[0].bw.maximumBitrateKbps:1900
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].drc.enable:0
a=x-nv-general.enableRecoveryMode:0
a=x-nv-video[0].videoEncoderSlicesPerFrame:4
a=x-nv-clientSupportHevc:0
a=x-nv-vqos[0].bitStreamFormat:0
a=x-nv-video[0].dynamicRangeMode:0
a=x-nv-video[0].maxNumReferenceFrames:0
a=x-nv-video[0].clientRefreshRateX100:6000
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:10
a=x-nv-video[0].encoderCscMode:0
t=0 0
m=video 47998
[2021:09:11:23:52:03]: Debug: command :: ANNOUNCE
[2021:09:11:23:52:03]: Debug: target :: streamid=control/13/0
[2021:09:11:23:52:03]: Debug: CSeq ::  6
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:52:03]: Debug: Content-type ::  application/sdp
[2021:09:11:23:52:03]: Debug: Content-length ::  1339
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
ANNOUNCE
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 6

---End Response---
[2021:09:11:23:52:03]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:03]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:03]: Debug: METHOD :: GET
[2021:09:11:23:52:03]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:03]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:03]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:03]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:03]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:03]: Debug:  [--]
[2021:09:11:23:52:03]: Debug: AssetIdx -- 0
[2021:09:11:23:52:03]: Debug: appid -- 1
[2021:09:11:23:52:03]: Debug: AssetType -- 2
[2021:09:11:23:52:03]: Debug: uuid -- b15dfc23-56cc-433f-ba78-17e15590a940
[2021:09:11:23:52:03]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:11:23:52:03]: Debug:  [--]
[2021:09:11:23:52:03]: Debug: handle_read(): Handle read of size: 91 bytes
[2021:09:11:23:52:03]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:09:11:23:52:03]: Debug: type [REQUEST]
[2021:09:11:23:52:03]: Debug: sequence number [7]
[2021:09:11:23:52:03]: Debug: protocol :: RTSP/1.0
[2021:09:11:23:52:03]: Debug: payload ::
[2021:09:11:23:52:03]: Debug: command :: PLAY
[2021:09:11:23:52:03]: Debug: target :: /
[2021:09:11:23:52:03]: Debug: CSeq ::  7
[2021:09:11:23:52:03]: Debug: X-GS-ClientVersion ::  14
[2021:09:11:23:52:03]: Debug: Host ::  0.0.0.0
[2021:09:11:23:52:03]: Debug: Session ::   DEADBEEFCAFE
[2021:09:11:23:52:03]: Debug: ---Begin MessageBuffer---
PLAY
---End MessageBuffer---
[2021:09:11:23:52:03]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 7

---End Response---
[2021:09:11:23:52:04]: Warning: Rejected connection from [127.0.0.1]: it's not properly set up
[2021:09:11:23:52:05]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:11:23:52:05]: Debug: TUNNEL :: HTTPS
[2021:09:11:23:52:05]: Debug: METHOD :: GET
[2021:09:11:23:52:05]: Debug: DESTINATION :: /appasset
[2021:09:11:23:52:05]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:11:23:52:05]: Debug: Accept-Encoding -- gzip
[2021:09:11:23:52:05]: Debug: Connection -- Keep-Alive
[2021:09:11:23:52:05]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:11:23:52:05]: Debug:  [--]
...
[2021:09:11:23:52:08]: Info: Interrupt handler called
[2021:09:11:23:52:08]: Debug: Waiting for video to end...
PS C:\Sunshine9-Windows>
JonasGMorsch commented 3 years ago

This time the end of sunshine 9 with ipv6 got different, actually the errors look like the same output as the first one with no debug info.

...
---End Response---
[2021:09:12:00:27:38]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:12:00:27:38]: Debug: TUNNEL :: HTTPS
[2021:09:12:00:27:38]: Debug: METHOD :: GET
[2021:09:12:00:27:38]: Debug: DESTINATION :: /appasset
[2021:09:12:00:27:38]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:12:00:27:38]: Debug: Accept-Encoding -- gzip
[2021:09:12:00:27:38]: Debug: Connection -- Keep-Alive
[2021:09:12:00:27:38]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:12:00:27:38]: Debug:  [--]
[2021:09:12:00:27:38]: Debug: AssetIdx -- 0
[2021:09:12:00:27:38]: Debug: appid -- 1
[2021:09:12:00:27:38]: Debug: AssetType -- 2
[2021:09:12:00:27:38]: Debug: uuid -- 93b6d9e0-2209-46c1-91d6-08a54172662b
[2021:09:12:00:27:38]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:12:00:27:38]: Debug:  [--]
[2021:09:12:00:27:38]: Warning: Rejected connection from [127.0.0.1]: it's not properly set up
[2021:09:12:00:27:38]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:09:12:00:27:38]: Debug: TUNNEL :: HTTPS
[2021:09:12:00:27:38]: Debug: METHOD :: GET
[2021:09:12:00:27:38]: Debug: DESTINATION :: /appasset
[2021:09:12:00:27:38]: Debug: User-Agent -- okhttp/3.12.13
[2021:09:12:00:27:38]: Debug: Accept-Encoding -- gzip
[2021:09:12:00:27:38]: Debug: Connection -- Keep-Alive
[2021:09:12:00:27:38]: Debug: Host -- *MY HOST*.dynv6.net:47984
[2021:09:12:00:27:38]: Debug:  [--]
[2021:09:12:00:27:38]: Debug: AssetIdx -- 0
[2021:09:12:00:27:38]: Debug: appid -- 1
[2021:09:12:00:27:38]: Debug: AssetType -- 2
[2021:09:12:00:27:38]: Debug: uuid -- 17e758b3-3b4f-46b0-9ccf-bca13a7ee82a
[2021:09:12:00:27:38]: Debug: uniqueid -- 0123456789ABCDEF
[2021:09:12:00:27:38]: Debug:  [--]
[2021:09:12:00:27:47]: Error: Initial Ping Timeout
[2021:09:12:00:27:47]: Error: Initial Ping Timeout
[2021:09:12:00:27:48]: Info: 192.168.1.205: Ping Timeout
[2021:09:12:00:27:48]: Debug: Waiting for video to end...
[2021:09:12:00:27:48]: Debug: Waiting for audio to end...
[2021:09:12:00:27:48]: Debug: Waiting for control to end...
PS C:\Sunshine9-Windows>

I hope this can help, thanks!

loki-47-6F-64 commented 3 years ago

To be honest, I didn't expect any version of Sunshine to work with IPv6.

It is something I would like to have, though. Some code requires Sunshine to be aware of IPv6, which is why it only fails at running the stream, rather then at the very start. So it may take a little while before it works properly.

zaq7434 commented 2 years ago

It cannot be accessed under IPv6. How can I solve it? only listen ipv4? netstat -aon|findstr "47989" TCP 0.0.0.0:47989 0.0.0.0:0 LISTENING 20296

k773920063 commented 2 years ago

Will this problem be solved in the near future?The problem still exists in v0.13.0.