Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Live Stream and auto record specifics streams

  1. #1
    Join Date
    May 2014
    Posts
    17

    Default Live Stream and auto record specifics streams

    Greetings!
    Pls help me with my problem.
    I have a Wowza Streaming Engine 4.0.3 with Transcoder Addon and nDVR addon.
    In application Live demo video pre-roll untill a live stream starts (by StreamPubslisher & ModuleLoopUntilLive).
    STREAM1 is pre-roll stream.
    STREAM2 is live stream.
    By the Transcoder Addon live stream (STREAM2) is transcoding for other bitrate (STREAM2_360p, STREAM2_aac, etc).
    How can i setup auto record specific streams only when STREAM2 is running (e.g. STREAM2 - live upstream, STREAM2_360p - live upstream with lower bitrate, etc).
    Thx.
    Last edited by Oleg39; 05-14-2014 at 04:11 AM.

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    Check our our article on how to record streams programmatically. Then you can further modify the source to determine which streams are initiated via the onPublish method.

  3. #3
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hello,

    You can achieve the described scenario by developing a custom Wowza module which would detect the desired stream name and start recording that particular stream.
    Please take a look at the How to start and stop live stream recordings programmatically (IMediaStreamActionNotify3) article where you can find a code sample which you could modify according to your needs.

    Zoran

  4. #4
    Join Date
    May 2014
    Posts
    17

    Default

    I am newbie.
    I have a 2 question:

    1. How to compile example module in jar file by command line in Linux?
    2. Where is place of stream specified in the LiveStreamRecordAutoRecord example module (http://www.wowza.com/forums/content....ActionNotify3) ) ?
    Thx.
    Last edited by Oleg39; 05-14-2014 at 07:35 AM.

  5. #5
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    We have a user's guide for the Wowza IDE2 which is needed to compile Modules for Wowza.
    It is a little out of date, (referencing older Wowza versions) but the basics are all there.

    Regards,
    Jason

  6. #6
    Join Date
    May 2014
    Posts
    17

    Default

    Ok.
    i have been done this and compile the example module.
    All work.
    Thank u very match!
    Pls help me how can i change the output filename ?
    e.g. in next format: "datetime_streamname" ?
    Last edited by Oleg39; 05-15-2014 at 12:03 PM.

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

    Default

    Take a look at this guide

    Richard

  8. #8
    Join Date
    May 2014
    Posts
    17

    Default

    Pls explain how to compile this source code from http://www.wowza.com/forums/content....ersiondelegate ?
    I want to use the specific file name by template after the automatic record starts by IMediaStreamActionNotify3 (this guide http://www.wowza.com/forums/content.php?472) with the ILiveStreamRecordFileVersionDelegate http://www.wowza.com/forums/content....ersiondelegate
    But i don't understand how can i do this.
    I tried to adding the new class to the IMediaStreamActionNotify3, but the Eclipse got error
    Description	Resource	Path	Location	Type
    File cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 30	Java Problem
    WMSLoggerFactory cannot be resolved	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 38	Java Problem
    ILiveStreamRecordFileVersionDelegate cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 9	Java Problem
    ILiveStreamRecord cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 11	Java Problem
    Date cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 15	Java Problem
    Date cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 15	Java Problem
    File cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 18	Java Problem
    File cannot be resolved to a type	MyDelegate.java	/autorecord/src/com/wowza/wms/example/module	line 18	Java Problem

    Pls help me.
    Thx.
    Last edited by Oleg39; 05-18-2014 at 01:21 AM.

  9. #9
    Join Date
    May 2014
    Posts
    17

    Default

    I am try to add the ILiveStreamRecordFileVersionDelegate by adding into the IMediaStreamActionNotify3 package.
    Pls explain, how to recall a MyDelegate class from IMediaStreamActionNotify3 ?

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

    Default

    Looking at your screenshot of the IDE, the class and method names with the red squiggles do not have supporting import lines at top. If you mouse over any of those you will see an option to import the required library; just mouse over, do not click until you see the import option.

    Also, take a look at this guide to using the Wowza IDE. This guide is a little out-dated with references to the stand-alone Wowza IDE (which is no longer available) and Wowza 3 paths, but it is still the essential guide to implementing Wowza application Modules, HTTPProviders and ServerListeners

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Auto record live stream
    By michalm in forum Live Streaming and Encoders
    Replies: 14
    Last Post: 04-02-2014, 09:47 AM
  2. Live Stream Record with auto record
    By Patrickz in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 11-08-2013, 05:41 AM
  3. DVR Auto Record / Stream Record
    By brayster99 in forum Tutorials Discussion
    Replies: 1
    Last Post: 04-29-2013, 04:00 AM
  4. Auto record module not working on EC2 AMI
    By briand123 in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 12-10-2012, 10:25 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
  •