Skip to main content
March 21, 2010
Answered

How to append recorded files.

  • March 21, 2010
  • 1 reply
  • 2322 views

Two questions.

I am using adobe dvrcast to record my live streams. the problem I am having is when I stop the encode during a live stream, a new file is not created, the existing stream is written over. How can I preventive this from occuring.

Is there a way to have all vod files that are in one folder to roll over to the next file during play back.

    This topic has been closed for replies.
    Correct answer SE_0208

    i unloaded the application using admin console. it is still

    not working for me.


    Can you check if you all files in you dvrcast set-up. Can you just check if you Application.xml in your dvrcast_origin folder. If you do not have can you create one with following content and keep it under dvrcast_origin folder.

    Application.xml

    <Application>

    <StreamManager>

    <Live>

    <EraseOnPublish>false</EraseOnPublish>

    </Live>

    </StreamManager>

    </Application>

    1 reply

    Adobe Employee
    March 21, 2010

    Are you using your customer recorder or FMLE. In case you are using the customer recorder and doing the DVRSetStreamInfo youself, please use streamInfo.append = true.

    I am not sure whether from FMLE you can record in append mode for DVR (I will have to check), but by the time I can provide you insights in the DVRCast code that will workout for you. In DVRCast origin app, inside ExDVRStream.asc, you can modify code here in "onStartRecord" from

    if (this.streamInfo.append)
        {
            s.record("append");
        }
        else
        {
            s.record("record");
        }

    to

         s.record("append");

    This will append your recording to the previous recorded file. In case you want to completely record to new file, you will have to publish a different stream. or connect to different instance of the application.

    Adobe Employee
    March 21, 2010

    You can acheive the other thing by creating playlist in your client side app. Refer to NetStream.play2() - "append" mode usage in client side action script.