m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
5.95k stars 449 forks source link

Pausing/Resuming ffmpeg #306

Closed Korelia closed 1 year ago

Korelia commented 1 year ago

I would like to do a "pause/resume" on the video, so when for example the user is not focusing on the window, it would simply stop sending data altogether, I don't see anything in the doc about it, is this feature implemented?

m1k1o commented 1 year ago

Hi. We don't use ffmpeg at all. But there is not such feature. As long as you are connected you receive data. You can pause video in GUI but it will still receive the data.

But it looks like a nice feature, PRa are welcome.

Korelia commented 1 year ago

Thanks! In the current state of things, does it still encode even tho there is no client connected? Or only when client is connected?

Sorry to ask here, I couldn't find your email, I would like to pay you to develop a very few features in the GUI (just front-end), it's well paid, are you interested?

m1k1o commented 1 year ago

It starts encoding when the first client connects. When there is nobody connected it does not encode anything.

sure, you can contact me using discord, there is an invitation badge in README to our discord room