Skip to main content
Mar 21, 2010 2:38 AM UTC
Answered

How to append recorded files.

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 is closed to new replies. Start a new post to keep the conversation going.
    SE_0208Correct answer
    Participating Frequently
    Mar 22, 2010 5:52 AM UTC

    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>

    12 replies

    Adobe Employee
    Mar 21, 2010 7:09 AM UTC

    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.

    Translate
    Adobe Employee
    Mar 21, 2010 7:15 AM UTC

    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.

    Translate