Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
RusD #1
checkBandwidth callback functions
Hi,
I just start with server-side embedded checkBandwidth function. I wonder is
there any description of arguments and return values of onBWCheck and onBWDone.
Seems like onBWCheck return something, but does it matter what it returns? I
wonder why there is no documentation published, since this is built-in future.
Also not clear what onBWDone arguments are. It has four arguments. With
analogue with 'Script-based bandwidth detection' it return download bandwidth,
but what about upload bvandwidth? van it also be detected?
Thanks
RusD Guest
-
#40398 [NEW]: parent and self callback functions erroneously called statically
From: levi at alliancesoftware dot com dot au Operating system: PHP version: 5CVS-2007-02-08 (CVS) PHP Bug Type: Scripting... -
Display Callback
hi, I have a problem with display callback. I do the next: go to "LABEL_1" -- draw some 3D cubes .... -
What is a callback?
Hello everyone, I've seen the word "callback" used in a few Changelogs for a few modules saying that a few callbacks were fixed in the module. I... -
Callback: any interest in this?
I've written a module that basically implements the functionality of a Tk callback for non-Tk applications. I know that most times you can just... -
#10743 [Com]: class functions & PHP core functions inconsistently clash ;)
ID: 10743 Comment by: destes at ix dot netcom dot com Reported By: jjones at net-conex dot com Status: Open... -
Ed Chan #2
Re: checkBandwidth callback functions
The docs should describe this (I think). In any case, onBWCheck takes an arg,
some random data that the server sends the client used to measure the available
bw. You simply need to return a value, doesn't matter what, as an indication
to the server that the client has received the data. onBWCheck may be called
multiple times.
onBWDone is called when the server is done measuring the bw and is passed the
bw in Kbits/sec in the first argument. The 2nd and 3rd arguments are unused
(to maintain compatibility with an older version of script based bw detection),
and the 4th arg is latency in msec.
Upload bw is not supported by native bw detection. But you could take the
script based and just do the same thing, but in the opposite direction.
Ed Chan Guest
-
tech_writer_00 #3
Re: checkBandwidth callback functions
It looks like this didn't make it into the docs - not sure how that happened, but I've filed a bug.
Apologies and thanks!
Jody
tech_writer_00 Guest



Reply With Quote

