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

One other question: does re-streaming an RTSP stream using the “rtp-live” StreamType setting present any performance gains or advantages over using the regular “live” StreamType? Does it prevent server-side transcoding, or reduce server resource usage in some way? I’m just curious if there’s any practical reason to do it this way, instead of using the regular live streaming application configuration.

I’m not sure if it’ll help, but when I switch the StreamType to “live”, restart the Wowza service, and try to restart the server with the same server/stream URLs as above, I get this message: “Failed to play rtsp://192.168.1.9/live_mpeg4.sdp; stream not found.”

Note: when I open “rtsp://192.168.1.9/live_mpeg4.sdp” from VLC, it works fine (though the .3GPP audio doesn’t play).

Here’s what I see in the Wowza access log:

#Version: 1.0
#Start-Date: 2009-05-04 13:03:36 PDT
#Software: Wowza Media Server Pro 1.7.0 build11414
#Date: 2009-05-04
#Fields: x-severity	x-category	x-event	date	time	c-client-id	c-ip	c-port	cs-bytes	sc-bytes	x-duration	x-sname	x-stream-id	sc-stream-bytes	cs-stream-bytes	x-file-size	x-file-length	x-ctx	x-comment
INFO	server	server-start	2009-05-04	13:03:37	-	-	-	-	-	0.99	-	-	-	-	-	-	Wowza Media Server Pro10 1.7.0 build11414	-
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	0.994	-	-	-	-	-	-	-	Serial number: XXXXX-XXXXX-XXXXX-XXXXX-4QBKX
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	0.996	-	-	-	-	-	-	-	Maximum connections: 10
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	0.998	-	-	-	-	-	-	-	Hardware Available Processors: 1
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.001	-	-	-	-	-	-	-	Hardware Physical Memory: 108MB/1013MB
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.003	-	-	-	-	-	-	-	Hardware Swap Space: 1143MB/2297MB
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.006	-	-	-	-	-	-	-	Max File Descriptor Count: Unlimited
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.008	-	-	-	-	-	-	-	OS Name: Windows Server 2008
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.01	-	-	-	-	-	-	-	OS Version: 6.0
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.011	-	-	-	-	-	-	-	OS Architecture: x86
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.012	-	-	-	-	-	-	-	OS CPU: pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.013	-	-	-	-	-	-	-	Java Name: Java HotSpot(TM) Client VM
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.015	-	-	-	-	-	-	-	Java Vendor: Sun Microsystems Inc.
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.016	-	-	-	-	-	-	-	Java Version: 1.6.0_13
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.025	-	-	-	-	-	-	-	Java VM Version: 11.3-b02
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.027	-	-	-	-	-	-	-	Java Spec Version: 1.6
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.028	-	-	-	-	-	-	-	Java Home: C:\Program Files\Java\jre6
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.03	-	-	-	-	-	-	-	Java Max Heap Size: 762MB
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.033	-	-	-	-	-	-	-	Java Architecture: 32
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.081	-	-	-	-	-	-	-	CMDInterface now listening: [any]:8083
INFO	server	comment	2009-05-04	13:03:37	-	-	-	-	-	1.212	-	-	-	-	-	-	-	vhost home directory: C:\Program Files\Wowza Media Systems\Wowza Media Server Pro 1.7.0
INFO	vhost	vhost-start	2009-05-04	13:03:39	-	-	-	-	-	2.347	-	-	-	-	-	-	_defaultVHost_	-
INFO	vhost	comment	2009-05-04	13:03:39	-	-	-	-	-	2.478	-	-	-	-	-	-	_defaultVHost_	RTMP/RTMPT bind attempt ([any]:1935)
INFO	vhost	comment	2009-05-04	13:03:39	-	-	-	-	-	2.491	-	-	-	-	-	-	_defaultVHost_	Bind successful ([any]:1935)
INFO	application	app-start	2009-05-04	13:03:52	-	-	-	-	-	15.571	-	-	-	-	-	-	_definst_	live/_definst_
INFO	session	connect-pending	2009-05-04	13:03:52	55067620	192.168.1.12	-	3325	3073	1.234	-	-	-	-	-	-	192.168.1.12	-
INFO	session	connect	2009-05-04	13:03:52	55067620	192.168.1.12	-	3325	3073	1.237	-	-	-	-	-	-	192.168.1.12	-
INFO	stream	create	2009-05-04	13:03:52	55067620	192.168.1.12	-	3393	3361	0.033	-	1	0	0	-	-	-	-
INFO	stream	destroy	2009-05-04	13:04:10	55067620	192.168.1.12	-	3470	3640	18.497	rtsp://192.168.1.9/live_mpeg4.sdp	1	0	0	-	-	rtsp://192.168.1.9/live_mpeg4.sdp	-
INFO	session	disconnect	2009-05-04	13:04:10	55067620	192.168.1.12	-	3470	3640	19.774	-	-	-	-	-	-	55067620	-

