# problem streamschedule.smil

**URL:** <https://community.wowza.com/t/problem-streamschedule-smil/40807>\
**Category:** Wowza Streaming Engine\
**Created:** [March 31, 2014, 8:32am UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807 "2014-03-31T08:32:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tran\_My](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Tran\_My](https://community.wowza.com/u/Tran_My)\
**Post date:** [March 31, 2014, 8:32am UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/1 "2014-03-31T08:32:41Z")

</div>

I have problem with live schedule Wowza. Please help me!

I create streamschedule.smil in content folder have content following:

```auto
<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

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 31, 2014, 1:50pm UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/2 "2014-03-31T13:50:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 31, 2014, 1:52pm UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/3 "2014-03-31T13:52:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 31, 2014, 3:23pm UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/4 "2014-03-31T15:23:16Z")

</div>

Hi,

You have the wrong MediaCasterType in your StartupStream.

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

```auto
<MediaCasterType>liverepeater</MediaCasterType>

```

Roger.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 31, 2014, 3:45pm UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/5 "2014-03-31T15:45:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tran\_My](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Tran\_My](https://community.wowza.com/u/Tran_My)\
**Post date:** [March 31, 2014, 9:46am UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/6 "2014-03-31T09:46:03Z")

</div>

Hi roger\_l.

Thanks for your answer.

I set in StartupStreams.xml following:

live/_definst_

rtp

vtv1.stream

Can you guide me?

---

<div class="post-metadata">

**Author:** ![Tran\_My](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Tran\_My](https://community.wowza.com/u/Tran_My)\
**Post date:** [March 31, 2014, 10:39am UTC](https://community.wowza.com/t/problem-streamschedule-smil/40807/7 "2014-03-31T10:39:03Z")

</div>

Hi,

I setted liverepeater but still WowzaLog error: "execute: java.util.concurrent.RejectedExecutionException ".

I have to configure more liverepeater again?
