Hi All,
I’m trying to connect Wowza to hardware encoders from ACTI and BOSCH by RTSP + RTP.
After some trial, I’ve been able to get the SDP informations, but, when I run the rtplive client application, Wowza don’t ever try to connect to the devices (I’m monitoring connection with Ethereal).
Here are the SDP, anyone can help me?
BOSCH
v=0
o=- 0 0 IN IP4 192.168.2.205
s=LIVE VIEW
t=0 0
m=video 0 RTP/AVP 36
c=IN IP4 0.0.0.0
a=rtpmap:36 H263-1998/90000
a=control:rtsp://192.168.2.205
ACTI
v=0
o=- 1217440375980000 1 IN IP4 192.168.2.202
s=Session streamed by RTP/RTSP server
i=ACTI.COM Streaming Media v
t=0 0
a=tool:ACTI.COM Streaming Media v2005.03.31
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by RTP/RTSP server
a=x-qt-text-inf:ACTI.COM Streaming Media v
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B0F5000001B509000001000000012000C888B0E0E0FA62D089028307
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2
Some other notes:
These devices don’t provide a way to get the SDP file, I’ve been able to capture the SDP infos by spoofing packets of data with ethereal, and compile them in a textual file. I used VLC, which is able to display the video streams, to analyze the sessions.
Here are the RTSP capture conversation:
VLC connected to rtsp://192.168.2.205/
OPTIONS rtsp://192.168.2.205/ RTSP/1.0
CSeq: 6
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
Cseq: 6
DESCRIBE rtsp://192.168.2.205/ RTSP/1.0
CSeq: 7
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
Cseq: 7
Cache-control: no-cache
Content-Type: application/sdp
Content-Length: 156
v=0
o=- 0 0 IN IP4 192.168.2.205
s=LIVE VIEW
t=0 0
m=video 0 RTP/AVP 36
c=IN IP4 0.0.0.0
a=rtpmap:36 H263-1998/90000
a=control:rtsp://192.168.2.205
SETUP rtsp://192.168.2.205 RTSP/1.0
CSeq: 8
Transport: RTP/AVP;unicast;client_port=3488-3489
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;unicast;server_port=3028-3029;client_port=3488;ssrc=4294967295;mode=PLAY
Cseq: 8
Session: 30160
PLAY rtsp://192.168.2.205/ RTSP/1.0
CSeq: 9
Session: 30160
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
Cseq: 9
Session: 30160
TEARDOWN rtsp://192.168.2.205/ RTSP/1.0
CSeq: 10
Session: 30160
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 Ok
Cseq: 10
VLC connected to rtsp://192.168.2.202:7070/
OPTIONS rtsp://192.168.2.202:7070 RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 1
Date: Fri, Aug 01 2008 11:34:43 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, SET_PARAMETER
DESCRIBE rtsp://192.168.2.202:7070 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 2
Date: Fri, Aug 01 2008 11:34:43 GMT
Content-Base: rtsp://192.168.2.202:7070//
Content-Type: application/sdp
Content-Length: 584
v=0
o=- 1217440375980000 1 IN IP4 192.168.2.202
s=Session streamed by RTP/RTSP server
i=ACTI.COM Streaming Media v
t=0 0
a=tool:ACTI.COM Streaming Media v2005.03.31
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by RTP/RTSP server
a=x-qt-text-inf:ACTI.COM Streaming Media v
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B0F5000001B509000001000000012000C888B0E0E0FA62D089028307
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2
SETUP rtsp://192.168.2.202:7070//track1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=1136-1137
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 3
Date: Fri, Aug 01 2008 11:34:43 GMT
Transport: RTP/AVP;unicast;destination=192.168.2.36;client_port=1136-1137;server_port=1042-1043
Session: 16
SETUP rtsp://192.168.2.202:7070//track2 RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=1138-1139
Session: 16
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Aug 01 2008 11:34:43 GMT
Transport: RTP/AVP;unicast;destination=192.168.2.36;client_port=1138-1139;server_port=1044-1045
Session: 16
PLAY rtsp://192.168.2.202:7070// RTSP/1.0
CSeq: 5
Session: 16
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 5
Date: Fri, Aug 01 2008 11:34:43 GMT
Range: npt=0.000-
Session: 16
RTP-Info: url=rtsp://192.168.2.202:7070//track1;seq=38259,url=rtsp://192.168.2.202:7070//track2;seq=30570
TEARDOWN rtsp://192.168.2.202:7070// RTSP/1.0
CSeq: 6
Session: 16
User-Agent: VLC media player (LIVE555 Streaming Media v2008.05.12)
RTSP/1.0 200 OK
CSeq: 6
Date: Fri, Aug 01 2008 11:34:47 GMT
It would be nice to have a feature on Wowza for opening these streams by giving these “rtsp://” urls instead of a SDP file…