Use RTSP over TCP for GFE 3.12 and later
This commit is contained in:
parent
a0b500a834
commit
75f5477c85
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue