Closed AnEmortalKid closed 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
At the moment, this does what it needs to.
Own replay buffer mechanism would just make that re-invent the wheel.
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