Allow at least 500 ms before starting a new rtsp conversation to allow previous one to die, if any.

This commit is contained in:
Mike Brady
2016-02-02 16:39:23 +00:00
parent 4678a3eee0
commit c84f3dd058
+1
View File
@@ -1839,6 +1839,7 @@ void rtsp_listen_loop(void) {
perror("failed to accept connection");
free(conn);
} else {
usleep(500000);
pthread_t rtsp_conversation_thread;
ret = pthread_create(&rtsp_conversation_thread, NULL,
rtsp_conversation_thread_func, conn);