"deleteRecordings" != "bbb-record --delete"

762 views
Skip to first unread message

JarrodJay

unread,
Oct 15, 2014, 6:19:48 AM10/15/14
to bigblueb...@googlegroups.com
Hello,

I'm not sure if it's something I'm doing, but it seems that calling the "deleteRecordings" api call doesn't perform the same as calling "bbb-record --delete" from command line. 

Calling the latter one from the command line removes all necessary files for the recording, including the main recording folder (https://github.com/bigbluebutton/bigbluebutton/blob/1b04717c38a8581432c4448f94a9896c40d8c7ae/bigbluebutton-config/bin/bbb-record#L220) which also removes it from "bbb-record --watch".

Calling the former "deleteRecordings" api doesn't seem to delete the main folder. It deletes the /var/bigbluebutton/published/presentation/[meeting-id] folder which unpublishes the recording, but if "rebuildall" is called, the recording is published again. 

Is this the correct behaviour? Where are the api scripts located in a BBB install?

Thanks,
Jarrod.

JarrodJay

unread,
Oct 23, 2014, 5:15:32 AM10/23/14
to bigblueb...@googlegroups.com
I was wondering if anyone is able to point me in the right direction? I understand this is a community forum and don't expect instant help, but if someone could point me in the right direction, I'd be super appreciative! I need to delete recordings using the API, but it doesn't seem to delete them entirely.

Thanks,
Jarrod.

HostBBB.com

unread,
Oct 23, 2014, 7:48:24 AM10/23/14
to bigblueb...@googlegroups.com
Jarrod.

bbb-record is a bash script,  you  can look at logic for --delete flag,  it removes the meeting from published, but also cleans up the original /var/bigbluebutton directory along with some of the flags in record and process directorys that manage the raw files.

The api call goes thru bbb-web and eventually calls.

Its just deleting the directory under published.

regards,
Stephen

Felipe Cecagno

unread,
Oct 23, 2014, 11:15:53 AM10/23/14
to bigblueb...@googlegroups.com
I think the deleteRecordings call is some kind of lightweight delete - the administrator still can restore a recording deleted by mistake using deleteRecordings. On the other hand, bbb-record --delete is executed by the sysadmin, so mistakes aren't allowed. :)

--
   
Felipe Cecagno

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

JarrodJay

unread,
Nov 1, 2014, 1:03:45 AM11/1/14
to bigblueb...@googlegroups.com
Thanks for the answers you two. Very helpful!
Reply all
Reply to author
Forward
0 new messages