[Live-devel] RTSP streaming question

Kurt Emanuelson kurte at boldgroup.com
Tue May 2 09:58:43 PDT 2017


Hi,

I am attempting to use the VLC player (live555.com Streaming Server) to receive a live video stream from a DVR using RTSP.  The DVR uses byte-streaming protocol even though it is RTSP/RTP.  The VLC player 'chokes' (generates packet decoding error and does not recover) when the DVR sends its name identification packet on the control channel.  The byte sequence of the RTCP is as below:

      24 01 00 38 80 C8 00 06 D0 3E 1A 9F DC 7D 5D 66 2B 03 4B 0E 84 21 3B 1A 00 00 00 01 00 00 1B 2A 81 CA 00 06 D0 3E 1A 9F 01 0E 55 6E 6E 61 6D 65 64 20 73 74 72 65 61 6D 00 00 00 00

As you can see, the RTCP packet contains a 00 00 00 and a 00 00 01 sequence.  This appears to be the cause of the 'decoding'.  If I intercept the packet and reformat as below, no errors (added two '03' escape bytes):

      24 01 00 3A 80 C8 00 06 D0 3E 1A 9F DC 7D 5D 66 2B 03 4B 0E 84 21 3B 1A 00 00 03 00 01 00 00 1B 2A 81 CA 00 06 D0 3E 1A 9F 01 0E 55 6E 6E 61 6D 65 64 20 73 74 72 65 61 6D 00 00 03 00 00

Should RTCP content have to be escaped?  I.e., do I need to follow up with DVR manufacturer and have them correct their output, or is this a Streaming Server bug?  Any NAL content would follow RTP/RTCP headers.

Thanks for your consideration,

Kurt


Kurt Emanuelson
Software Engineer
ph: (719) 593-2829
Fax: (719) 213-2502 | http://www.boldgroup.com
421 Windchime Pl | Colorado Springs, CO 80919
Meet Bold at these upcoming events:
Central Station Manager Course | May 9-10 | https://www.boldgroup.com/central-station-manager-course
Operational Excellence Boot Camp | May 16-18 | https://www.boldgroup.com/operational-excellence-course
ESX  |Booth #424 | June 13-16 |


Bold Technologies LinkedIn:     http://www.linkedin.com/companies/57936
Bold Technologies Twitter:      http://www.twitter.com/boldtech
Bold Technologies Newsletters:          http://www.boldgroup.com/news-and-events/newsletters

Bold Technologies FaceBook:     http://www.facebook.com/BoldTechnologies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170502/31ac135a/attachment-0001.html>


More information about the live-devel mailing list