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:
Cameron Gutman
2023-12-28 16:56:06 -06:00
parent 50d8dcb072
commit 6e9ed871bc
5 changed files with 15 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ uint16_t AudioPortNumber;
uint16_t VideoPortNumber;
SS_PING AudioPingPayload;
SS_PING VideoPingPayload;
uint32_t ControlConnectData;
uint32_t SunshineFeatureFlags;
// Connection stages