Nothing shows up in the error log.

You must use the rtp-live stream type. It is the only stream type that can be used to re-stream an rtsp stream. It looks like this camera is not support by Wowza Pro and Flash. Wowza Pro can only re-stream cameras that natively support H.264/AAC. Wowza Pro does not transcode the incoming stream.

Charlie

/facepalm…I don’t know how I got this far into testing Wowza without knowing that it requires H.264/AAC, but somehow I managed it. Thanks!

Hi All,

I’m currently trying out Wowza to re-stream an RTSP from multiple Axis cameras. The stream is transcoded to h264 via VLC and streamed out via Darwin Streaming Server before being accessed by Wowza.

I created a test page using flowplayer to playback the streams. However noticed that the stream will not resume if playback is stopped and restarted again via flowplayer’s control.

The stream will only resumed if I do a ‘force reset’ via jconsole to Wowza.

Any idea what could be the issue in terms of configuration or settings?

Thanks in advance!

Hi Charlie,

Thanks for the clarification. I have modified the controls by adding the ‘Stop’ button. It is working fine now.

Hi,

I’m trying to use Wowza Server (Wowza Media Server Pro 1.7.0 build11414) to re-streaming a RSTP stream from an Arecont camera (AV5105) which supports H264 stream.

Here are extract from Arecont documentation:

Reference documents for the RTSP/RTCP+SDP+RTP protocol implementation are:

• RFC 3550 for RTCP

• RFC 1889 for RTP

• RFC 2327 for SDP

• RFC 2326 for RTSP

• RFC 3984 for the data format of H.264 streaming over RTP

I follow your instructions from this post and on [install-dir]/examples/LiveVideoStreaming/client/live.html I put:

Server: rtmp://localhost/live (my wowza server is running locally)

Stream: rtsp://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0

I have this message on Flash interface:

Failed to play rtsp://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0; stream not found.

Here are the debug Wowza logs:

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectapp=live

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectflashVer=WIN 10,0,12,36

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectswfUrl=undefined

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connecttcUrl=rtmp://localhost/live

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectfpad=false

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectcapabilities=15.0

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectaudioCodecs=3191.0

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectvideoCodecs=252.0

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectvideoFunction=1.0

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectpageUrl=undefined

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.735 - - - - - - - connect: connectobjectEncoding=3.0

INFO session connect-pending 2009-06-24 14:34:42 1416436693 127.0.0.1 - 3322 3073 0.328 - - - - - - 127.0.0.1 -

INFO session connect 2009-06-24 14:34:42 1416436693 127.0.0.1 - 3322 3073 0.328 - - - - - - 127.0.0.1 -

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.75 - - - - - - - cmd: createStream

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.75 - - - - - - - onFlushNotifyClients: false

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.75 - - - - - - - flushInterval: 75

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.75 - - - - - - - verboseDebug: false

INFO stream create 2009-06-24 14:34:42 1416436693 127.0.0.1 - 3394 3361 0.016 - 1 0 0 - - - -

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.766 - - - - - - - cmd: play

DEBUG server comment 2009-06-24 14:34:42 - - - - - 10.766 - - - - - - - cmd: setBufferTime

DEBUG session setbuffertime 2009-06-24 14:34:42 1416436693 127.0.0.1 - 3526 3403 0.359 - - - - - - [1416436693,1]: 750 750

Have you any idea why it doesn’t work?

Thanks in advance.

Stephane

Hi,

Right. It’s better with Server: http://localhost/rtplive

But I don’t have any stream displayed.

I saw on Wowza logs Out of memory error:

DEBUG 2009-06-24 19:53:27 - - - - - 31.062 - - - - - - - connect: connectapp=rtplive

DEBUG 2009-06-24 19:53:27 - - - - - 31.062 - - - - - - - connect: connectflashVer=WIN 10,0,12,36

DEBUG 2009-06-24 19:53:27 - - - - - 31.062 - - - - - - - connect: connectswfUrl=undefined

