Results 1 to 4 of 4

Thread: Record one stream to two different files

  1. #1
    Join Date
    Oct 2012

    Exclamation Record one stream to two different files


    I'm writing custom module using ILiveStreamRecordManager.
    Function, that starts recording:
    public void start(String filepath, String filename, String sourceStreamName, IApplicationInstance appInstance) {
            ILiveStreamRecordManager recordManager = appInstance.getVHost().getLiveStreamRecordManager();
            StreamRecorderParameters recordParams = new StreamRecorderParameters(appInstance);
            recordParams.fileFormat = IStreamRecorderConstants.FORMAT_MP4;
            recordParams.moveFirstVideoFrameToZero = true;
            recordParams.segmentationType = IStreamRecorderConstants.SEGMENT_NONE;
            recordParams.startOnKeyFrame = true;
            recordParams.outputPath = filepath;
            recordParams.outputFile = filename;
            recordParams.versioningOption = IStreamRecorderConstants.APPEND_FILE;
            recordParams.recordData = false;
            recordManager.startRecording(appInstance, sourceStreamName, recordParams);
    For example, i start recording stream "livestream1" to file "a.mp4" calling function start().
    Then i start recording same stream "livestream1" but to another file "b.mp4" - after this recording of "a.mp4" stopping.
    Is it possible to record one stream to many files at one time?

  2. #2



    Here is a very similar question with answer and a work around (cheat)

    Hope this helps. Regards,


  3. #3
    Join Date
    Oct 2012


    Quote Originally Posted by salvadore View Post
    Here is a very similar question with answer and a work around (cheat)

  4. #4


    Sorry, I forgot the link. Here it is


Similar Threads

  1. Media Server integration with live streams (one-on-one, one-on-many),online chat,VOD
    By toth.csabi in forum Integrating Wowza into your workflow
    Replies: 2
    Last Post: 09-25-2014, 01:11 PM
  2. Replies: 7
    Last Post: 09-26-2013, 03:47 AM
  3. Two different SDP files for same live stream source
    By seb12345 in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 12-20-2012, 12:27 PM

Posting Permissions

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