cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl RTSP not using correct control URI?

From: <>
Date: Wed, 13 Nov 2013 10:09:39 +0000

On Wed, Nov 13, 2013, at 5:06, Paul Bergen wrote:

It plays fine in VLC, but in curl I get a: 415 unsupported media type,
and it seems to be that the camera's DESCRIBE contains a new control
URL in the "a=control:" tag, and VLC uses it, but curl continues to use
the original URL.

You need simply need to tell libcurl to use the alternate URI before
the RTSP SETUP is performed. Send a DESCRIBE, parse the SDP that was
returned for the optional new URI, then pass the new URI in the SETUP
and PLAY stages.

List admin:
Received on 2013-11-13