5 Commits

Author SHA1 Message Date
palana
94158089d9 Release packets earlier in the ReplayBuffer
With very high bitrate settings the replay buffer would severely violate
the memory usage estimate because it wouldn't release any frames until
it was done writing the file, which could take a long time depending
on the storage subsystem
2014-08-17 20:32:46 +02:00
palana
bf37050f94 Fix typo in Replay Buffer 2014-08-17 18:45:59 +02:00
palana
1a48661f62 Limit ReplayBuffer thread init time when shutting down
In particular, querying all encoder metadata has
to be completed before any of the encoder
destructors are allowed to run. Normally this isn't
a problem, unless saving and stopping the replay
buffer happen in quick succession
2014-08-17 01:34:52 +02:00
palana
5f2d02da87 Rename ThreadDeleter to ThreadCloser and add proper ThreadDeleter 2014-08-16 19:28:12 +02:00
palana
787d9a9aa9 Add ReplayBuffer
Buffers at least the configured amount of seconds of video and audio
packets and writes them to a new file when SaveReplayBuffer is called
2014-08-13 00:37:23 +02:00