Doing an eval of Wowza 2.2.3 b26454 on Windows Server 2008 R2 64-bit with 64-bit Java JDK v1.06.0_23 VM Version 19.0-b09.
Target application is re-streaming an Axis IP camera. I’m using the rtplive example application and the re-streaming works fine.
However… with just a single Flash client connecting and disconnecting, the second connect attempt (after the 10s publishing timeout disconnect) always causes Wowza to fail to re-publish the stream from the camera.
Always see a sequence like this… (camera source IP changed to 1.2.3.4)
[SIZE="2"]INFO stream unpublish camera.stream -
INFO stream destroy camera.stream -
INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/camera.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer
INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/camera.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer
INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/camera.stream]: Destroy live stream packetizer: smoothstreamingpacketizer
INFO stream destroy camera.stream -
INFO session connect-pending 1.2.3.4 -
INFO session connect 1.2.3.4 -
INFO stream create - -
INFO server comment - MediaStreamMediaCasterPlay: startPlay
INFO server comment - RTPMediaCaster.create[71149648]
INFO server comment - RTPMediaCaster.init[71149648]
INFO server comment - RTPMediaCaster.Reconnector[71149648:rtplive/_definst_:camera.stream]: start: 1
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://1.2.3.4:554/axis-media/media.amp?videocodec=h264&streamprofile=Test
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
INFO server comment - MediaStreamMediaCasterPlay: close
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
INFO session comment 1823691562 client connectionClosed [1823691562] watchdog
INFO session disconnect 1823691562 -
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
ERROR server comment - Failed to connect: org.apache.mina.common.RuntimeIOException: java.net.SocketException: Invalid argument: sun.nio.ch.Net.setIntOption
INFO server comment - RTPMediaCaster.shutdown[71149648:rtplive/_definst_:camera.stream]: camera.stream
INFO server comment - RTPMediaCaster.disconnect[71149648:rtplive/_definst_:camera.stream]
INFO server comment - RTPMediaCaster.closeRTPSession[71149648:rtplive/_definst_:camera.stream]
INFO server comment - RTPMediaCaster.Reconnector[71149648:rtplive/_definst_:camera.stream]: done: 1
INFO session comment 247810772 client connectionClosed [247810772] pingtimeout
INFO session disconnect 247810772 -[/SIZE]
I like the concept of publishing on-demand to save us from streaming out of the camera when there’s no one watching… but it’s not a mandatory feature, especially if we target non-Flash mobile devices too. Not tried stream manager publishing control yet on this server. Have tried same application config on 32-bit Windows Vista + 32-bit JDK with the same camera, no problem (albeit on my home LAN and not via a hosted server as with the 64-bit case).
Even if we use some kind of manual or scripted stream publishing management, would not want this re-connect failure to happen every time we re-start a stream from a camera.
Thoughts?
Thanks,
David.
NB: similar to this thread? https://www.wowza.com/forums/showthread.php?5549-Load-testing-tool-trouble