[libav-bugs] [Bug 535] New: RTSP DESCRIBE without a User-Agent causes some IP Cameras to close the connection

bugzilla at libav.org bugzilla at libav.org
Tue Jul 9 12:28:49 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=535

           Summary: RTSP DESCRIBE without a User-Agent causes some IP
                    Cameras to close the connection
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: libav at haxdev.org


When connecting via RTSP, the IP Cam IcyBox? IB-CAM2002 closes the connection
when avconv sends a DESCRIBE without a User-Agent. This causes issues with CCTV
software on linux.

Basically:

functor at ichigo:~$ avconv -i rtsp://192.168.0.220:554/stream1/
avconv version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav
developers
  built on Mar 30 2013 22:23:21 with gcc 4.7.2
rtsp://192.168.0.220:554/stream1/: Invalid data found when processing input

Protocol exchange:

LibAV:
OPTIONS rtsp://192.168.0.220:554/stream1/ RTSP/1.0
CSeq: 1

DESCRIBE rtsp://192.168.0.220:554/stream1/ RTSP/1.0
Accept: application/sdp
CSeq: 2

<Camera closes the connection>

LibVLC:

OPTIONS rtsp://192.168.0.220:554/stream1/ RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.0.7 (LIVE555 Streaming Media v2012.12.18)

DESCRIBE rtsp://192.168.0.220:554/stream1/ RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.0.7 (LIVE555 Streaming Media v2012.12.18)
Accept: application/sdp

<Continues with SETUP etc...>

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list