Wowza Community

Cannot Stream H.264 from an Axis Q6034 over the Internet

Hi There,

I’m trying to view the video from an Axis Q6034 camera (which is serving up an H.264 RTSP stream) using the rtp-live example client, however, I keep on getting streamTimeouts and subsequent RTPMediaCaster.Reconnector attempts being made, to no avail. Despite trying to up the streamTimeout (I’m not sure if that’s even the right approach in the first place), I still get the same endless re-connection attempts being made. This is an example of what’s being logged:

INFO server comment - RTPMediaCaster.streamTimeout[14949706:rtplive/definst:ca

mera.stream2]: timeout:90000 diff:90022 reason:101

INFO server comment - RTPMediaCaster.resetConnection[14949706:rtplive/definst:

camera.stream2]:

INFO server comment - RTPMediaCaster.closeRTPSession[14949706:rtplive/definst:

camera.stream2]

INFO stream unpublish camera.stream2 -

INFO stream destroy camera.stream2 -

INFO server comment - RTPMediaCaster.Reconnector[14949706:rtplive/definst:came

ra.stream2]: start: 2

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtpli

ve/definst]: C:/Users/user/AppData/Local/Programs/Wowza Media Systems/Wo

wza Media Server 2.2.3/content/camera.stream2

INFO stream create - -

INFO stream publish camera.stream2 -

INFO server comment - RTPMediaCaster.Reconnector[14949706:rtplive/definst:came

ra.stream2]: done: 2

INFO server comment - LivePlayer.play[rtplive/definst/camera.stream2]: Dynamic

Stream Markers are on.

INFO server comment - RTPMediaCaster.streamTimeout[14949706:rtplive/definst:ca

mera.stream2]: timeout:90000 diff:90009 reason:101

INFO server comment - RTPMediaCaster.resetConnection[14949706:rtplive/definst:

camera.stream2]:

INFO server comment - RTPMediaCaster.closeRTPSession[14949706:rtplive/definst:

camera.stream2]

INFO stream unpublish camera.stream2 -

INFO stream destroy camera.stream2 -

INFO server comment - RTPMediaCaster.Reconnector[14949706:rtplive/definst:came

ra.stream2]: start: 3

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtpli

ve/definst]: C:/Users/user/AppData/Local/Programs/Wowza Media Systems/Wo

wza Media Server 2.2.3/content/camera.stream2

INFO stream create - -

INFO stream publish camera.stream2 -

INFO server comment - RTPMediaCaster.Reconnector[14949706:rtplive/definst:came

ra.stream2]: done: 3

INFO server comment - LivePlayer.play[rtplive/definst/camera.stream2]: Dynamic

Stream Markers are on.

We have the same camera in our office (i.e. within our LAN) and I can get the Wowza rtp-live example to work just fine. Also, I am able to view the H.264 RTSP stream from the Q6034 on the internet using VLC.

Any insight as to why this is occurring would be greatly appreciated. I’d really like to use Wowza, but it needs to be able to connect to a number of cameras that are outside a LAN. Hopefully I’m just going about this the wrong way, and there is a fix.

Thanks,

Sean

Sean,

Did you configure the application following this guide?:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming

Is the camera on a public IP? You can send to support@wowza.com, include a link to this forum post.

Richard

Sean,

No, I don’t have that experience, but IP camera connected to cellular modem sounds sketchy. Take a look at the MediaCaster Stream Monitor:

https://www.wowza.com/docs/how-to-enable-advanced-monitoring-and-resetting-of-mediacaster-streams)

Richard

Richard,

Thanks for the quick reply.

Yes - I configured the application following the guide you referenced. In particular, I configured it for Live Streaming (Simple instructions for Adobe Flash Player only), and it works just fine for the same camera on our internal LAN. However, we’re having issues with cameras on the internet (one on a cable modem, others on cellular modems). I hope I’m not dreaming, thinking that I’ll be able to get Wowza working with Axis cameras on cellular modems, since this is the case for the majority of cameras at the moment.

