Fix ENet comments
This commit is contained in:
parent
75f5477c85
commit
cafc4d8125
1 changed files with 1 additions and 2 deletions
|
|
@ -275,7 +275,6 @@ Exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
static int transactRtspMessage(PRTSP_MESSAGE request, PRTSP_MESSAGE response, int expectingPayload, int* error) {
|
static int transactRtspMessage(PRTSP_MESSAGE request, PRTSP_MESSAGE response, int expectingPayload, int* error) {
|
||||||
// Gen 5+ does RTSP over ENet not TCP
|
|
||||||
if (useEnet) {
|
if (useEnet) {
|
||||||
return transactRtspMessageEnet(request, response, expectingPayload, error);
|
return transactRtspMessageEnet(request, response, expectingPayload, error);
|
||||||
}
|
}
|
||||||
|
|
@ -458,7 +457,7 @@ int performRtspHandshake(void) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gen 5 servers use ENet to do the RTSP handshake
|
// Setup ENet if required by this GFE version
|
||||||
if (useEnet) {
|
if (useEnet) {
|
||||||
ENetAddress address;
|
ENetAddress address;
|
||||||
ENetEvent event;
|
ENetEvent event;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue