Results 1 to 7 of 7

Thread: problem streamschedule.smil

  1. #1
    Join Date
    Jul 2013
    Posts
    26

    Default problem streamschedule.smil

    I have problem with live schedule Wowza. Please help me!
    I create streamschedule.smil in content folder have content following:
    <smil>    
        <head>
        </head>
        <body>
    
            <stream name="Stream1"></stream>
            
            <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2014-03-29 10:00:00">
                <video src="mp4:sample.mp4" start="0" length="150"/>
            </playlist>
            <playlist name="pl2" playOnStream="Stream1" repeat="true" scheduled="2014-03-29 10:05:00">
                <video src="vtv1.stream" start="-2" length="250"/>
            </playlist>
            <playlist name="pl3" playOnStream="Stream1" repeat="true" scheduled="2014-03-29 10:10:00">
                <video src="mp4:sample.mp4" start="0" length="150"/>
            </playlist>
    
        </body>
    </smil>
    And vtv1.stream file in content folder have content following:
    rtmp://m35.megafun.vn/hctv/vstv002

    but when I play Stream1 until 10h05' display black screen and wowzamediaserver_error.log:
    ERROR server comment 2014-03-29 10:05:04 - - - 1187.825 - - - -execute: java.util.concurrent.RejectedExecutionException
    Last edited by roger_l; 03-30-2014 at 06:44 PM. Reason: add code tags

  2. #2

    Default

    Hi,

    There is nothing in the Stream Publisher code that should cause this type of error.

    It is possible that the error might occur while the server is shutting down but I don't think it would be related to the publisher.

    Are you running any other custom code that may explain it?

    Roger.

  3. #3

    Default

    Also, to be able to switch to your live stream source at 10:05, the source does need to be published already. Because you are using a .stream file, you will need to have started it using the manager or startup streams.

    Roger.

  4. #4
    Join Date
    Jul 2013
    Posts
    26

    Default

    Hi roger_l.
    Thanks for your answer.
    I set in StartupStreams.xml following:
    <StartupStream>
    <Application>live/_definst_</Application>
    <MediaCasterType>rtp</MediaCasterType>
    <StreamName>vtv1.stream</StreamName>
    </StartupStream>
    Can you guide me?
    Last edited by tranmy1828; 03-30-2014 at 07:57 PM.

  5. #5

    Default

    Hi,

    You have the wrong MediaCasterType in your StartupStream.

    For RTMP mediaCaster urls, you need to set the MediaCasterType to liverepeater.

    <MediaCasterType>liverepeater</MediaCasterType>
    Roger.

  6. #6
    Join Date
    Jul 2013
    Posts
    26

    Default

    Hi,
    I setted <MediaCasterType>liverepeater</MediaCasterType> but still WowzaLog error: "execute: java.util.concurrent.RejectedExecutionException ".
    I have to configure more liverepeater again?

  7. #7

    Default

    Hi,

    Did you restart the server after making the change?

    If you are still having issues then please zip up your conf & logs folders and send to support@wowza.com along with a detailed description of the problem and a link to this thread.

    Roger.

Similar Threads

  1. i need help with streamschedule.smil
    By emile.k in forum General Forum
    Replies: 5
    Last Post: 07-11-2014, 10:21 PM
  2. Issue in publishing of streamschedule.smil
    By king407 in forum Tutorials Discussion
    Replies: 9
    Last Post: 01-31-2014, 10:46 AM
  3. Where do you place the streamschedule.smil file?
    By prizm4all in forum Server-side Modules and Code Samples Discussion
    Replies: 4
    Last Post: 11-24-2012, 08:40 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
  •