Skip to main content
Known Participant
November 29, 2012
Question

Is there a way to delete cached live video?

  • November 29, 2012
  • 1 reply
  • 1423 views

I've setup HLS Sliding window and HDS Content Caching so viewers can rewind up to four hours of live video.

I have my DiskManagmentDuration set for four hours.  However I have live video that last longer and noticed my disk drive gets full.  Is there a way to setup the server to start deleting the cached video once four hours have past???  Currently I have to empty contents to make space from the following:

c:\program files\adobe\Flash Media Server 4.5\applications\livepkgr\streams\_definst_\

c:\program files\adobe\Flash Media Server 4.5\applications\livepkgr\events\_definst_\

This procedure interupts the live stream.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    November 30, 2012

    Hi,

    Setting up the DiskManagementDuration in event.xml should automatically do that. Which version of AMS(FMS) are you using and can you please share the event.xml for this event. Let me cross check it for any issues.

    More on this here :

    http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a338-8000.html#WSec225f632fa00875-23954b6f1300b641158-8000. If you have set it to 4, it must always keep data no more than 4 hours on the disk.

    Thanks

    Known Participant
    November 30, 2012

    Below is my event.xml.  It's not automatically deleting, I've let a live stream run overnight and the next day the drive is full.  If it's deleting I should be able to stream indefinitely with the four hour cache. 

    <Event>

      <EventID>liveevent</EventID>

      <Recording>

        <FragmentDuration>4000</FragmentDuration>

        <SegmentDuration>400000</SegmentDuration>

        <DiskManagementDuration>4</DiskManagementDuration>

      </Recording>

      <HLS>

        <MediaFileDuration>8000</MediaFileDuration>

        <SlidingWindowLength>10800<SlidingWindowLength>

      </HLS>

    </Event>