I have a setup to stream a live feed from some ip cameras running on 3g to a cloud server running wowza and then using cloudfront to deliver the content.
I am using hls and want to have it run on all browsers and I finally got this to work by using flashls. I only managed to get that in the end by taking the swf file directly from this site because I could not get it to work with other swf files that I have used.
That all seems fine though, as I now have a stream I can run through Chrome, Safari and IE.
The problem I keep getting is that after a while the stream freezes in the browsers and the only way to restart them is to refresh the page. I am not sure if this is down to videojs or wowza.
After looking at the wowza logs I am constantly getting errors for failures to connect and streams not found.
WARN	server	comment	2014-10-09	09:00:42	-	-	-	-	-	537681.623	-	-	-	-	-	-	-	-	HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [livehttp/cam1@g50.stream/chunklist.m3u8]: cam1@g50.stream
ERROR	server	comment	2014-10-09	09:00:52	-	-	-	-	-	538599.33	-	-	-	-	-	-	-	-	MediaCasterConnection.connect: Failed to connect[10.8.0.118:9101] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:70)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect(RTPSessionDescriptionDataProviderBasicRTSPWorker.java:2074)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:336)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:206)|
WARN	server	comment	2014-10-09	09:00:52	-	-	-	-	-	538599.331	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://10.8.0.118:9101/live2.sdp
WARN	server	comment	2014-10-09	09:01:12	-	-	-	-	-	538619.049	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.
ERROR	server	comment	2014-10-09	09:01:22	-	-	-	-	-	538629.166	-	-	-	-	-	-	-	-	MediaCasterConnection.connect: Failed to connect[10.8.0.118:9101] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:70)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect(RTPSessionDescriptionDataProviderBasicRTSPWorker.java:2074)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:336)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:206)|
WARN	server	comment	2014-10-09	09:03:29	-	-	-	-	-	537848.299	-	-	-	-	-	-	-	-	HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [livehttp/cam2@g50.stream/chunklist.m3u8]: cam2@g50.stream
WARN	server	comment	2014-10-09	09:03:48	-	-	-	-	-	538775.075	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.
WARN	server	comment	2014-10-09	09:04:03	-	-	-	-	-	538790.346	-	-	-	-	-	-	-	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.
I don’t know why I am getting all these disconnects though, when I check the streams in wowza and watch them on the test players directly in the client they are working fine and never drop out.
Thanks,
Simon