Commit 421c6345 authored by Simon Morlat's avatar Simon Morlat

change priority of mediastreamer2 msticker on linux. Don't use SCHED_FIFO, but...

change priority of mediastreamer2 msticker on linux. Don't use SCHED_FIFO, but SCHED_RR by default (less risky for the safety of the system).
parent c946c7c5
......@@ -95,11 +95,8 @@ MSTickerPrio __ms_get_default_prio(bool_t is_video) {
#endif
if (penv && _ms_ticker_prio_from_env(penv, &prio) == 0) return prio;
#ifdef __linux
return MS_TICKER_PRIO_REALTIME;
#else
return MS_TICKER_PRIO_HIGH;
#endif
}
}
......
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