Add -replay-storage option to specify if temporary replay data should be stored in ram or disk

This commit is contained in:
dec05eba
2025-05-04 20:36:34 +02:00
parent 2ca5f3361c
commit 36c74d3411
17 changed files with 1010 additions and 330 deletions

5
TODO
View File

@@ -279,4 +279,7 @@ Fix constant framerate not working properly on amd/intel because capture framera
Add option to pass a fd (from socketpair) to use for rpc. In the rpc have a common header, with protocol version, data type and data in an enum.
Add the option to set audio track name, for example with -a "track-name:blabla|device:default_output|app:firefox"
Add the option to set audio track name, for example with -a "track-name:blabla|device:default_output|app:firefox"
Maybe disable qp/vbr for replay. In that case we can preallocate all replay data (for both ram and disk) and write to that directly when receiving packet (dont do that when also recording at the same time).
That could improve performance/disk write optimization and maybe even reduce ram usage because of less blocks/fragmentation.