Sure you can, The is already option in command line admin to drop all temporary/redundant files you can take it as a base
On Mon, May 6, 2013 at 11:18 AM, Baskar Rajendran < baskar.rajend...@gmail.com> wrote: > Hi > > I could see the recordings details are logged in the flvrecordings table , > but just wanted to check about the file size of the recording , i don't see > that its been updated after the recording is done . > > We wanted to have a feature for restricting the user / group recording a > video when they exhaust the storage limit. > > Can i add a quartz job to read the size of a flv file & update it to the > table and also can i delete the bunch of files that got created under * > streams/roomId/* directory? Once i have the filesize i can sum up based on > the user / group and restrict the user from click on start recording.. > > The flv file is got created under * > red5/webapps/openmeetings/streams/hibernate* directory , does this flv file > only be used to play recording? > > Can someone suggest me or put forward your thoughts to bring up this > feature? Correct me if i am wrong on deleting the files under > streams/roomId directory > > root@ip-10-62-6-185:/usr/lib/red5/webapps/openmeetings/streams/59# ls > -alrt > total 19992 > drwxr-xr-x 5 root root 4096 May 6 02:54 .. > -rw-r--r-- 1 root root 705871 May 6 02:56 > rec_20_stream_5_06_05_2013_02_54_33.flv > -rw-r--r-- 1 root root 3400680 May 6 02:56 > rec_20_stream_e7e71e19c445931b7ff7c1da074eae03_06_05_2013_02_54_36.flv > -rw-r--r-- 1 root root 5312592 May 6 02:56 > rec_20_stream_5_06_05_2013_02_54_33_WAVE.wav > -rw-r--r-- 1 root root 5313306 May 6 02:56 > rec_20_stream_5_06_05_2013_02_54_33_GAP_FULL_WAVE_0.wav > -rw-r--r-- 1 root root 5335180 May 6 02:56 > rec_20_stream_5_06_05_2013_02_54_33_GAP_FULL_WAVE_1.wav > > Thanks > Baskar > -- WBR Maxim aka solomax