[Live-devel] Live stream from network camera to streaming server object

Ross Finlayson finlayson at live555.com
Thu May 15 16:43:58 PDT 2008


>I want to develop small application that performs a kind of "advanced relay".
>
>I have network camera with hardware MPEG4ES encoder.
>
>Running openRTSP to it works perfect.
>
>The final idea is to perform a kind of stream relay from the remote 
>network camera device to a local network.
>
>After such "relaying", the stream will be accessible from the local 
>network using multicast server object.
>
>I use openRTSP sample as an "input module" of the application, and 
>testMPEG4VideoStreamer as an "output module".
>
>The
>final idea is to have a possibility to connect to multicast RTSP source
>located in local network by reusing already received stream from remote
>camera.

Because you are planning to relay only a single video stream (i.e., 
without a separate audio stream), I think the simplest approach would 
be to simply design your application to use two processes, 
communicating via a pipe (i.e., stdout of one process feeding to the 
stdin of the other).

I.e., one process would run "openRTSP -v rtsp://<whatever>", which 
would read the stream, and output its video to 'stdout'.  This would 
be piped to the second process, which would run 
"testMPEG4VideoStreamer" (with the input file name 'test.m4e" 
replaced by "stdin").
-- 

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


More information about the live-devel mailing list