Hello DO Luminaries,
I would like to have help with how to store Ant-media record stream to digital ocean volume as well as how can I call API on it to do further video processing.
I have attached this volume to my droplet so it would be great if I will get some help soon.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hi there,

I believe that the streams are stored in the /usr/local/antmedia/webapps/LiveApp/streams/ directory. This means that you will need to mount your volume there.

To do so, create a new volume, then add it to your Droplet.

After that, mount the volume:

sudo mount -o defaults,nofail,discard,noatime /dev/disk/by-id/scsi-YOUR_VOLUME_ID /usr/local/antmedia/webapps/LiveApp/streams/

Note: if you have not yet formatted the volume, you need to run the following command:

Format the new volume only during the first time, otherwise, you will destroy all existing data on the volume:

sudo mkfs.ext4 /dev/disk/by-id/scsi-YOUR_VOLUME_ID

Finally make the change peristent:

echo '/dev/disk/by-id/scsi-YOUR_VOLUME_ID /usr/local/antmedia/webapps/LiveApp/streams/ ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab

For more information make sure to check out the official documentation here:



Submit an Answer