UDP re-stream- M3u8 output disconnects if no rtmp viewers
We are seeing a strange behavior
We are re-streaming a live udp stream through stream manager. The rtmp re-broadcast of the stream is always available and appears to be working fine. The m3u8 version is available only when someone is connected to the rtmp stream. Whenever the last rtmp viewer disconnects, the m3u8 stream stops almost exactly 15 seconds later. Any isight on this?
You probably have the Application.xml /StreamType set to "rtp-live", and that a Flash client is playing the stream before you start it in StreamManager, therefore it is the client that has a lock on the stream which is released when it disconnects, signalling Wowza to stop packetizing. Change the StreamType to "live". You might also use /conf/StartUpStreams.xml to start streams instead of StreamManager
No, actually, you can and should use StreamType "live" in this case, it is recommended. Use Application.xml /StreamType "live" and start these streams in /conf/StartUpStreams.xml or using StreamManager with MediaCaster type "rtp". If you have Application.xml /Streams /LiveStreamPacketizers set to "cupertinostreamingpacketizer" you have to do it this way to start packetization. If you leave the StreamType "rtp-live" then HLS clients will not work unless a Flash client has connected and started the stream, which is not what you want.