CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
489 stars 55 forks source link

Feature request to enable disable record from control port #325

Closed TheSashmo closed 1 year ago

TheSashmo commented 1 year ago

Considering that I have started to use the record feature a lot, I was not able to find any documentation that allowed me to enable or disable recordings via the control port. I think this would be a great addition to enable recordings on the fly without having to restart the UG session.

MartinPulec commented 1 year ago

You can press Ctrl-x e to toggle export. Isn't this sufficient?

TheSashmo commented 1 year ago

You can press Ctrl-x e to toggle export. Isn't this sufficient?

Well, yes it could, but the issue is it will record it to the default directory where UG is located.

Additionally, if I supply the command line option --record=/location it will start recording right away, which I don't want.

P.S. the wiki needs to be updated to show "location recording" needs to have = next to it.

MartinPulec commented 1 year ago

Well, yes it could, but the issue is it will record it to the default directory where UG is located.

Additionally, if I supply the command line option --record=/location it will start recording right away, which I don't want.

Well, for that case, you can specify --record=<dir>:paused. It won't even create the directory until launched.

P.S. the wiki needs to be updated to show "location recording" needs to have = next to it.

True, I've already fixed. I'll also update that wiki page.

TheSashmo commented 1 year ago

Well thats great! I didn't know that there was that option! I didnt even see it in the code! Maybe I am going blind.