Skip to main content
Known Participant
March 11, 2013
Question

AMS Mechanism

  • March 11, 2013
  • 1 reply
  • 571 views

Hi , I have noticed that after streaming at livepkgr aplication on Adobe Media Server, when finishing the stream if you do not delete the .stream files that are created in the liveevent folder and the streamName folders in the livestream folder there is trouble on the next streaming atempt.

My question is if there is any mechanism to delete these files/folders automaticly after the end of the stream if there is such an option inside of the server's admin panel!

It would be great if someone could help,because it is not the best thing to remember to delete these files every time you stop or start a new stream.And also it is even more difficult when you are away from home.

Thanks in advance!

    This topic has been closed for replies.

    1 reply

    March 12, 2013

    Hi,

    You can define the record option by adding a query parameter string adbe-record-mode.  In case of “record”, livepkgr overwrites the previous recording for the same stream and event name. The value of string adbe-record-mode can be “record” or “append”. If the parameter is not specified, “append” is used and in this case, livepkgr application appends to the previous recording for the same stream and event name.

     

    For example, to publish a stream in record mode, use:

    livestream?adbe-live-event=liveevent&adbe-record-mode=record

    To publish a stream in append mode (default case), use:

    livestream?adbe-live-event=liveevent&adbe-record-mode=append

    Known Participant
    March 30, 2013

    Hi Chadan,

    Thanks for the response,that worked for me great.But i have a question,why when I stop streaming and after that I try to access the stream I still can see some the last seconds of my previous stream?How can I prevent this?

    Thanks a lot.Your answer was very helpfull!