cURL and RTSP - Only Sending OPTIONS command

"zon3d ." <[email protected]> Wed, 7 Mar 2012 17:25:29 +1100
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
Hi there,
I have the following code:

<?php$ch = curl_init();curl_setopt($ch,CURLOPT_URL,"rtsp://v4.cache5.c.youtube.com/CjYLENy73wIaLQksUyxySIhRWBMYESARFEIJbXYtZ29vZ2xlSARSBXdhdGNoYIvds6zy7YCrTww=/0/0/0/video.3gp");curl_setopt($ch,CURLOPT_CUSTOMREQUEST,"OPTIONS");curl_setopt($ch,CURLOPT_USERAGENT,"LibVLC/1.1.5 (LIVE555 Streaming Media v2010.09.25)");$result = curl_exec($ch);echo $result;print_r(curl_getinfo($ch));?>
The request that it sends is - Request: OPTIONS * RTSP/1.0   - that is not right. How come the URL is not where the * is? That is where it should be.
Secondly, even if I change the CustomRequest line to: curl_setopt($ch,CURLOPT_CUSTOMREQUEST,"DESCRIBE");  it still only sends Request: OPTIONS * RTSP/1.0 
Can anyone help me out? Thanks.

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php