[Live-devel] New LIVE555 version, with two new classes
Ross Finlayson
finlayson at live555.com
Fri Jul 15 12:44:46 PDT 2011
The latest version of the "LIVE555 Streaming Media" code contains two
new classes that developers might find useful:
1/ "TCPStreamSink", which encapsulates a writable TCP socket. Being
a "MediaSink", you can call "startPlaying()" on it, to stream from a
"FramedSource" to a TCP socket. This class could be used to
implement a HTTP server, for example, or simply a "nc"-like utility
to stream data to a remote location.
2/ "ByteStreamMemoryBufferSource", which encapsulates a (static)
memory buffer that's used as a byte stream data source. I.e., you
can use a memory buffer as a data source, as if it were a file.
(Note, however, that the memory buffer must be static - i.e.,
unchanging - so you can't use this class to encapsulate an encoder.
For that, you would need to write your own class (perhaps based on
the "DeviceSource" code).)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list