Results 1 to 3 of 3

Thread: live-record and record path

  1. #1
    Join Date
    Dec 2011
    Posts
    6

    Default live-record and record path

    Hi

    Is it possible to record live stream to folder named after live stream name?

    Stream is published to app called "live" and stream name is "mystream".

    I tried ${com.wowza.wms.context.VHostConfigHome}\content\${com.wowza.wms.context.ApplicationInstance}
    but the result is ${com.wowza.wms.context.VHostConfigHome}\content\_definst_\filename.mp4

    I would like it to be ${com.wowza.wms.context.VHostConfigHome}\content\mystream\filename.mp4

    Is this possible?

  2. #2

    Default

    See page 32 in the User Guide in the section "Content Storage". There is not a variable for StreamName. You can do the app name:

    ${com.wowza.wms.context.VHostConfigHome}\content\$ {com.wowza.wms.context.Application}

    You can write a custom module to move the file. See example code here: http://www.wowza.com/forums/showthre...om-Move-Module

    You can also look at the LiveStreamRecord module for an example of setting a custom output path: http://www.wowza.com/forums/content.php?123

  3. #3
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    This could be what you want..,
    If you create a stream called live/mystream and it gets saved into the "content directory" and there is a directory in the content directory called live this will automatically save into the directory called live

    This test was done in FMLE and the URL for this stream would be,
    [Wowza-Ip]:1935/live/_ definst_/live/mystream

    FMS URL would be,
    rtmp://[Wowza-Ip]:1935/live

    Stream would be,
    mp4:live/mystream

    The result would be a recorded steam called "mystream.mp4" in the /content/live directory.

    Jason

Similar Threads

  1. RTSP RECORD to record live stream
    By kkoster in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 06-13-2013, 07:24 AM
  2. How to choose to record or not to record a live stream with a plugin
    By enricod75 in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 12-09-2012, 05:53 AM
  3. live-record stream contnuous record without client
    By attilabiro in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 02-02-2012, 09:59 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
  •