Commit 8f522011 authored by Mickaël Turnel's avatar Mickaël Turnel

Set the priority of the rtp async thread to high

parent b0f341d2
......@@ -1656,6 +1656,10 @@ void* rtp_session_recvfrom_async(void* obj) {
fdarray.fd = session->; = POLLRDNORM;
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST)){
ms_warning("Error rtp recv async thread for windows: SetThreadPriority() failed [%d]\n", (int)GetLastError());
int ret = WSAPoll(&fdarray, 1, 10);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment