[Live-devel] RTP from file

Ross Finlayson finlayson at live555.com
Tue May 13 18:18:32 PDT 2008


>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.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list