[Red5] Dynamic video quality

Walter Tak walter at waltertak.com
Mon Dec 3 09:40:24 PST 2007


Yes that way is consuming (valuable) bandwidth. It's usually done at start of a stream, in case more bitrates of a stream are available.

If you'd check once with a payload of say 32 kbytes (takes about 1 sec on a decent link) and payloads of 1-2 Kbytes every minute it doesn't
have much impact but can give valueable feedback to the client or server.

Regards,
Walter

  ----- Original Message ----- 
  From: David Temes 
  To: red5 at osflash.org 
  Sent: Monday, December 03, 2007 1:12 PM
  Subject: Re: [Red5] Dynamic video quality


  Isen't that way of measuring actually consuming valuable bandwidth? Is there a way to get feedback from the webcam video stream itself on the client? something like dropped frames or get timestamps from the stream?

  David Temes. 

    ----- Original Message ----- 
    From: Walter Tak 
    To: red5 at osflash.org 
    Sent: Monday, December 03, 2007 12:37 PM
    Subject: Re: [Red5] Dynamic video quality


    >Hi,
    >would it be possible to dynamically change the video quality, depending on each user's bandwidth?
    >I have webcam streams.
    >-- 
    >lp,
    >Anže 

    You can change the quality of a webcam with setQuality. You already knew that probably.

    To test the amount of available bandwidth use some sort of ping-mechanism right after the client has connected and
    measure the the time it takes to send say 1000 calls with a 'payload' (large string of say 100 characters) from the client to the server and vice versa.

    This is no perfect solution since bandwidth changes over time while a client is 'surfing' on the net, the time of the day and the load on the server.

    That way you can 'measure' the available bandwidth. This is no automated process, you have to code this yourself or rip it from examples.

    For optimum performance you should measure once a minute the available bandwidth for a client and change the quality of the (sending) webcam.

    I'm not sure if the default examples of Red5 use such a bandwidth-test, maybe someone else on the list could confirm that (and in which example) ?


    Regards,
    Walter



----------------------------------------------------------------------------
    I am using the free version of SPAMfighter for private users.
    It has removed 13763 spam emails to date.
    Paying users do not have this message in their emails.
    Try SPAMfighter for free now!



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


    _______________________________________________
    Red5 mailing list
    Red5 at osflash.org
    http://osflash.org/mailman/listinfo/red5_osflash.org



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


    No virus found in this incoming message.
    Checked by AVG Free Edition. 
    Version: 7.5.503 / Virus Database: 269.16.13/1165 - Release Date: 02/12/2007 20:34



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


  _______________________________________________
  Red5 mailing list
  Red5 at osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071203/073c243c/attachment.html 


More information about the Red5 mailing list