Re-streaming an RTSP stream through Wowza Pro (RTSP/RTP)

What camera model are you using?

Richard

It looks like that camera should work. Be sure you are using h.264 encoding for that stream, “video0”. Not motion JPEG.

Richard

If you want to get going with this, I would take the well traveled path: Axis IP camera with h.264 and rtsp.

These Axis cams are known to work:

M1011(-W), M1031-W, P3301(-V), Q1755

I have the M1031-W. It works great. I think there are other models beside these 3.

Latency is 2 or 3 seconds with these cameras and h.264, at a minimum.

Richard

I’m not seeing a problem. Is there a public IP to that oscar I can test from here?

Richard

That’s not going to work for me from here because the Oscar is on a router ip (192.168.1.x)

If you can pass it thru to a public IP then I can see it from here. In linksys you put the oscar IP on “dmz” or setup pass thru ports, in the App and Gaming tab.

You could send the public ip for oscar to richard@wowza.com

Richard

I tried it using the Wowza LiveStreaming example player. I get, “connection failed”

Richard

I did try “live” also, just for grins. But am using the file and streamer you posted.

Now I get nothing, which makes me think the bit rate is too high. See what your logs say. my ip is 68.118.253.167

Richard

Hold on, have you followed this guide?:

https://www.wowza.com/forums/showthread.php?t=1354

Richard

Install MediaCasterStreamManager, which you can use to stop and start the stream:

http://community.wowza.com/t/-/54

Richard

Follow the setup steps in the first post of this thread:

http://community.wowza.com/t/-/53

Richard

Try setting up a lower bit rate profile in Axis named “lowbr” Then use url like this:

rtsp://axisCamIP:554/axis-media/media.amp?videocodec=h264&streamprofile=lowbr

Richard

You have the interleaved property commented out. Change this:

To this:

forceInterleaved

true

Boolean

Richard

Sure, send link to support@wowza.com

Did you restart Wowza after change? (it’s not always necessary with Application.xml change but it can’t hurt)

Richard

You can setup different profiles with different bit rates and other options. You do that in the camera’s interface, and the url will look like this:

rtsp://[axis-cam-ip]:554/axis-media/media.amp?videocodec=h264&streamprofile=profile1

rtsp://[axis-cam-ip]:554/axis-media/media.amp?videocodec=h264&streamprofile=profile2

Richard

You can use StreamNameAlias to hide the URL:

http://community.wowza.com/t/-/47

For recording, you can use “rtp-live-record” stream type. Or, better, use MediaCasterStreamManager, which is good for stopping and starting streams, and you can start recording this way too, choose “rtp-record” from the drop-down when you start a stream:

http://community.wowza.com/t/-/54

You can pass username and password to the encoder in the rtsp url, like this:

rtsp://username:password@[axis-cam-ip]:554/axis-media/media.amp?videocodec=h264&streamprofile=profile2

Richard

Try it without .flv extension in Flowplayer. JW player strips that so it is not causing a problem, but Flowplayer might not do that:

url: ‘rtsp://[ip-address]:554/axis-media/media.amp’,

Richard

You need Wowza Server 2 Advanced to do it:

http://wowza.com/advanced

And this is the guide:

https://www.wowza.com/forums/showthread.php?t=5376

Richard

I suggest you start over to make a UDP application instead of re-winding from where you got to.

Richard

If you turn on DEBUG logging in /conf/log4j.properties, change “INFO” in the first line to “DEBUG”, you will be able to see the full sdp file in the log, to have a closer look.

Which camera is it?

Richard

According the q1755 user guide, there is a checkbox to enable audio in the camera web interface:

http://www.axis.com/files/manuals/um_q1755_35572_0905.pdf

Richard