Hello Ross.

    Some Samsung cameras (SNB-5000, SND-5080, SNO-5080) choose the RTP 
destination port; kindly, the Live555 RTSPClient respect this request. 
    Instead Samsung, unkindly, doens't let us disable this feature or set the 
desired port up via the camera's configuration web page; so sometimes two or 
more cameras (and all after power on) choose the same port: so some streams 
starve and other ones receive frames coming from two or more cameras.

    Could you please tell me if and where subclassing in order to make Live555 
refuse the port chosen by the camera and answer with a port chosen by the OS 
(hoping the camera will accept the change; if not, sadly I'll have to contact 
Samsung or change supplier)?

    Here linked you find two files reporting the RTSP messages. 


Thank you very much,

    Renato MAURO
OPTIONS rtsp://10.10.1.55/defaultPrimary?streamType=u RTSP/1.0
CSeq: 56
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="06ec37922591104ece49c2d03ba056be"

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 56
Content-Length: 0
Date: Mon, 21 May 2012 17:27:39 GMT
Public: OPTIONS, DESCRIBE, SETUP, SET_PARAMETER, GET_PARAMETER, PLAY, PAUSE, 
TEARDOWN

DESCRIBE rtsp://10.10.1.55/defaultPrimary?streamType=u RTSP/1.0
CSeq: 57
Accept: application/sdp
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="35d7568beeccdcce483ea2d7e4ac2553"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 57
Content-Length: 658
Content-Type: application/sdp
Date: Mon, 21 May 2012 17:27:39 GMT

v=0
o=- 1337621259194 1337621259194 IN IP4 10.10.1.55
s=Live
t=0 0
m=audio 0 RTP/AVP 0
c=IN IP4 10.10.1.55
a=control:rtsp://10.10.1.55/defaultPrimary/mic0/trackID=1
m=video 0 RTP/AVP 96
c=IN IP4 10.10.1.55
a=control:rtsp://10.10.1.55/defaultPrimary/cam0/trackID=1
a=fmtp:96 packetization-mode=0; profile-level-id=42A01E; 
sprop-parameter-sets=J01AKI2NKAoAt2AtQEBAUAAAPoAADDUOhgAhTAAJXOu8uNDABCmAASudd5cF6PA=,KO48gA==
a=rtpmap:96 H264/90000
a=x-avg-params:96 source-height=1080; source-width=1920
m=application 0 RTP/AVP 98
c=IN IP4 10.10.1.55
a=control:rtsp://10.10.1.55/defaultPrimary/metadata/trackID=1
a=rtpmap:98 vnd.onvif.metadata/90000

SETUP rtsp://10.10.1.55/defaultPrimary/mic0/trackID=1 RTSP/1.0
CSeq: 58
Transport: RTP/AVP;unicast;client_port=2252-2253
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="3c6f8680ed5ca2b196623150e97770ca"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 58
Session: m9i1Va561qdJu12f4g0lwm;timeout=60
Transport: 
RTP/AVP;unicast;destination=10.10.1.64;client_port=2252-2253;server_port=54872-54873;ssrc=546525ce
Content-Length: 0
Date: Mon, 21 May 2012 17:27:39 GMT

SETUP rtsp://10.10.1.55/defaultPrimary/cam0/trackID=1 RTSP/1.0
CSeq: 59
Transport: RTP/AVP;unicast;client_port=2254-2255
Session: m9i1Va561qdJu12f4g0lwm
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="3c6f8680ed5ca2b196623150e97770ca"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 59
Session: m9i1Va561qdJu12f4g0lwm;timeout=60
Transport: 
RTP/AVP;unicast;destination=10.10.1.64;client_port=2254-2255;server_port=52988-52989;ssrc=3d8eea01
Content-Length: 0
Date: Mon, 21 May 2012 17:27:39 GMT

SETUP rtsp://10.10.1.55/defaultPrimary/metadata/trackID=1 RTSP/1.0
CSeq: 60
Transport: RTP/AVP;unicast;client_port=2256-2257
Session: m9i1Va561qdJu12f4g0lwm
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="3c6f8680ed5ca2b196623150e97770ca"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 60
Session: m9i1Va561qdJu12f4g0lwm;timeout=60
Transport: 
RTP/AVP;unicast;destination=10.10.1.64;client_port=2256-2257;server_port=51492-51493;ssrc=d58b4800
Content-Length: 0
Date: Mon, 21 May 2012 17:27:39 GMT

PLAY rtsp://10.10.1.55/defaultPrimary?streamType=u RTSP/1.0
CSeq: 61
Session: m9i1Va561qdJu12f4g0lwm
Range: npt=0.000-
Authorization: Digest username="admin", realm="Avigilon-12118932", 
nonce="7SJq4toCF2CG3b7Osy5P7E463mrLx2MHan7SxU6b0c0000", 
uri="rtsp://10.10.1.55/defaultPrimary?streamType=u", 
response="f294f3874fe7bdc91bd153f86ba2ddb7"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
Server: AvigilonOnvifNvt/2.2.0.4
Authentication-Info: qop=auth, rspauth="f27d7c7ffcc1922712646ea9b93565b6", 
cnonce="", nc=00000000
CSeq: 61
Session: m9i1Va561qdJu12f4g0lwm
Range: npt=now-
RTP-Info: 
url=rtsp://10.10.1.55/defaultPrimary/cam0/trackID=1;seq=9533;rtptime=2096416472,
 