DEBUG 2009-06-24 19:53:27 - - - - - 31.062 - - - - - - - connect: connecttcUrl=rtmp://localhost/rtplive

DEBUG 2009-06-24 19:53:27 - - - - - 31.062 - - - - - - - connect: connectfpad=false

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectcapabilities=15.0

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectaudioCodecs=3191.0

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectvideoCodecs=252.0

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectvideoFunction=1.0

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectpageUrl=undefined

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - connect: connectobjectEncoding=3.0

INFO session connect-pending 2009-06-24 19:53:27 2125625307 127.0.0.1 - 3328 3073 0.422 - - - - - - 127.0.0.1 -

INFO session connect 2009-06-24 19:53:27 2125625307 127.0.0.1 - 3328 3073 0.422 - - - - - - 127.0.0.1 -

DEBUG 2009-06-24 19:53:27 - - - - - 31.078 - - - - - - - cmd: createStream

INFO 2009-06-24 19:53:27 - - - - - 31.093 - - - - - - - sortPackets[1]: sortBufferSize:500

DEBUG 2009-06-24 19:53:27 - - - - - 31.093 - - - - - - - onFlushNotifyClients: false

DEBUG 2009-06-24 19:53:27 - - - - - 31.093 - - - - - - - flushInterval: 50

DEBUG 2009-06-24 19:53:27 - - - - - 31.093 - - - - - - - verboseDebug: false

INFO stream create 2009-06-24 19:53:27 2125625307 127.0.0.1 - 3382 3361 0.015 - 1 0 0 - - - -

DEBUG 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - cmd: play

INFO 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - MediaStreamMediaCasterPlay: startPlay

INFO 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - RTPMediaCaster.create

INFO 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - RTPMediaCaster.init

DEBUG 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - RTPSessionDescriptionDataProviderBasic.rtspSessionTimeout: 15000

DEBUG 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - RTPSessionDescriptionDataProviderBasic.rtspConnectionTimeout: 4000

INFO 2009-06-24 19:53:27 - - - - - 31.109 - - - - - - - RTPMediaCaster.Reconnector: start

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - cmd: setBufferTime

DEBUG session setbuffertime 2009-06-24 19:53:27 2125625307 127.0.0.1 - 3532 3403 0.469 - - - - - - [2125625307,1]: 750 750

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: hostname:192.168.1.13 port:554 timeout:4 path:/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setReuseAddress: from:false to:true

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setReceiveBufferSize: from:8192 to:8192

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setSendBufferSize: from:8192 to:8192

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setTrafficClass: from:0 to:0

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setKeepAlive: from:false to:true

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setOobInline: from:false to:false

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setSoLinger: from:-1 to:-1

DEBUG 2009-06-24 19:53:27 - - - - - 31.125 - - - - - - - config: session: setTcpNoDelay: from:false to:false

DEBUG 2009-06-24 19:53:27 - - - - - 31.14 - - - - - - - *** RTSPMessageSend ***

DESCRIBE rtsp://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0 RTSP/1.0

CSeq: 1

Accept: application/sdp

DEBUG 2009-06-24 19:53:27 - - - - - 31.14 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:DESCRIBE

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - cseq: 1

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - cache-control: no-cache

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - content-length: 171

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - content-type: application/sdp

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - x-accept-retransmit: our-retransmit

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - x-accept-dynamic-rate: 1

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - uri: RTSP/1.0 200 OK

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - protocol: RTSP/1.0

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - status: 200

DEBUG 2009-06-24 19:53:32 - - - - - 36.312 - - - - - - - response: OK

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - cseq: 1

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - cache-control: no-cache

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - content-length: 171

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - content-type: application/sdp

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - x-accept-retransmit: our-retransmit

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - x-accept-dynamic-rate: 1

DEBUG 2009-06-24 19:53:32 - - - - - 36.328 - - - - - - - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

content-type: application/sdp

cache-control: no-cache

response: OK

protocol: RTSP/1.0

x-accept-retransmit: our-retransmit

cseq: 1

status: 200

content-length: 171

x-accept-dynamic-rate: 1

uri: RTSP/1.0 200 OK

DEBUG 2009-06-24 19:53:32 - - - - - 36.343 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:DESCRIBE response:RTSP/1.0 200 OK status:200 handled:false

DEBUG 2009-06-24 19:53:32 - - - - - 36.343 - - - - - - - v=0

m=video 0 RTP/AVP 96

