ts: add tests for JitterBuffer
The TsJitterBuffer
, while being quite feature-full, is the only ts-element
with no tests. Each iteration on the ts model makes it very likely to break it. Switching to async
Mutex
es as part of this MR induced many changes that have most probably broken whole or part of the features.