Axis Camera stream fails after upgrade from OS10 to OS11

stone

New Member
Our customer has found when upgrading a Axis Camera from OS10.12.199 to OS11.11.161 the stream fails. Comparing the OS10 and OS11 Axis stream settings everything looks identical on the gui and still using h.264 Codec.

We are running 5.2.1725

The RTSP stream does play in VLC with no problems.

Flashphoner.log shows:

23:08:53,774 INFO RestClient - API-ASYNC-pool-17-thread-2 RECEIVED REST OBJECT <==
URL:http://localhost:8081/apps/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "XN8HjehNH3fOPxR51kIpvCU1zBeP9ufn@IP",
"appKey" : "defaultApp",
"sessionId" : "rtsp://56b42de0c94a",
"mediaSessionId" : "0fc15f3f-105d-449c-9155-fb406a8ae56f",
"name" : "/live",
"published" : true,
"hasVideo" : true,
"hasAudio" : false,
"status" : "FAILED",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"history" : false,
"gop" : 0,
"fps" : 0,
"audioBitrate" : 0,
"codecImpl" : "",
"transport" : "UDP",
"cvoExtension" : false,
"createDate" : 1753484873112,
"mediaType" : "pull",
"audioState" : {
"muted" : false
},
"videoState" : {
"muted" : false
},
"mediaProvider" : "RTSP"
}
23:08:53,775 ERROR RtspAgent - API-ASYNC-pool-17-thread-2 Stream failed
23:08:53,775 INFO RestClient - API-ASYNC-pool-17-thread-1 SEND REST OBJECT ==>
 

Max

Administrator
Staff member
Good day.
Please update to the latest build 5.2.2294. If the stream still not playing after update, please provide a public RTSP URL using this form, our engineeers will check it.
 

stone

New Member
Hello Max,

I upgraded to 5.2.2294 and still seeing a black screen with an Axis OS 11 camera. Thinking the Redirect has changed with Axis from OS10-OS11.

With a Axis OS 10 seeing a 302 Moved Temporarily followed by three URL:http://localhost:8081/apps/EchoApp/connect

then a URL:http://localhost:8081/apps/EchoApp/StreamStatusEvent with status playing.

-----------------------
With Axis OS 11

13:38:31,302 INFO RtspAgent - RtspAgent-pool-35-thread-8 Received redirect 302 Moved Temporarily
13:38:31,302 INFO RtspAgent - RtspAgent-pool-35-thread-8 Channel closed
13:38:31,303 WARN annelUpstreamHandler - RtspAgent-pool-35-thread-8 EXCEPTION, please implement com.flashphoner.I.B.exceptionCaught() for proper handling.
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:461)
at sun.nio.ch.Net.bind(Net.java:453)
at sun.nio.ch.SocketChannelImpl.bind(SocketChannelImpl.java:584)
at sun.nio.ch.SocketAdaptor.bind(SocketAdaptor.java:147)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.bind(NioClientSocketPipelineSink.java:124)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:95)
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:55)
at org.jboss.netty.channel.Channels.bind(Channels.java:569)
at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:187)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:226)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:183)
at com.flashphoner.server.remote.E.D.A(Unknown Source)
at com.flashphoner.server.remote.E.D.A(Unknown Source)
at com.flashphoner.server.remote.E.D.B(Unknown Source)
at com.flashphoner.server.remote.E.D.A(Unknown Source)
at com.flashphoner.I.B.messageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:420)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:546)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:445)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
"mediaType" : "pull",
"audioState" : {
"muted" : false
},
"videoState" : {
"muted" : false
},
"mediaProvider" : "RTSP"
}

If you need the two logs I can remove private info and upload here.
 

Max

Administrator
Staff member
Please provide a public RTSP URL using this form, our engineeers will check it.
If you cannot provie a public RTSP URL, please collect RTSP dump:
1. Start Wireshark traffic capturing
2. Start VLC, open the camera RTSP stream
3. Play for one minute
4. Stop playing
5. Stop Wireshark traffic capturing, save the dump file as pcap
Send the dump pcap file using this form
 
Top