Wowza Community

Axis 210 -> Wowza -> JW Player

Hi folks,

this is my first post, and straight a problem :wink:

I have several Axis 210 IP-Cameras, which I would like to stream to a Webpage using Wowza Server.

Used the following guide:

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

I’m able to login to the Stream Manager, and start the stream, can see the connect on the server console.

But I can also see lots of errors in regards to connects/disconnects.

The below is a part of the log when I try to use the example client to connect to the RTMP stream.

INFO stream create - -
INFO server comment - RTPUDPTransport.bind[live/_definst_]: 0.0.0.0/0.0.0.0:6984
INFO server comment - RTPUDPTransport.bind[live/_definst_]: 0.0.0.0/0.0.0.0:6985
INFO stream publish camera.stream -
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://derchrisuk.dyndns.org:554/mpeg4/media.amp
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.0.0.90:554/mpeg4/media.amp/
INFO server comment - RTPMediaCaster.Reconnector[2025883027:live/_definst_:camera.stream]: done: 8
INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:6984 msg:/78.86.128.162:50138
WARN server comment - MediaReaderFLV.open: Metadata appears to be bad: camera.stream
INFO stream stop camera.stream -
INFO stream play camera.stream -
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-16
INFO server comment - RTCPHandler.sendFirstRTCPRR[320844778,6985,/78.86.128.162:50139]
INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:6985 msg:/78.86.128.162:50139
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
INFO server comment - RTPMediaCaster.streamTimeout[2025883027:live/_definst_:camera.stream]: timeout:12000 diff:12011 reason:101
INFO server comment - RTPMediaCaster.resetConnection[2025883027:live/_definst_:camera.stream]:
INFO server comment - RTPMediaCaster.closeRTPSession[2025883027: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:6984
INFO server comment - RTPSessionTracker.remove[rtsp://derchrisuk.dyndns.org:554/mpeg4/media.amp]: 0:true
INFO server comment - RTPUDPTransport.unbind[live/_definst_]: 0.0.0.0/0.0.0.0:6985
INFO stream unpublish camera.stream -
INFO stream destroy camera.stream -
INFO server comment - RTPMediaCaster.Reconnector[2025883027:live/_definst_:camera.stream]: start: 9
INFO server comment - RTPSessionTracker.add[rtsp://derchrisuk.dyndns.org:554/mpeg4/media.amp]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.0.0.90:554/mpeg4/media.amp/trackID=1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:0353516942 sessionTimeout:60000
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.

I can connect to the stream URL via VLC, and it showed me it is H264.

The camera is connected to my network at home at the moment.

Have asked some friends to connect via VLC, and all confirm source stream ok.

By looking at the logs I thought maybe the stream is not compatible.

So I also played around with VLC transcode, with no luck.

Anyone used the Axis 210 cameras with Wowza before, or know what could be the issue here?

I planned to use JW Player once I get the streaming done, and also add additional cameras.

The stream URL is

rtsp://derchrisuk.dyndns.org:554/mpeg4/media.amp

if you want to test it.

I also applied 2.2.4-Patch2 which I found in one of the other threads.

Any help much appreciated.

Regards,

Christian

If this model had built-in H.264 encoder, you would use a URL like this:

rtsp://[camera-ip-address]:554/axis-media/media.amp?videocodec=h264

Unfortunately, it doesn’t.

http://www.midwestsurveillance.com/Axis-210-Network-Camera-p/0197-004.htm?gclid=COjL5vqv66oCFQ5W7AodWBugRA

You can get one of the Axis models that do, or use their transcoder, or another on in between, e.g. VLC:

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Richard

You can use RTSP streaming to any Android, and you can do RTMP or Flash HTTP (Sanjose) streaming to Flash 10.1+ on Android models 2.2 and higher.

VP6 only works to Flash clients. Use H.264 Format setting, the click wrench and set to Baseline 3, 2 second key frame frequency.

If you are using MP3 audio, make it Stereo 44100Hz

For RTSP, apply the latest patch to get be version 2.2.4.02, and follow this guide (and guide in step 3):

https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

Richard

Take a look at Livu:

https://www.wowza.com/docs/how-to-use-livu-video-broadcasting-ios-app-with-wowza-media-server

Richard

I got it working now with the help of Flash Media Live Encoder. It takes the RTSP input, transcode to VP6, and stream out to my Wowza server.

Had another user using Smartcam from his Windows Mobile phone to stream as well.

I bought Livu for iPhone which can do the same.

Is anyone aware of an Android app to stream to a Wowza server.

And in general, what config options are needed to have mobile devices connect to the same App as my other RTSP streams ?

Sorry, I was talking about the other way around.

Stream from Android to Wowza.

That’s what I have now with IP-Cams, iPhone, Blackberry and Windows Mobile.

But nothing for Android.

I also switched to H.264, Baseline 3.0 for the Encoders.

That’s what I use for iPhone.

But I was looking for Android.

Anyway, found a tool called air.broadcaster which seem to do what I want.