AnEmortalKid / avocapture

A replay renaming overlay
3 stars 0 forks source link

explore option to create own replay buffer mechanism #8

Closed AnEmortalKid closed 2 years ago

AnEmortalKid commented 2 years ago

It may be possible to provide a replay buffer mechanism with electron, instead of relying on OBS or a different program:

useful parts:

https://www.electronjs.org/docs/latest/api/desktop-capturer

https://stackoverflow.com/questions/49208343/saving-desktopcapturer-to-video-file-from-electron-app

https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder

the timeslice part looks neat ^

https://www.baeldung.com/java-ring-buffer

AnEmortalKid commented 2 years ago

At the moment, this does what it needs to.

Own replay buffer mechanism would just make that re-invent the wheel.