Move watchdog to cover connection from start, not just from start of play. Start investigating UDP port allocation. Tidy up handling or RTSP write errors -- remove the pselect code from before a write.

This commit is contained in:
Mike Brady
2018-11-28 17:18:03 +00:00
parent 4ab81ce0b7
commit 22f3e3e318
6 changed files with 75 additions and 64 deletions
+4 -1
View File
@@ -96,7 +96,10 @@ sigset_t pselect_sigset;
static uint16_t UDPPortIndex = 0;
void resetFreeUDPPort() { UDPPortIndex = 0; }
void resetFreeUDPPort() {
debug(1,"Resetting UDP Port Suggestion to %u",config.udp_port_base);
UDPPortIndex = 0;
}
uint16_t nextFreeUDPPort() {
if (UDPPortIndex == 0)