url=rtsp://10.10.1.55/defaultPrimary/metadata/trackID=1;seq=58412;rtptime=2738100,
 
url=rtsp://10.10.1.55/defaultPrimary/mic0/trackID=1;seq=53466;rtptime=4023882694
Content-Length: 0
Date: Mon, 21 May 2012 17:27:39 GMT

OPTIONS rtsp://10.10.2.99:554/onvif/profile2/media.smp RTSP/1.0
CSeq: 40
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="d776454447655c74eea0fff603487963"

RTSP/1.0 200 OK
CSeq: 40
Date: Mon May 21 17:11:11 2012 GMT
Expires: Mon May 21 17:11:11 2012 GMT
Cache-Control: must-revalidate
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, GET_PARAMETER, 
SET_PARAMETER

DESCRIBE rtsp://10.10.2.99:554/onvif/profile2/media.smp RTSP/1.0
CSeq: 41
Accept: application/sdp
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="e2121a0d4fb4f40c480a24e95257559f"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
CSeq: 41
Date: Mon May 21 17:11:12 2012 GMT
Expires: Mon May 21 17:11:12 2012 GMT
Content-Base: rtsp://10.10.2.99:554/onvif/profile2/media.smp/
Content-Type: application/sdp
Content-Length: 905
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Cache-Control: must-revalidate

v=0
o=- 0 0 IN IP4 10.10.1.64
s=Media Presentation
i=samsung
c=IN IP4 0.0.0.0
b=AS:384128
t=0 0
a=control:rtsp://10.10.2.99:554/onvif/profile2/media.smp
a=range:npt=now-
m=video 40006 RTP/AVP 98
b=AS:384000
a=rtpmap:98 H264/90000
a=control:rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=v
a=cliprect:0,0,480,640
a=framesize:98 640-480
a=framerate:30.0
a=fmtp:98 
packetization-mode=1;profile-level-id=006467;sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAe2AqEAAAH0AAB1MGBAABAAAAwABIABve+F4RCNQ,aM48sA==
m=audio 40008 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000
a=control:rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=a
m=application 40010 RTP/AVP 107
a=control:rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=m
a=recvonly
a=rtpmap
a=rtpmap:107 vnd.onvif.metadata/90000

SETUP rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=v RTSP/1.0
CSeq: 42
Transport: RTP/AVP;unicast;client_port=40006-40007
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="f7c1ab1fc716e2d6f493fb306a9e30e3"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
CSeq: 42
Date: Mon May 21 17:11:12 2012 GMT
Expires: Mon May 21 17:11:12 2012 GMT
Session: 4;timeout=60
Cache-Control: must-revalidate
Transport: RTP/AVP/UDP;unicast;client_port=40006-40007;server_port=40006-40007

SETUP rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=a RTSP/1.0
CSeq: 43
Transport: RTP/AVP;unicast;client_port=40008-40009
Session: 4
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="f7c1ab1fc716e2d6f493fb306a9e30e3"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
CSeq: 43
Date: Mon May 21 17:11:12 2012 GMT
Expires: Mon May 21 17:11:12 2012 GMT
Session: 4;timeout=60
Cache-Control: must-revalidate
Transport: RTP/AVP/UDP;unicast;client_port=40008-40009;server_port=40008-40009

SETUP rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=m RTSP/1.0
CSeq: 44
Transport: RTP/AVP;unicast;client_port=40010-40011
Session: 4
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="f7c1ab1fc716e2d6f493fb306a9e30e3"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
CSeq: 44
Date: Mon May 21 17:11:12 2012 GMT
Expires: Mon May 21 17:11:12 2012 GMT
Session: 4;timeout=60
Cache-Control: must-revalidate
Transport: RTP/AVP/UDP;unicast;client_port=40010-40011;server_port=40010-40011

PLAY rtsp://10.10.2.99:554/onvif/profile2/media.smp RTSP/1.0
CSeq: 45
Session: 4
Range: npt=0.000-
Authorization: Digest username="admin", realm="iPOLiS", 
nonce="00000000000000000000000064F61C20", 
uri="rtsp://10.10.2.99:554/onvif/profile2/media.smp", 
response="ac7aad1d889d5375ae9ac948472f71da"
User-Agent: RTPLive_DLL (LIVE555 Streaming Media v2005.10.05)

RTSP/1.0 200 OK
CSeq: 45
Date: Mon May 21 17:11:12 2012 GMT
Expires: Mon May 21 17:11:12 2012 GMT
Session: 4
Cache-Control: must-revalidate
Range: npt=0.000-
RTP-Info: 
url=rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=v;seq=0,url=rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=a;seq=0,url=rtsp://10.10.2.99:554/onvif/profile2/media.smp/trackID=m;seq=0

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to