akc42 / pi_record

ffmpeg and nodejs based audio recorder with web based interface to start and stop recordings and to show audio volume
GNU General Public License v3.0
1 stars 0 forks source link

Explore using a "Shared Worker" to handle a server side event stream to hold control open #23

Open akc42 opened 1 year ago

akc42 commented 1 year ago

See https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker It looks like it might be able to remain running in the background. However its existance depends on a page keeping a ref to it, so not sure.