[Live-devel] bitrate and data from memory location

Ross Finlayson finlayson at live555.com
Tue Aug 16 20:27:07 PDT 2011


On Aug 16, 2011, at 10:10 AM, Ivan Maldonado Zambrano wrote:

> 1) Is there a way to vary transfer bitrate? I mean, is there a way in
> Live555 to reduce or increment the number of bits send by package?.

No.

> 2) Live555 normally takes data from a file or a pipe, is there a way to
> indicate that data is located in a specific memory direction/location? I
> mean, is there a way to indicate Live555 that take data from a memory
> location with a specific size?

Yes, you (the server implementor) can stream from a "ByteStreamMemoryBufferSource", instead of from a "ByteStreamFileSource".  To use this, you would write a new subclass of "ServerMediaSubsession", and reimplement the virtual function "createNewStreamSource()".

Note, though, that to use "ByteStreamMemoryBufferSource", the memory buffer must be static - i.e., fixed-size, and filled in with data ahead of time.  If, instead, you are using the memory as a FIFO, then you must write your own source class (perhaps using our "DeviceSource" code as a model) to encapsulate it.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110816/92a7c147/attachment.html>


More information about the live-devel mailing list