[Live-devel] How does Live555 deal with low bandwidth?

Ivan Maldonado Zambrano imaldonado at semex.com.mx
Thu Aug 18 08:55:10 PDT 2011


Hi all,

If Live555 can not vary transfer bitrate. How does Live555 deal with low
bandwidth? I mean, at the moment that Live555 stream data and there is a
low bandwidth it suppose to loss frames/data. Does Live555 implement a
mechanism to avoid this kind of problems?

Suppose I have a client that feedback, I can know if I have a problem
with my bandwidth and probably I can modify a Live555 variable to reduce
loss frames/data.

Regards and thanks in advance
 Iván Maldonado Zambrano

--------------------------------------------------------------------------------

Date: Tue, 16 Aug 2011 20:27:07 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
        <live-devel at ns.live555.com>
Subject: Re: [Live-devel] bitrate and data from memory location
Message-ID: <D1C53BB6-D176-43AB-997C-E191B1DF2ACA at live555.com>
Content-Type: text/plain; charset="us-ascii"


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/

On Tue, 2011-08-16 at 12:10 -0500, Ivan Maldonado Zambrano wrote:
> Hi all,
> 
> Actually I have a problem with my Stream Engine application and I'd like
> to know if somebody can help me.
> 
> I have two questions:
> 
> 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?.
>     I was looking for in internet and I found something about
> "estBitrate" variable but it did not work.
> 
> 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?
> 
> Regards and thanks in advance
>  Iván Maldonado Zambrano




More information about the live-devel mailing list