From: Orivej D. <or...@gm...> - 2014-03-10 21:26:58
|
Run GC every N frames/seconds to make GC time more predictable and easier to measure. Measure it. Set input ring buffer size large enough not to lose any input. If GC pauses are too large for output, feed decoded frames to a separate process (e.g. using ZMQ IPC) with no or small pauses and serve from there after a delay large enough to cover any pause. |