I'm using something like this:
<head>
<script type="text/javascript">
function startIt()
{
var ob = document.getElementById('vlc');
if (ob)
{
var options=[":http-caching=400"];
ob.addTarget("
http://some.server:8080/",options,2,0);
ob.play();
}
}
</script>
</head>
<body onLoad="startIt()">
<object classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8"
codebase="/res/videolan/axvlc.cab"
width="848" height="480" id="vlc" events="True" >
<param name="Src" value="" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="False" />
<param name="Volume" value="100">
</object>
</body>
although it's http and not udp streaming. This sets the client-side caching to 400ms which seems to work in my environment.