mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-13 19:26:19 +00:00
Add support for X-SS-Connect-Data in RTSP SETUP for control stream
This allows the host to provide a 32-bit integer that will be sent in the data of the ENet connect event, similar to X-SS-Ping-Payload for video and audio. The host can use this data to uniquely identify a client when IP addresses are not stable across the various separate connections, such as when the client is behind a Carrier-Grade NAT.
This commit is contained in:
@@ -31,6 +31,7 @@ uint16_t AudioPortNumber;
|
||||
uint16_t VideoPortNumber;
|
||||
SS_PING AudioPingPayload;
|
||||
SS_PING VideoPingPayload;
|
||||
uint32_t ControlConnectData;
|
||||
uint32_t SunshineFeatureFlags;
|
||||
|
||||
// Connection stages
|
||||
|
||||
Reference in New Issue
Block a user