Results 1 to 6 of 6

Thread: Live stream recording

  1. #1

    Default Live stream recording

    Could the recorded file be played safely while the live stream is still broadcasting?
    Otherwise, can you think of a way to play the beginning of the video before the live session ended?

  2. #2

    Default

    Nevermind, I understand that I should use the nDVR AddOn.
    Thank you.

  3. #3

    Default

    After all, I do need your help.
    In case the broadcaster is stop and starting, or even disconnecting and reconnecting few times, always with the same stream name.
    1. Is it possible to configure the nDVR to keep the previously recorded sessions as part of the current one and enable playing them?
    2. When the broadcaster is disconnected, it's impossible to play the live stream, only the recorded files.
    3. I configured the streamer versionFile to false and the appendFile to true, but only the flv recorded source is appended, all the transcoded mp4 recorded files are renamed and versioned, can make them be appended as well?
    4. I don't need the recorded flv, only the mp4 transcoded files, can I configure it in order to save resources?

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Hi,

    1) Yes, by setting the Application.xml /DVR /ArchiveStrategy to "append"

    2) Yes, that's right, but you are still able to play from the nDVR store when stream is not live.

    3) How are you recording? Are you using HTTPLiveStreamRecord, or are you just setting the Application.xml /StreamType to "live-record"? Are you currently recording .flv and .mp4 versions at the same time of the same live stream?

    4) I need the answer to #3 to advise.

    Note that these .flv and .mp4 files are not involved in nDVR recordings. It is a common solution to use nDVR for playback of live and recently live streams, and do standard recording to .flv or .mp4 files for archive purposes.

    Richard

  5. #5

    Default

    Hi,

    For #3, if you are using live-record stream type (as you mention in one of your other forum threads), you can do the following.

    In the Application.xml Stream Properties set the following properties to control appending and versioning.

    <Property>
    	<Name>versionFile</Name>
    	<Value>false</Value>
    	<Type>Boolean</Type>
    </Property>
    <Property>
    	<Name>appendFile</Name>
    	<Value>true</Value>
    	<Type>Boolean</Type>
    </Property>
    These settings are the opposite to the default settings for live-record. This will affect all streams published to the application, including the transcoded streams.

    #4 To prevent recording of the source stream, you need to change the stream type for the source stream client before the publish stream is created. You can do this in the onConnect method. The stream name will not be available at this point but if all externally published streams are not to be recorded then this shouldn't matter.

    in onConnect, you set the client stream type to live. This will prevent it from being recorded.

    public void onConnect(IClient client, RequestFunction function, AMFDataList params)
    {
    	client.setStreamType("live");
    	. . .
    }
    The client stream will then not be recorded but the streams created by the transcoder will still be recorded as normal and if append is set as above, they will be appended instead of versioning.

    Roger.

  6. #6

    Default

    Thank you.

Similar Threads

  1. Live stream recording
    By tan-tan in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 09-11-2013, 05:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •