Hello all.
I’m evaluating Wowza for live re-streaming from IP Cameras, I’ve setup an application following the “How to re-stream video from an IP camera (RTSP/RTP re-streaming)” tutorial. The problem is that Wowza is unable to get the stream from the camera. I have also followed the troubleshoting guide from the same tutorial with no luck.
VLC is able to reproduce the stream directly from the camera.
This is the output I got from wireshark and Wowza:
DESCRIBE rtsp://192.168.1.41:554/live?user=user&passwd=password RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Trial Edition (Expires: jul 20, 2012) 3.1.1 build1479)
RTSP/1.0 200 OK
CSeq: 1
Date: Tue, 26 Jun 2012 21:25:42 GMT
Content-Type: application/sdp
Content-Language: en
x-Accept-Dynamic-Rate: 1
Content-Length: 400
v=0
o=- 5206281 782967157 IN IP4 192.168.1.41
s=live
c=IN IP4 0.0.0.0
t=0 0
a=control:*
m=audio 0 RTP/AVP 8
a=control:rtsp://192.168.1.41:554/audio0
m=video 0 RTP/AVP 96
b=AS:2058
a=rtpmap:96 H264/90000
a=range:npt=0-
a=fmtp:96 profile-level-id=42001e;packetization-mode=1;sprop-parameter-sets=Z0IAHukCg/f+AAADAAHEgAbd0ADN/mANiBCU,aM4xUg==
a=control:rtsp://192.168.1.41:554/video0
SETUP rtsp://192.168.1.41:554/audio0 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;client_port=6970-6971
CSeq: 2
User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Trial Edition (Expires: jul 20, 2012) 3.1.1 build1479)
RTSP/1.0 400 Bad Request
CSeq: 1
The output I got from wireshark and VLC:
OPTIONS rtsp://192.168.1.41:554/live?user=user&passwd=password RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
RTSP/1.0 200 OK
CSeq: 2
Date: Sun, 04 Jan 1970 21:00:17 GMT
Public: OPTIONS,DESCRIBE,SETUP,PLAY,PAUSE,TEARDOWN
DESCRIBE rtsp://192.168.1.41:554/live?user=user&passwd=password RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
Accept: application/sdp
RTSP/1.0 200 OK
CSeq: 3
Date: Sun, 04 Jan 1970 21:00:18 GMT
Content-Type: application/sdp
Content-Language: en
x-Accept-Dynamic-Rate: 1
Content-Length: 401
v=0
o=- 56341619 782967157 IN IP4 192.168.1.41
s=live
c=IN IP4 0.0.0.0
t=0 0
a=control:*
m=audio 0 RTP/AVP 8
a=control:rtsp://192.168.1.41:554/audio0
m=video 0 RTP/AVP 96
b=AS:2058
a=rtpmap:96 H264/90000
a=range:npt=0-
a=fmtp:96 profile-level-id=42001e;packetization-mode=1;sprop-parameter-sets=Z0IAHukCg/f+AAADAAHEgAbd0ADN/mANiBCU,aM4xUg==
a=control:rtsp://192.168.1.41:554/video0
SETUP rtsp://192.168.1.41:554/audio0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
Transport: RTP/AVP;unicast;client_port=54938-54939
RTSP/1.0 200 OK
CSeq: 4
Date: Sun, 04 Jan 1970 21:00:18 GMT
Cache-Control: no-cache
Transport: RTP/AVP;unicast;client_port=54938-54939;server_port=5004-5005;ssrc=1285978
Session: 56341619
SETUP rtsp://192.168.1.41:554/video0 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
Transport: RTP/AVP;unicast;client_port=54940-54941
Session: 56341619
RTSP/1.0 200 OK
CSeq: 5
Date: Sun, 04 Jan 1970 21:00:18 GMT
Cache-Control: no-cache
Transport: RTP/AVP;unicast;client_port=54940-54941;server_port=5006-5007;ssrc=1285978
Session: 56341619
PLAY rtsp://192.168.1.41:554/live?user=user&passwd=password RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
Session: 56341619
Range: npt=0.000-
RTSP/1.0 200 OK
CSeq: 6
Date: Sun, 04 Jan 1970 21:00:18 GMT
Session: 56341619
Range: npt=0.000-
RTP-Info: url=rtsp://192.168.1.41:554/audio0;seq=12372;rtptime=928145854,url=rtsp://192.168.1.41:554/video0;seq=61641;rtptime=513834784
The only thing I’ve noticed is the diference in the SETUP request from Wowza and VLC (the additional “/UDP” in Transport).
Wowza:
SETUP rtsp://192.168.1.41:554/audio0 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;client_port=6972-6973
CSeq: 2
User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Trial Edition (Expires: jul 20, 2012) 3.1.1 build1479)
VLC:
SETUP rtsp://192.168.1.41:554/audio0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)
Transport: RTP/AVP;unicast;client_port=54938-54939
Other than that, I have no idea what’s going on with Wowza.
Thanks.