[vlc-devel] Re: patch to permit file url for sdp type of url when streaming out with sdp

Philippe Van Hecke philippe.vanhecke at belnet.be
Fri Jul 30 11:52:59 CEST 2004


> Thanks a lot :-) and no problem for the delay. I will try to also make a
> patch to be able to send the sdp with simultaneous different type of
> announcement for the same stream.

Hi, 

I have make the patch to be able to send the sdp with simultaneous different 
type of announcement for the same stream.

I made two patches because i don't  know wich one is better than the other.

With the first patch (module_streamout_rtp_multiannonce-1).
You can announce sdp in multiple way using sdp url like this.

vlc inputstream --sout 
'#rtp{dst=239.2.13.42,port=1234,sdp=file://filename;http://host/path;sap://}'

where ";" char is the separator of each url. 

With the secondary patch i have removed the sdp varialble and add new variable
(http,sap,rtsp,file) for each type of announcement. Then you can announce sdp 
in multiple way like this.

vlc inputstream--sout 
'#rtp{dst=239.2.13.42,port=1234,http=http://host[:port]/path,file=filename, 
sap=1,name="Session Name"}'

From my point of view the second patch is more clean than the first one.

So can you give your comments and may be apply one of the two patch to the svn 
trunk ?

Regards

Philippe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: module_streamout_rtp_multiannonce-1.patch.gz
Type: application/x-gzip
Size: 916 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20040730/04d5b0c7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: module_streamout_rtp_multiannonce-2.patch.gz
Type: application/x-gzip
Size: 1847 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20040730/04d5b0c7/attachment-0001.bin>


More information about the vlc-devel mailing list