Results 1 to 10 of 10

Thread: Loop playlist by Live stream

  1. #1
    Join Date
    May 2014
    Posts
    17

    Default Loop playlist by Live stream

    Greetings!
    Pls help - can't understood how to create a loop playback from VOD to the live Stream.
    I create a Live app, put the two mp4 files into content directory, download and install additional modules to the /install-dir/lib/wms-plugin-collection.jar
    After that, i create the SMIL (streamschedule.smil) by this manual http://www.wowza.com/forums/content.php?145 and put it into the content directory of LIVE app.
    In LIVE app, i create a custom properties parameters (streamPublisherSmilFile), than restart the app.
    But nothing happen ((
    VOD app playback my files fine.

    There is my smil file:

    <smil>
    <head>
    </head>
    <body>

    <stream name="Stream1"></stream>

    <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2013-09-25 16:00:00">
    <video src="mp4:0036_ugrozy_commutacii.mp4" start="0" length="-1"/>
    <video src="mp4:sample.mp4" start="0" length="-1"/>
    </playlist>

    </body>
    </smil>

    What is my mistake?
    Thx 4 any help.

  2. #2

    Default

    Hi there.
    By default Wowza uses [install-dir]/content for streaming. You can configure an application to use a different storage directory.
    It sounds like you have created a storage directory for the Live app and placed the .smil file there? Have you modified the Live applications <StorageDir>?

    If you have not changed the storage directory for the live application, you can either move the .smil file to [install-dir]/content and test that. Or you can change the storage directory.
    For more information please see the Quick Start Guide:
    Content Storage

    Salvadore

  3. #3
    Join Date
    May 2014
    Posts
    17

    Default

    I did this.
    I forgot about configured Server Listener Configuration by adding a new class of server listener (Fully Qualified Class Name - com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher).
    But - my live stream only works when my wowza server start.
    If i restart the application then live stream stop and don't restart before i restart the Wowza service.
    How to bind live stream restart to live application restart, not for wowza service ?

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

    Default

    There are two ways to configure the scheduler, the way you are doing it with the ServerListener loads the schedule when Wowza starts. You can remove that ServerListener and configured the Application Module as shown in the guide. You would then use this ServerListener to load and lock the application you have configured to use the schedule.

    Richard

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

    Default

    To add, using the application module will allow you to reload the schedule, though that must be done with some care. And be sure to remove the ServerListenerStreamPublisher when doing this with ModuleStreamPublisher

    Richard
    Last edited by rrlanham; 05-15-2014 at 01:09 PM.

  6. #6
    Join Date
    Jan 2014
    Posts
    7

    Default

    Hi Salvadore,

    I have created the following playlist to loop:

    <?xml version="1.0" encoding="UTF-8"?>
    <smil>
    <head>
    </head>
    <body>
    <stream name="Stream1"></stream>
    <playlist name="pl1" playOnStream="Stream1" repeat="true">
    <video src="mp4:live_0.mp4" start="0" length="-1"/>
    </playlist>
    </body>
    </smil>

    when i try to access this stream like follows, http://server/livex/smil:logoloop.smil/playlist.m3u8 it doesnt work any help would be much appreciated.

  7. #7

    Default

    Assuming everything else is configured correctly in the live application, you would use the stream name that's set in the SMIL file. Not the name of the SMIL file.

    In this case "Stream1". So the URL would be:
    http://server/livex/Stream1/playlist.m3u8
    Regards,

    Salvadore

  8. #8
    Join Date
    Jan 2014
    Posts
    7

    Default

    Quote Originally Posted by salvadore View Post
    Assuming everything else is configured correctly in the live application, you would use the stream name that's set in the SMIL file. Not the name of the SMIL file.

    In this case "Stream1". So the URL would be:
    http://server/livex/Stream1/playlist.m3u8
    Regards,

    Salvadore
    So i tried that and still no joy:

    ==> wowzastreamingengine_error.log <==
    WARN server comment 2016-03-09 HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [livex/Stream1/playlist.m3u8]: Stream1

    am i missing something obvious? this has been doing my head in for days!!

  9. #9

    Default

    Can you please outline the steps you have take in configuring this application for Scheduled Streaming? Also please reference what guide, if any you are following.

    Thank you,

    NOTE EDIT: Also, can you explain what you are trying to do exactly?

    Salvadore
    Last edited by salvadore; 03-09-2016 at 05:36 AM. Reason: Additional Question

  10. #10
    Join Date
    Mar 2016
    Posts
    7

    Default

    To add, using the application module will allow you to reload the schedule, though that must be done with some care. And be sure to remove the ServerListenerStreamPublisher when doing this with ModuleStreamPublisher

Similar Threads

  1. Module loop until live help
    By slayer7 in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 09-03-2014, 11:34 PM
  2. Playlist loop prevents Application to stop
    By SilentBob in forum General Forum
    Replies: 3
    Last Post: 01-28-2014, 08:49 AM
  3. live file streaming with loop
    By mktw16 in forum Tutorials Discussion
    Replies: 1
    Last Post: 08-29-2012, 07:47 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
  •