a=rtpmap:96 H264/90000

a=control:trackID=1

a=fmtp:96 packetization-mode=1;profile-level-id=428032;sprop-parameter-sets=Z0KAMukBkCXI,aM48gA==

DEBUG 2009-06-24 19:53:32 - - - - - 36.359 - - - - - - - *** RTSPMessageSend ***

SETUP rtsp://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0/trackID=1 RTSP/1.0

Transport: RTP/AVP;unicast;client_port=6970-6971

CSeq: 2

DEBUG 2009-06-24 19:53:32 - - - - - 36.359 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:SETUP

DEBUG 2009-06-24 19:53:32 - - - - - 36.359 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPHandler: exceptionCaught: java.lang.OutOfMemoryError: Java heap space

INFO 2009-06-24 19:53:32 - - - - - 36.359 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

WARN 2009-06-24 19:53:42 - - - - - 46.297 - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.

DEBUG 2009-06-24 19:53:44 - - - - - 48.312 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: hostname:192.168.1.13 port:554 timeout:4 path:/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0

DEBUG 2009-06-24 19:53:44 - - - - - 48.328 - - - - - - - *** RTSPMessageSend ***

DESCRIBE rtsp://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1=1200&qp=30&ssn=1&doublescan=0 RTSP/1.0

CSeq: 1

Accept: application/sdp

DEBUG 2009-06-24 19:53:44 - - - - - 48.328 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:DESCRIBE

DEBUG 2009-06-24 19:53:48 - - - - - 52.109 - - - - - - - cseq: 1

DEBUG 2009-06-24 19:53:48 - - - - - 52.109 - - - - - - - cache-control: no-cache

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - content-length: 171

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - content-type: application/sdp

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - x-accept-retransmit: our-retransmit

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - x-accept-dynamic-rate: 1

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - uri: RTSP/1.0 200 OK

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - protocol: RTSP/1.0

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - status: 200

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - response: OK

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - cseq: 1

DEBUG 2009-06-24 19:53:48 - - - - - 52.125 - - - - - - - cache-control: no-cache

DEBUG 2009-06-24 19:53:48 - - - - - 52.14 - - - - - - - content-length: 171

DEBUG 2009-06-24 19:53:48 - - - - - 52.14 - - - - - - - content-type: application/sdp

DEBUG 2009-06-24 19:53:48 - - - - - 52.14 - - - - - - - x-accept-retransmit: our-retransmit

DEBUG 2009-06-24 19:53:48 - - - - - 52.14 - - - - - - - x-accept-dynamic-rate: 1

DEBUG 2009-06-24 19:53:48 - - - - - 52.14 - - - - - - - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

content-type: application/sdp

cache-control: no-cache

response: OK

protocol: RTSP/1.0

x-accept-retransmit: our-retransmit

cseq: 1

status: 200

content-length: 171

x-accept-dynamic-rate: 1

uri: RTSP/1.0 200 OK

DEBUG 2009-06-24 19:53:48 - - - - - 52.156 - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:DESCRIBE response:RTSP/1.0 200 OK status:200 handled:false

DEBUG 2009-06-24 19:53:48 - - - - - 52.156 - - - - - - - v=0

m=video 0 RTP/AVP 96

a=rtpmap:96 H264/90000

a=control:trackID=1

a=fmtp:96 packetization-mode=1;profile-level-id=428032;sprop-parameter-sets=Z0KAMukBkCXI,aM48gA==

Thanks

Hello

can anyone please help me.

I want stream from the Axis 3011 camera to the wowza Media Server Pro10, then allow multiple clients to connect to the wowza Stream Media Server instead of directly to the camera Stream.

