RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
We decided that playbackTime is the time we expect the current data would be expected to reach the destination node.
Because of the double buffering that we do for both the input and the output, we think playbackTime is actually current time + 2 * buffersize.
So we need to go 2 buffers back, 1 for their double buffering, and 1 more for the start of the buffer. Firefox does that correctly, everyone else puts the time 1 MORE buffer past that, so 3 * duration
https://codereview.chromium.org/210973002 ^ They are wrong
So we need to go 2 buffers back, 1 for their double buffering, and 1 more for the start of the buffer. Firefox does that correctly, everyone else puts the time 1 MORE buffer past that, so 3 * duration