mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Use RTSP over TCP for GFE 3.12 and later
This commit is contained in:
parent
a0b500a834
commit
75f5477c85
@ -432,7 +432,7 @@ int performRtspHandshake(void) {
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
// Initialize global state
|
// Initialize global state
|
||||||
useEnet = AppVersionQuad[0] >= 5;
|
useEnet = (AppVersionQuad[0] >= 5) && (AppVersionQuad[0] <= 7) && (AppVersionQuad[2] < 404);
|
||||||
addrToUrlSafeString(&RemoteAddr, urlAddr);
|
addrToUrlSafeString(&RemoteAddr, urlAddr);
|
||||||
sprintf(rtspTargetUrl, "rtsp%s://%s:48010", useEnet ? "ru" : "", urlAddr);
|
sprintf(rtspTargetUrl, "rtsp%s://%s:48010", useEnet ? "ru" : "", urlAddr);
|
||||||
currentSeqNumber = 1;
|
currentSeqNumber = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user