[Live-devel] RTP from file

Miguel Angel Cabrera macabrera at solaiemes.com
Wed May 14 02:50:27 PDT 2008


On Tue, 2008-05-13 at 18:18 -0700, Ross Finlayson wrote:
> >What i am trying to do is to do interprocess communication between a
> >custom rtp stack implemented in java and vlc. The idea is that i
> >generate rtp with the rtp stack in java and pass the data to vlc through
> >a named pipe (with a representation in the file system). This is to have
> >better efficiency and not using net resources.
> 
> This seems a bit silly; if all your communication is local (within 
> the same computer), then there aren't really any significant 'net 
> resources' being used.
> 
> Does your 'custom rtp stack implemented in java' include a RTSP 
> server?  If so, then just access it from VLC using a "rtsp://" URL. 
> If not, then just have your Java RTP stack send to 'localhost' on 
> some port number, and modify VLC to have it listen to that port 
> number.  (Or, if you don't mind multicasting data on your local 
> network (but no farther), then send to an IP multicast address 
> instead, and have VLC (unmodified) read a corresponding SDP 
> description file.)

Yes, at the moment is done using localhost. But with a file there wont
be a port used and also i think it would be more efficient because data
wont need to go to localhost and then back.



More information about the live-devel mailing list