You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Abramson, Eli" <El...@Honeywell.com.INVALID> on 2022/06/06 06:57:03 UTC

Combine recordings

When I restart a connection, the recording is being saved into a new file (i.e. myrec, myrec.1, myrec.2, myrec.3...). Is it possible to force the recording to continue with the same file? If not, is there a way to concatenate these recordings into a single file?
Thanks!

Re: Combine recordings

Posted by Lee Doughty <le...@virginiacyberrange.org>.
I don't believe there's a good way to automatically merge recordings... If
guacamole is in a distributed system, the reconnection might build a new
connection through a different guacamole/guacd that are not aware an
existing session is partially recorded and held open. There would also be a
race condition between the finishing of the previous write, and the reopen
of the file to continue it even if the previous problem was resolved.

Without knowing the ultimate goal, it's hard to suggest a overarching
solution.. But ffmpeg should be able to merge the files.. and can probably
devise a cron for a low-effort solution that could more easily allow
offloading the recording rewrite work to another server (assuming you're
writing to a network drive)... A fancier solution would likely be a
guacamole extension... Which opens up a lot of options but requires more
work.

On Mon, Jun 6, 2022, 2:57 AM Abramson, Eli
<El...@honeywell.com.invalid> wrote:

> When I restart a connection, the recording is being saved into a new file
> (i.e. myrec, myrec.1, myrec.2, myrec.3…). Is it possible to force the
> recording to continue with the same file? If not, is there a way to
> concatenate these recordings into a single file?
>
> Thanks!
>