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/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to