nobuffer, low_delay, and a small thread_queue_size on the camera mic capture process.
11 lines
252 B
Python
11 lines
252 B
Python
import inspect
|
|
|
|
import run_worker
|
|
|
|
|
|
def test_alsa_ffmpeg_uses_low_delay_flags():
|
|
src = inspect.getsource(run_worker)
|
|
assert '"-fflags", "nobuffer"' in src
|
|
assert '"-flags", "low_delay"' in src
|
|
assert '"-thread_queue_size", "64"' in src
|