How to insert live stream in schedule

Hi,

I have a problem with schedule live stream with StreamPublisher. I success with scheduled mp4 file, but then I try to schedule live stream - live stream for some reason is skipped

access.log

2018-09-17	13:43:36	MSK	comment	server	INFO	200	-	ServerListenerStreamPublisher PlayList Item Start: mp4:iowa.mp4	_defaultVHost_	-	-6740.78	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	--	-	-	-
2018-09-17	13:43:46	MSK	comment	server	INFO	200	-	Stream.switch[TestLive/_definst_/MyStream]: index: 0 name:mp4:iowa.mp4 start:0 length:10 interItemGap(a/v/c/u):24/40/0/40	_defaultVHost_	-	-	6750.809	-	-	-	-	-	-	-	-	-	-	--	-	-	-	-	-	-	-	-	-	-	-	-	-
2018-09-17	13:43:46	MSK	comment	server	INFO	200	-	ServerListenerStreamPublisher PlayList Item Start: mp4:iowa.mp4	_defaultVHost_	-	-6750.813	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	--	-	-	-	-
2018-09-17	13:43:56	MSK	comment	server	INFO	200	-	Stream.switch[TestLive/_definst_/MyStream]: index: 0 name:mp4:iowa.mp4 start:0 length:10 interItemGap(a/v/c/u):24/40/0/40	_defaultVHost_	-	-	6760.885	-	-	-	-	-	-	-	-	-	-	--	-	-	-	-	-	-	-	-	-	-	-	-	-
2018-09-17	13:43:56	MSK	comment	server	INFO	200	-	ServerListenerStreamPublisher PlayList Item Start: mp4:iowa.mp4	_defaultVHost_	-	-6760.89	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	--	-	-	-
2018-09-17	13:44:06	MSK	comment	server	INFO	200	-	Stream.switch[TestLive/_definst_/MyStream]: index: 0 name:mp4:iowa.mp4 start:0 length:10 interItemGap(a/v/c/u):24/40/0/40	_defaultVHost_	-	-	6770.912	-	-	-	-	-	-	-	-	-	-	--	-	-	-	-	-	-	-	-	-	-	-	-	-
2018-09-17	13:44:06	MSK	comment	server	INFO	200	-	ServerListenerStreamPublisher PlayList Item Start: mp4:iowa.mp4	_defaultVHost_	-	-6770.914	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	

Contents of the Smil file.

<?xml version="1.0" encoding="UTF-8"?>
                <smil>
                    <head>
                    </head>
                    <body>
               		 
			    <stream name="MyStream"></stream>
			<playlist name="pl1" playOnStream="MyStream" repeat="true" scheduled="2018-08-15 11:56:20">
				 <video src="conf.stream" start="-2" length="-1"/> 
			 	 <!--<video src="mp4:iowa.mp4" start="0" length="10"/>-->
			 </playlist>
			 <playlist name="pl2" playOnStream="MyStream" repeat="true" scheduled="2018-08-15 11:56:25">
            			<video src="mp4:iowa.mp4" start="0" length="10"/>
        		</playlist>

                    </body>
                </smil>

The link I use to play the video in the wowza player

http://172.16.5.28:1935/TestLive/MyStream/playlist.m3u8

contents of the conf.stream

http://172.16.5.28:1935/TestLive/Stream/playlist.m3u8

If connect this file in the stream files section , then it will appear in the error logs

.onPlaylist[TestLive/Stream/playlist.m3u8]: Invalid session
ERROR	server	comment	2018-09-17	14:09:48	-	-	-	-	-	8313.246	-	-	-	-	-	-	-	-	HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://172.16.5.28:1935/TestLive/Stream/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARN	server	comment	2018-09-17	14:09:48	-	-	-	-	-	8313.246	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null
WARN	server	comment	2018-09-17	14:09:51	-	-	-	-	-	2229.053	-	-	-	-	-	-	-	-	HTTPStreamerAdapterCupertinoStreamer.onPlaylist[TestLive/Stream/playlist.m3u8]: Invalid session
ERROR	server	comment	2018-09-17	14:09:51	-	-	-	-	-	8316.25	-	-	-	-	-	-	-	-	HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://172.16.5.28:1935/TestLive/Stream/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARN	server	comment	2018-09-17	14:09:51	-	-	-	-	-	8316.25	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null

Please, help me.

Thank you for providing all the code samples @Maxim Avdeev. The engineers will need to test and track your issue through a support ticket. Will you kindly submit one and we can run some tests.

https://www.wowza.com/support/open-ticket