ging/licode — pull request #139 by jnoring (2014-07-16 17:57:14+00:00)
Title: Several updates to recording:

1. Change the audio queue to be significantly deeper than the video queue. This is because audio in WebRTC almost always contains 20 msec frames, but video is anywhere from 5 to 30 fps, which is 200 to 33 msec per frame. With low-framerate streams, old code would cause the RTP packet reordering queue to drop samples.
2. Deeper RTP packet re-ordering. Bump it to 60.
3. Account for the difference in start time between audio and video streams. This helps AV stay in sync, particularly with the deeper queue.
4. Do not wait for both queues to be ready before writing. This allows us A) to create audio only files and B) prevents one stream from preventing the other from recording.