I have the instructions(Re-streaming an RTSP stream through Wowza Pro (RTSP/RTP) for axis camera followed. What is wrong, that it doesn’t work.

Opening LiveVideoStrem client example and using

SERVER: rtmp://192.168.1.147/rtplive

STREAM: rtsp://10.10.20.192:554/axis-media/media.amp

Wowza server console report the following messages:

Configure logging: file:///C:/Programme/Wowza Media Systems/Wowza Media Server P

ro 1.7.0/conf/log4j.properties

INFO server server-start Wowza Media Server Pro10 1.7.0 build11414 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-XTTCC

INFO server comment - Maximum connections: 10

INFO server comment - Hardware Available Processors: 2

INFO server comment - Hardware Physical Memory: 1640MB/2013MB

INFO server comment - Hardware Swap Space: 3602MB/3906MB

INFO server comment - Max File Descriptor Count: Unlimited

INFO server comment - OS Name: Windows XP

INFO server comment - OS Version: 5.1

INFO server comment - OS Architecture: x86

INFO server comment - OS CPU: pentium_pro+mmx pentium_pro pentium+mmx pentium i4

86 i386 i86

INFO server comment - Java Name: Java HotSpot™ Client VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 1.6.0_13

INFO server comment - Java VM Version: 11.3-b02

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: C:\Programme\Java\jre6

INFO server comment - Java Max Heap Size: 762MB

INFO server comment - Java Architecture: 32

INFO server comment - CMDInterface now listening: [any]:8083

INFO server comment - vhost home directory: C:\Programme\Wowza Media Systems\Wow

za Media Server Pro 1.7.0

INFO vhost vhost-start defaultVHost -

INFO vhost comment defaultVHost RTMP/RTMPT bind attempt ([any]:1935)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO application app-start definst rtplive/definst

INFO session connect-pending 192.168.1.147 -

INFO session connect 192.168.1.147 -

INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:F0528E18 sessionTimeout:60000

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP

/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO stream create - -

INFO stream publish rtsp://10.10.20.192:554/axis-media/media.amp -

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6970

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6971

INFO server comment - RTPMediaCaster.Reconnector: stop

Hello,

i’m using a Basler BIP-1000 networkcamera to sends a stream. This stream i would like to distribute with Wowza Media Server. With my Axis camera if everything works great. With my Basler camera can i get after a minute an error. The camera delivers a bitstream in H.264. The stream from the Basler camera can i recall with VLC Player.

Thank you for Help

Opening LiveVideoStrem client example and using

SERVER: rtmp://10.10.20.215/rtplive

STREAM: rtsp://10.10.20.192/h264

Wowza server console report the following messages:

Configure logging: file:///C:/Programme/Wowza Media Systems/Wowza Media Server P

ro 1.7.0/conf/log4j.properties

INFO server server-start Wowza Media Server Pro10 1.7.0 build11414 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-XTTCC

INFO server comment - Maximum connections: 10

INFO server comment - Hardware Available Processors: 2

INFO server comment - Hardware Physical Memory: 1442MB/2013MB

INFO server comment - Hardware Swap Space: 3450MB/3905MB

INFO server comment - Max File Descriptor Count: Unlimited

INFO server comment - OS Name: Windows XP

INFO server comment - OS Version: 5.1

INFO server comment - OS Architecture: x86

INFO server comment - OS CPU: pentium_pro+mmx pentium_pro pentium+mmx pentium i4

86 i386 i86

INFO server comment - Java Name: Java HotSpot™ Client VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 1.6.0_13

INFO server comment - Java VM Version: 11.3-b02

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: C:\Programme\Java\jre6

INFO server comment - Java Max Heap Size: 762MB

INFO server comment - Java Architecture: 32

INFO server comment - CMDInterface now listening: [any]:8083

INFO server comment - vhost home directory: C:\Programme\Wowza Media Systems\Wow

za Media Server Pro 1.7.0

INFO vhost vhost-start defaultVHost -

INFO vhost comment defaultVHost RTMP/RTMPT bind attempt ([any]:1935)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO application app-start definst rtplive/definst

INFO session connect-pending 10.10.20.215 -

INFO session connect 10.10.20.215 -

INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:50 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP

/RTP re-streaming. Success, received SDP data.

WARN server comment - RTPTrack.getCodecConfig(video): Missing NAL PPS(8)

INFO stream create - -

INFO stream create - -

INFO stream publish rtsp://10.10.20.192/h264 -

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6970

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6971

INFO server comment - RTPMediaCaster.Reconnector: stop

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6970

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6971

INFO stream play rtsp://10.10.20.192/h264 -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

Upgrade to the most recent patch. It might address this issue:

https://www.wowza.com/devbuild.html

It looks like it is not sending both SPS and PPS versions in the SDP data.

RTPTrack.getCodecConfig(video): Missing NAL PPS(8)

Charlie

Hi Charlie,

i have the last patch installed. But it still works unfortunately not. You might have another idea? Thank you

Upgrade to the most recent patch. It might address this issue:

https://www.wowza.com/devbuild.html

It looks like it is not sending both SPS and PPS versions in the SDP data.

RTPTrack.getCodecConfig(video): Missing NAL PPS(8)

Charlie

Hi Charlie,

i have the last patch installed. But it still works unfortunately not. You might have another idea? Thank you

I can recall the H.264 stream with VLC Player.

It works well. I also have a Basler bip 1600 at this is the same trouble.

The camera sends H.264 without containerformat.

Hi

Is audio working to ? I’ve try with an Axis P3301 but no audio :frowning:

Hi all!

I’m new to Wowza and new to video streaming! I try to stream a video channel encoded with Vidiator(H.264, AAC). I have followed the instructions in the 1st post of this thread.

When I tried to play the stream using the LiveVideoStreaming client, I don’t see the stream. Nothing appears(no picture).

Wowza server console report the following messages:


INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionTracker.add[rtsp://localhost:555/live00.mp4]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:398679472 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP

/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO stream create - -

INFO stream publish rtsp://localhost:555/live00.mp4 -

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6971

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6972

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6970

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6973

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://localhost:555/live00.mp4

INFO server comment - RTPMediaCaster.Reconnector: stop

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6970

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6972

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6971

INFO server comment - RTCPHandler.sendFirstRTCPRR[959785634,6971,/127.0.0.1:6021

]

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6973

INFO server comment - RTCPHandler.sendFirstRTCPRR[3601829519,6973,/127.0.0.1:602

3]

INFO stream play rtsp://localhost:555/live00.mp4 -


With VLC, I can see the rtsp stream (rtsp://localhost:555/live00.mp4)

Thank’s for your help!:slight_smile:

Logs: http://pastie.org/611818 (This was in my original post too :slight_smile: )

Ports: this streamer was working previously on this server, so I know the ports are set up correctly.

Thanks!

Sure is – streamer is running at rtmp://67.53.217.50/rtplive. The following code was known to have worked before a recent reinstall:

var so = new SWFObject(’/javascripts/player.swf’,‘mpl’,‘420’,‘315’,‘9’);

so.addParam(‘allowscriptaccess’,‘always’);

so.addParam(‘allowfullscreen’,‘true’);

so.addParam(‘flashvars’,’&file=rtsp://192.168.1.16:554/oscar&type=rtmp&bufferlength=2&streamer=rtmp://67.53.217.50/rtplive&autostart=true&skin=js/overlay.swf&controlbar=over’);

so.write(‘player’)

(You can see that (nonfunctional) player at naleo.tv:3000.)

I’m certain that code (including the file and streamer IPs) can work – it was working (from non-local machines) before I reinstalled wowza. The Oscar IP is a network IP, but it’s used by the Wowza server, which is on that network. You can find the Wowza server, and the Wowza server can find the Oscar feed.

Sorry, the server was down briefly. Could you try again?

(I also noticed that you tried to connect using the application name “live” – my application name is “rtplive”.)

Log snip:

INFO session connect-pending 68.118.253.167 -

INFO session connect 68.118.253.167 -

INFO server comment - sortPackets[1]: sortBufferSize:500

INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionTracker.add[rtsp://192.168.1.16:554]: 1

WARN server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: DESCRIBE: Status: 404

WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPSessionTracker.remove[rtsp://192.168.1.16:554]: 0:true

I’m confused. It now looks like the Oscar feed is down, although I can access the web interface (at 192.168.1.16) and that claims its running. I haven’t changed the Oscar’s settings since I reinstalled Wowza, and this feed URL was working earlier. Can you think of any other problem that might cause this? Or, do you know a public rtsp stream that I can use to check that my server is working properly?

Thanks a lot,

Shawn

No, I hadn’t. I read over this and made the config changes to Oscar, then restarted the Wowza server. I’m now getting the same error I was yesterday (but not the one we were getting an hour ago): no video, no apparent problems in the server output.

INFO vhost comment defaultVHost RTMP/RTMPT bind attempt ([any]:1935)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO application app-start definst rtplive/definst

INFO session connect-pending 72.253.144.96 -

INFO session connect 72.253.144.96 -

INFO server comment - sortPackets[1]: sortBufferSize:500

INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionTracker.add[rtsp://192.168.1.16:554/oscar]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:1795988035 sessionTimeout:0

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

INFO server comment - sortPackets[1]: sortBufferSize:500

INFO stream create - -

INFO stream create - -

INFO stream publish rtsp://192.168.1.16:554/oscar -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://192.168.1.16:554/oscar

INFO server comment - RTPMediaCaster.Reconnector: stop

Any ideas? Thanks again.