[Live-devel] OpenRTSP and multicast

kamil kamildobk at poczta.onet.pl
Wed Sep 7 18:33:26 PDT 2005


Could you help me with configuring openRTSP.exe to read multicast video 
stream from Axis network camera ? OpenRTSP always reads the unicast stream. 
This is SDP description of the session:

v=0
o=- 1109162014219182 1109162014219192 IN IP4 192.168.7.199
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:8000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod: 
"data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2
F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlC
QkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLW
F1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
m=video 0 RTP/AVP 96
b=AS:8000
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245; 
config=000001B0F5000001B509000001000000012008D495880325
0B042414440F;
a=mpeg4-esid:201

I think problem is with 'c=IN IP4 0.0.0.0', it is recognized as an unicast 
address, but I know a multicast transport is available. When I force SETUP 
to set multicast transport the response is:

RTSP/1.0 200 OK
CSeq 3
Session: 1996379948;timeout=60
Transport: 
RTP/AVP;multicast;mode=play;destination=239.241.204.10;port=43174-43175;ttl=5

How to force openRTSP to use multicast ? All other methods - UNICAST, TCP, 
HTTP - work ok.

Regards,
Kamil Dobkowski



_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )


More information about the live-devel mailing list