Results 1 to 4 of 4

Thread: Pre-roll video without stream publisher and after the end of live stream

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2014
    Posts
    10

    Default Pre-roll video without stream publisher and after the end of live stream

    Hi,
    we are using ModuleLoopUntilLive for pre-roll video, but we have two problems with it:
    1) Is there any way how to use it without stream publisher (ServerListenerStreamPublisher)? I was trying to use mediacaster liverepeater, which was connect to VOD file stream, but it doesn't work.
    2) Now we are using stream publisher and it works but when live stream ends, pre-roll video doesn't start playing again. We want to start playing pre-roll video again after live stream end. How to do it?
    We have Wowza 4.1.2 and JW Player 6.12 as player.

  2. #2
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    Hi,
    They way you describe it is how it should work. Did you try to set the playlist in the schedule to repeat="true" ?
    It should loop around if that is the case.

    Daren

  3. #3
    Join Date
    Mar 2014
    Posts
    10

    Default

    This is my streamschedule.smil file:
    <?xml version="1.0" encoding="UTF-8"?>
    <smil>
    <body>
    <stream name="rss"></stream>
    <stream name="rss2"></stream>
    <playlist name="livePreRollPlaylist" playOnStream="rss" repeat="true" scheduled="2015-01-01 12:00:00">
    <video src="mp4:sample.mp4" start="0" length="20"/>
    </playlist>
    <playlist name="livePreRollPlaylist" playOnStream="rss2" repeat="true" scheduled="2015-01-01 12:00:00">
    <video src="mp4:sample.mp4" start="0" length="20"/>
    </playlist>
    </body>
    </smil>
    But when incomming streams end, they are disconnected and I don't see there streams from streams publisher (there are not any incomming streams). My incomming streams have same names as streams defined in smil file (rss and rss2), is that correct?

  4. #4
    Join Date
    Mar 2014
    Posts
    10

    Default

    My problem was with loopUntilLiveOutputStreams configuration.
    loopUntilLiveSourceStreams - input (source) live stream name - have to be different from output live stream name!
    loopUntilLiveOutputStreams - there should be output live stream name used in player - have to be same as stream name defined in streamschedule.smil file
    How it works:
    If you start playing live stream rss in player, StreamPublisher starts pre-roll live stream rss (defined in loopUntilLiveOutputStreams and streamschedule.smil file).
    When input live stream rss-source starts, wowza switch internally live stream to rss-source (defined in loopUntilLiveSourceStreams).
    When input live stream ends, wowza switch internally back to rss live stream pubslihed by StreamPublisher.

Similar Threads

  1. Live Stream Pre-Roll
    By sogorman in forum Wowza Streaming Engine functionality
    Replies: 1
    Last Post: 08-29-2013, 01:44 AM
  2. Pre-Roll Video Ad
    By TheSTN in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 03-18-2013, 03:42 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
  •