Paco, just curious. I have an SNH-E6440BN and the "onvif" URI location does
work but I don't use it. Has the model camera you have got just
rtsp://admin:[email protected]:554/profile2/media.smp (without
/onvif) also available and does that exhibit the same problem? I use
OpenRTSP with my camera and it works as expected.

Thanks
Lewis

On 12 February 2015 at 15:49, Francisco Javier Cabello Torres <
[email protected]> wrote:

> Hi,
> I found the problem. The camera is giving me a incorrect Content-Length
> for SDP.
>
> Content-Length is 694, and that's what live555 recognizes as SDP:
>
> v=0
> o=- 0 0 IN IP4 88.26.249.208
> s=Media Presentation
> i=samsung
> c=IN IP4 0.0.0.0
> b=AS:2632
> t=0 0
> a=control:rtsp://admin:[email protected]
> :554/onvif/profile2/media.smp
> a=range:npt=now-
> m=video 40056 RTP/AVP 98
> b=AS:2560
> a=rtpmap:98 H264/90000
> a=control:rtsp://admin:[email protected]
> :554/onvif/profile2/media.smp/trackID=v
> a=cliprect:0,0,720,1280
> a=framesize:98 1280-720
> a=framerate:15.0
> a=fmtp:98
> packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKy0AoAtyA==,aM4BniwA
> m=application 40060 RTP/AVP 107
> b=AS:8
> a=rtpmap:107 vnd.onvif.metadata/90000
> a=control:rtsp://admin:[email protected]
> :554/onvif/profile2/media.smp/trackID=m
>
> But the complete SDP includes an additional line:
> a=recvonly
>
> So, the correct Content-Length would be 706.
>
> The problem is in the Samsung RTSP server side. I wonder if I live555
> could ignore Content-Length and get the body of DESCRIBE response as SDP
> description.
>
> Regards,
>
> Paco
>
>
>
>
>
>
> 2015-02-12 15:44 GMT+01:00 Francisco Javier Cabello Torres <
> [email protected]>:
>
>> Hi,
>> you are right, the sample I sent is the result of v2014.11.12 but I am
>> experimenting the same behaviour with v2015.02.10.
>>
>> If someone would like to test it I can send user and password by email
>> (it's a customer camera and I am not allowed to publish in a public list).
>>
>> Regards,
>>
>> Paco
>>
>> 2015-02-12 14:07 GMT+01:00 Deanna Earley <[email protected]>:
>>
>>>  The sample output suggests otherwise:
>>>
>>> User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2014.11.12)
>>>
>>>
>>>
>>> --
>>>
>>> *Deanna Earley |* Lead developer *| **icatcher**cctv*
>>>
>>>
>>>
>>> w: *www.icode.co.uk/icatcher <http://www.icode.co.uk/icatcher>* | t: 01329
>>> 835335 | f: 01329 835338
>>>
>>> Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number :
>>> 03428325
>>>
>>>
>>>
>>> *From:* live-devel [mailto:[email protected]] *On
>>> Behalf Of *Francisco Javier Cabello Torres
>>> *Sent:* 12 February 2015 11:56
>>> *To:* LIVE555 Streaming Media - development & use
>>> *Subject:* Re: [Live-devel] live555 rtsp bug?
>>>
>>>
>>>
>>> Hi,
>>> thanks for your reply. The version I'm testing with is from 2015.02.05,
>>> so I guess I'm testing with the latest one.
>>>
>>> Regars,
>>>
>>> Paco
>>>
>>>
>>>
>>> 2015-02-12 12:28 GMT+01:00 Deanna Earley <[email protected]>:
>>>
>>>  I suggest you try the latest liveMedia.
>>>
>>> 2014.11.28 added a fix for parsing of responses that may be related.
>>>
>>> Besides, anything other than the latest version is unsupported J
>>>
>>>
>>>
>>> --
>>>
>>> *Deanna Earley |* Lead developer *| **icatcher**cctv*
>>>
>>>
>>>
>>> w: *www.icode.co.uk/icatcher <http://www.icode.co.uk/icatcher>* | t: 01329
>>> 835335 | f: 01329 835338
>>>
>>> Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number :
>>> 03428325
>>>
>>>
>>>
>>> *From:* live-devel [mailto:[email protected]] *On
>>> Behalf Of *Francisco Javier Cabello Torres
>>> *Sent:* 12 February 2015 11:08
>>> *To:* [email protected]
>>> *Subject:* [Live-devel] live555 rtsp bug?
>>>
>>>
>>>
>>> Hi,
>>>
>>> I am trying to receive video from a Samsung IP camera (Samsung SNB-6010)
>>> using testRTSPClient (I get the same error with openRTSP) but it doesn't
>>> work.
>>>
>>> The problem appears during RTSP negotiation. Live555 send DESCRIBE and
>>> SETUP, but it
>>> doesn't send PLAY command.
>>>
>>> This is the traffic captured with Wireshark:
>>>
>>> ===========================================================
>>> DESCRIBE rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp RTSP/1.0
>>> CSeq: 2
>>> User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2014.11.12)
>>> Accept: application/sdp
>>>
>>> RTSP/1.0 200 OK
>>> CSeq: 2
>>> Date: Thu, 12 Feb 2015 10:07:29 GMT
>>> Expires: Thu, 12 Feb 2015 10:07:29 GMT
>>> Cache-Control: must-revalidate
>>> Content-Base: rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp
>>> Content-Type: application/sdp
>>> Content-Length: 694
>>> x-Accept-Retransmit: our-retransmit
>>> x-Accept-Dynamic-Rate: 1
>>>
>>> v=0
>>> o=- 0 0 IN IP4 88.26.249.208
>>> s=Media Presentation
>>> i=samsung
>>> c=IN IP4 0.0.0.0
>>> b=AS:2632
>>> t=0 0
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp
>>> a=range:npt=now-
>>> m=video 41008 RTP/AVP 98
>>> b=AS:2560
>>> a=rtpmap:98 H264/90000
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp/trackID=v
>>> a=cliprect:0,0,720,1280
>>> a=framesize:98 1280-720
>>> a=framerate:15.0
>>> a=fmtp:98
>>> packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKy0AoAtyA==,aM4BniwA
>>> m=application 41012 RTP/AVP 107
>>> b=AS:8
>>> a=rtpmap:107 vnd.onvif.metadata/90000
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp/trackID=m
>>> a=recvonly
>>> SETUP rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp/trackID=v
>>> RTSP/1.0
>>> CSeq: 3
>>> User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2014.11.12)
>>> Transport: RTP/AVP/TCP;unicast;interleaved=0-1
>>>
>>> RTSP/1.0 200 OK
>>> CSeq: 3
>>> Date: Thu, 12 Feb 2015 10:07:30 GMT
>>> Expires: Thu, 12 Feb 2015 10:07:30 GMT
>>> Cache-Control: must-revalidate
>>> Session: 43694;timeout=60
>>> Transport: RTP/AVP/TCP;unicast;interleaved=0-1
>>> ===========================================================
>>>
>>> I guess the problem is that SDP response isn't received in one  'recv'
>>> command. Debugging
>>>
>>>  RTSPClient::handleResponseBytes I have seen that fResponseBuffer
>>> contains:
>>>
>>>   Received a complete DESCRIBE response:
>>> RTSP/1.0 200 OK
>>> CSeq: 2
>>> Date: Thu, 12 Feb 2015 10:57:15 GMT
>>> Expires: Thu, 12 Feb 2015 10:57:15 GMT
>>> Cache-Control: must-revalidate
>>> Content-Base: rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp
>>> Content-Type: application/sdp
>>> Content-Length: 694
>>> x-Accept-Retransmit: our-retransmit
>>> x-Accept-Dynamic-Rate: 1
>>>
>>> v=0
>>> o=- 0 0 IN IP4 88.26.249.208
>>> s=Media Presentation
>>> i=samsung
>>> c=IN IP4 0.0.0.0
>>> b=AS:2632
>>> t=0 0
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp
>>> a=range:npt=now-
>>> m=video 41112 RTP/AVP 98
>>> b=AS:2560
>>> a=rtpmap:98 H264/90000
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp/trackID=v
>>> a=cliprect:0,0,720,1280
>>> a=framesize:98 1280-720
>>> a=framerate:15.0
>>> a=fmtp:98
>>> packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKy0AoAtyA==,aM4BniwA
>>> m=application 41116 RTP/AVP 107
>>> b=AS:8
>>> a=rtpmap:107 vnd.onvif.metadata/90000
>>> a=control:rtsp://
>>> admin:[email protected]:554/onvif/profile2/media.smp/trackID=m
>>>
>>>         (plus 12 additional bytes)
>>>
>>> The 'plus 12 additional bytes'  are:
>>> a=recvonly
>>>
>>> I am debugging RTSPClient::handleResponseBytes in order to solve the
>>> problem.
>>>
>>> Any ideas to solve the problem?
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Paco
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> *Francisco Javier Cabello Torres *
>>> *Director de I+D R&D Manager*
>>> --------------------------------------
>>>
>>> *V I S U A L   T O O L S *C/Isla Graciosa, 1.
>>> 28034 Madrid, Spain.
>>> T: + 34 91 729 48 44
>>> Skype: franciscojaviercabello
>>> Mobile: +34 681 101 852
>>> --------------------------------------
>>>
>>> *[email protected] <[email protected]> *
>>> Clave pública:
>>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1890E879
>>>
>>> Este mensaje, y cualquier fichero anexo al mismo, contiene información
>>> de carácter confidencial dirigida exclusivamente a su(s) destinatario(s) y,
>>> en su caso, sometida a secreto profesional. Queda prohibida su difusión,
>>> copia o distribución a terceros sin la previa autorización escrita de
>>> Visual Tools, S.A. Si usted ha recibido este mensaje por error, se ruega lo
>>> comunique por esta misma vía y proceda a su completa eliminación.
>>>
>>> POR RESPETO AL MEDIO AMBIENTE, POR FAVOR SÓLO IMPRIMA ESTE CORREO SI ES
>>> ESTRICTAMENTE NECESARIO
>>> ________________________
>>>
>>> The information in this e-mail, and in any attachments, is confidential
>>> and, if any, protected by a professional privilege, and intended solely for
>>> the attention and use of the named addressee(s). You are hereby notified
>>> that any dissemination, copy or distribution of this information is
>>> prohibited without the prior written consent of Visual Tools, S.A. If you
>>> have received this communication in error, please notify the sender by
>>> reply e-mail and delete it.
>>> TO RESPECT THE ENVIRONMENT, PLEASE ONLY PRINT THIS EMAIL IF STRICTLY
>>> NECESSARY
>>>
>>>
>>> _______________________________________________
>>> live-devel mailing list
>>> [email protected]
>>> http://lists.live555.com/mailman/listinfo/live-devel
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> *Francisco Javier Cabello Torres *
>>> *Director de I+D R&D Manager*
>>> --------------------------------------
>>>
>>> *V I S U A L   T O O L S *C/Isla Graciosa, 1.
>>> 28034 Madrid, Spain.
>>> T: + 34 91 729 48 44
>>> Skype: franciscojaviercabello
>>> Mobile: +34 681 101 852
>>> --------------------------------------
>>>
>>> *[email protected] <[email protected]> *
>>> Clave pública:
>>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1890E879
>>>
>>> Este mensaje, y cualquier fichero anexo al mismo, contiene información
>>> de carácter confidencial dirigida exclusivamente a su(s) destinatario(s) y,
>>> en su caso, sometida a secreto profesional. Queda prohibida su difusión,
>>> copia o distribución a terceros sin la previa autorización escrita de
>>> Visual Tools, S.A. Si usted ha recibido este mensaje por error, se ruega lo
>>> comunique por esta misma vía y proceda a su completa eliminación.
>>>
>>> POR RESPETO AL MEDIO AMBIENTE, POR FAVOR SÓLO IMPRIMA ESTE CORREO SI ES
>>> ESTRICTAMENTE NECESARIO
>>> ________________________
>>>
>>> The information in this e-mail, and in any attachments, is confidential
>>> and, if any, protected by a professional privilege, and intended solely for
>>> the attention and use of the named addressee(s). You are hereby notified
>>> that any dissemination, copy or distribution of this information is
>>> prohibited without the prior written consent of Visual Tools, S.A. If you
>>> have received this communication in error, please notify the sender by
>>> reply e-mail and delete it.
>>> TO RESPECT THE ENVIRONMENT, PLEASE ONLY PRINT THIS EMAIL IF STRICTLY
>>> NECESSARY
>>>
>>> _______________________________________________
>>> live-devel mailing list
>>> [email protected]
>>> http://lists.live555.com/mailman/listinfo/live-devel
>>>
>>>
>>
>>
>> --
>>
>>
>> *Francisco Javier Cabello Torres*
>> *Director de I+D R&D Manager*
>> --------------------------------------
>>
>> *V I S U A L   T O O L S*C/Isla Graciosa, 1.
>> 28034 Madrid, Spain.
>> T: + 34 91 729 48 44
>> Skype: franciscojaviercabello
>> Mobile: +34 681 101 852
>> --------------------------------------
>>
>> *[email protected] <[email protected]>*
>> Clave pública:
>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1890E879
>>
>> Este mensaje, y cualquier fichero anexo al mismo, contiene información de
>> carácter confidencial dirigida exclusivamente a su(s) destinatario(s) y, en
>> su caso, sometida a secreto profesional. Queda prohibida su difusión, copia
>> o distribución a terceros sin la previa autorización escrita de Visual
>> Tools, S.A. Si usted ha recibido este mensaje por error, se ruega lo
>> comunique por esta misma vía y proceda a su completa eliminación.
>>
>> POR RESPETO AL MEDIO AMBIENTE, POR FAVOR SÓLO IMPRIMA ESTE CORREO SI ES
>> ESTRICTAMENTE NECESARIO
>> ________________________
>>
>> The information in this e-mail, and in any attachments, is confidential
>> and, if any, protected by a professional privilege, and intended solely for
>> the attention and use of the named addressee(s). You are hereby notified
>> that any dissemination, copy or distribution of this information is
>> prohibited without the prior written consent of Visual Tools, S.A. If you
>> have received this communication in error, please notify the sender by
>> reply e-mail and delete it.
>> TO RESPECT THE ENVIRONMENT, PLEASE ONLY PRINT THIS EMAIL IF STRICTLY
>> NECESSARY
>>
>
>
>
> --
>
>
> *Francisco Javier Cabello Torres*
> *Director de I+D R&D Manager*
> --------------------------------------
>
> *V I S U A L   T O O L S*C/Isla Graciosa, 1.
> 28034 Madrid, Spain.
> T: + 34 91 729 48 44
> Skype: franciscojaviercabello
> Mobile: +34 681 101 852
> --------------------------------------
>
> *[email protected] <[email protected]>*
> Clave pública:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1890E879
>
> Este mensaje, y cualquier fichero anexo al mismo, contiene información de
> carácter confidencial dirigida exclusivamente a su(s) destinatario(s) y, en
> su caso, sometida a secreto profesional. Queda prohibida su difusión, copia
> o distribución a terceros sin la previa autorización escrita de Visual
> Tools, S.A. Si usted ha recibido este mensaje por error, se ruega lo
> comunique por esta misma vía y proceda a su completa eliminación.
>
> POR RESPETO AL MEDIO AMBIENTE, POR FAVOR SÓLO IMPRIMA ESTE CORREO SI ES
> ESTRICTAMENTE NECESARIO
> ________________________
>
> The information in this e-mail, and in any attachments, is confidential
> and, if any, protected by a professional privilege, and intended solely for
> the attention and use of the named addressee(s). You are hereby notified
> that any dissemination, copy or distribution of this information is
> prohibited without the prior written consent of Visual Tools, S.A. If you
> have received this communication in error, please notify the sender by
> reply e-mail and delete it.
> TO RESPECT THE ENVIRONMENT, PLEASE ONLY PRINT THIS EMAIL IF STRICTLY
> NECESSARY
>
> _______________________________________________
> live-devel mailing list
> [email protected]
> http://lists.live555.com/mailman/listinfo/live-devel
>
>


-- 
Regards
Lewis
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to