[vlc-devel] Multicast VoD

Rémi Denis-Courmont rdenis at simphalempin.com
Sun Nov 25 18:21:49 CET 2007


Le Wednesday 21 November 2007 01:39:47 Vincent Bonnet, vous avez écrit :
> I would like the VoD server to stream the video towards a multicast
> address, instead of the address of the machine which sent the RTSP
> requests.

The RTSP Transport destination parameter is currently purposedly not 
implemented to prevent VLC from being used as a trivial DoS proxy.

> The first step is to modify the RTSP module (/modules/misc/rtsp.c) and
> more particularly the request handler functions (RtspCallback and
> RtspCallbackES) so as to recognize "multicast" word and get multicast
> address. This can be found in the SETUP request, inside the "Transport"
> field pointed by psz_transport.

> My question is : how can i modify the code so as to "link" the VoD
> server with the multicast address ?

Right before "CommandPush (p_vod, RTSP_CMD_TYPE_PLAY, ...)" in the pseudo-RTSP 
VoD plugin.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071125/91d4115c/attachment.sig>


More information about the vlc-devel mailing list