Unfortunately, I’m still waiting to hear back from the individual who’s responsible for controlling access to the cameras (I just need to make sure that it’s fine giving Wowza temporary access). I’ll let you know once I get an answer.

In the meantime, do you have any experience getting Wowza to work with cameras over cellular modems?

Thanks very much for your help.

Sean

Richard,

Thanks for the quick reply.

Yes - I configured the application following the guide you referenced. In particular, I configured it for Live Streaming (Simple instructions for Adobe Flash Player only), and it works just fine for the same camera on our internal LAN. However, we’re having issues with cameras on the internet (one on a cable modem, others on cellular modems). I hope I’m not dreaming, thinking that I’ll be able to get Wowza working with Axis cameras on cellular modems, since this is the case for the majority of cameras at the moment.

Unfortunately, I’m still waiting to hear back from the individual who’s responsible for controlling access to the cameras (I just need to make sure that it’s fine giving Wowza temporary access). I’ll let you know once I get an answer.

In the meantime, do you have any experience getting Wowza to work with cameras over cellular modems?

Thanks very much for your help.

Sean

We’ve the same issue and trace is below ; We can get the stream from IP Cam via VLC on public IP and if we test the setup with wowza we can’t get the stream. What’s wrong with our setup?

Thanks

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: done: 72

INFO server comment - RTPMediaCaster.streamTimeout[2027044435:live/definst:camera.stream]: timeout:12000 diff:12005 reason:101

INFO server comment - RTPMediaCaster.resetConnection[2027044435:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[2027044435:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPUDPTransport.unbind[live/definst]: 0.0.0.0/0.0.0.0:7020 sent:0 recv:0

INFO server comment - RTPSessionTracker.remove[rtsp://188.41.141.7/axis-media/media.amp]: 0:true

INFO server comment - RTPUDPTransport.unbind[live/definst]: 0.0.0.0/0.0.0.0:7021 sent:0 recv:0

INFO stream unpublish camera.stream -

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: start: 73

INFO server comment - RTPSessionTracker.add[rtsp://188.41.141.7/axis-media/media.amp]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://188.41.141.7/axis-media/media.amp/trackID=1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:4511979D sessionTimeout:60000

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/definst]: RTSP/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO server comment - RTPUDPTransport.bind[live/definst]: 0.0.0.0/0.0.0.0:7022

INFO server comment - RTPUDPTransport.bind[live/definst]: 0.0.0.0/0.0.0.0:7023

INFO stream publish camera.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://188.41.141.7/axis-media/media.amp

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://188.41.141.7/axis-media/media.amp/

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: done: 73

We also tried with port 554, but the result is the same.

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: done: 97

INFO server comment - RTPMediaCaster.streamTimeout[2027044435:live/definst:camera.stream]: timeout:12000 diff:12005 reason:101

INFO server comment - RTPMediaCaster.resetConnection[2027044435:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[2027044435:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPUDPTransport.unbind[live/definst]: 0.0.0.0/0.0.0.0:6978 sent:0 recv:0

INFO server comment - RTPSessionTracker.remove[rtsp://188.41.141.7:554/axis-media/media.amp]: 0:true

INFO server comment - RTPUDPTransport.unbind[live/definst]: 0.0.0.0/0.0.0.0:6979 sent:0 recv:0

INFO stream unpublish camera.stream -

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: start: 98

INFO server comment - RTPSessionTracker.add[rtsp://188.41.141.7:554/axis-media/media.amp]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://188.41.141.7:554/axis-media/media.amp/trackID=1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:94176CC9 sessionTimeout:60000

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/definst]: RTSP/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO server comment - RTPUDPTransport.bind[live/definst]: 0.0.0.0/0.0.0.0:6980

INFO server comment - RTPUDPTransport.bind[live/definst]: 0.0.0.0/0.0.0.0:6981

INFO stream publish camera.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://188.41.141.7:554/axis-media/media.amp

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://188.41.141.7:554/axis-media/media.amp/

INFO server comment - RTPMediaCaster.Reconnector[2027044435:live/definst:camera.stream]: done: 98