Skip navigation
Currently Being Moderated

main.asc >auto save and flatten f4f after livepkgr unpublish and delete stream files

Aug 7, 2012 3:08 PM

1. Has anyone or anyone attemped to have main.asc perform these instructions after a stream is unpublished?

2. Are their samples of code to perform these actions?

3. Am I missing a feature of DVR that already does this automatically?

 

After this routine NetStream.Stop()

 

f4f:liveevent - NetStream.Unpublish.Success

 

I would like to perform these tasks after successful unpublish

 

1. auto flatten f4f files of the particular stream with the f4vpp tool

     a. move created files to a different folder for hds-vod streaming later

      b. assign the flatten filename to streamname+timestamp

2. delete all associated files of the prevous unpublished stream

3. ready to publish again fresh

4. repeat

 

The reason I want to do this is to maintain a BaseURI that doesn't need changed and not to create a different live stream "liveevent?" id

 

Maybe I'm missing a feature, or am unaware of these featues together, or how to set the FMS server to do this.

 

Thanks!

 
Replies
  • Currently Being Moderated
    Aug 7, 2012 10:33 PM   in reply to ospn2012

    For Point 2, we introduced the config to do the same .. However we do this on application disconnect.

     

    Here is how this is to be used..

    http://help.adobe.com/en_US/adobemediaserver/devguide/WSd391de4d9c7bd6 09-52e437a812a3725dfa0-8000.2.3.html#WS5262178513756206-67d61d971377ec d8c14-8000

     

    For Point 1, you can either write a sample script to do the same or write a sample app to connect to the livepkgr application and record the stream as mp4.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 10:56 PM   in reply to ospn2012

    Right.. FMS don't need to flattened file. It understands what it created .. You just need to copy the content to VOD.

     

    Even that can be avoided by either setting the virtual directory path to store the recorded files or by setting the content path for the HDS/HLS to location where your content is being recorded.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points