[Live-devel] MPEG4 dynamic live streaming
Ross Finlayson
finlayson at live555.com
Thu Nov 5 18:54:05 PST 2009
>i m using Live555 tool testMPEG4VideoStreamer.exe for streaming from a file.
>But i want to use it now read data from some dyanamic thing instead
>of from static local file(e.g. some port).
If your input device is named in the file system (e.g.,
"/dev/something"), then you can just use the same code as before;
just change the variable "inputFileName".
If your input device is not named in the file system, but you have
(or can create) an open file (i.e., a "FILE*") for it, then simply
use this "FILE*" instead of the file name in the call to
"ByteStreamFileSource::createNew()".
Also, see <http://www.live555.com/liveMedia/faq.html#liveInput>
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list