Great, who is in charge of this, im familiar flex2 so could prob lend a hand here. I think the most important part of building the stats API is to be able to log properly so when there is something in trunk please let us know to try out.

Chris Allen wrote:
We are also in the process of making an API for accessing these stats
via a red5 application (SharedObjects). We are creating this for the
Flex based admin tool to be included in the next release. We are
hoping that others will be able to build their own custom clients
using our server-side implementation to obtain this data and display
it as they see fit.

On 12/8/06, Adam <[EMAIL PROTECTED]> wrote:
Hi,

you can collect stats by:

log.info("#[appLeave CId:"+str_userId+"] stats-FlashVer:
"+appConn.getConnectParams().get("flashVer"));
log.info("#[appLeave CId:"+str_userId+"] stats-SwfUrl:
"+appConn.getConnectParams().get("swfUrl"));
log.info("#[appLeave CId:"+str_userId+"] stats-PageUrl:
"+appConn.getConnectParams().get("pageUrl"));
log.info("#[appLeave CId:"+str_userId+"] stats-Path: "+appConn.getPath());
log.info("#[appLeave CId:"+str_userId+"] stats-ScopeName:
"+appConn.getScope().getName());
// log.info("#[appLeave CId:"+str_userId+"] stats-OverallBandwidth:
"+stream.getBandwidthConfigure().getOverallBandwidth());
log.info("#[appLeave CId:"+str_userId+"] stats-ConnectionType:
"+appConn.getType());
log.info("#[appLeave CId:"+str_userId+"] stats-tcUrl:
"+appConn.getConnectParams().get("tcUrl"));
log.info("#[appLeave CId:"+str_userId+"] stats-SessionId:
"+appConn.getSessionId());
log.info("#[appLeave CId:"+str_userId+"] stats-RemoteAddress:
"+appConn.getRemoteAddress());
log.info("#[appLeave CId:"+str_userId+"] stats-RemotePor:
"+appConn.getRemotePort());
log.info("#[appLeave CId:"+str_userId+"] stats-Host: "+appConn.getHost());
log.info("#[appLeave CId:"+str_userId+"] stats-CreationTime:
"+appConn.getClient().getCreationTime());
log.info("#[appLeave CId:"+str_userId+"] stats-LastPingTime:
"+appConn.getLastPingTime());
log.info("#[appLeave CId:"+str_userId+"] stats-WrittenBytes:
"+appConn.getWrittenBytes());
log.info("#[appLeave CId:"+str_userId+"] stats-OS:
"+appConn.getClient().getAttribute("os"));
log.info("#[appLeave CId:"+str_userId+"] stats-Manufacturer:
"+appConn.getClient().getAttribute("manufacturer"));
log.info("#[appLeave CId:"+str_userId+"] stats-AttributeType:
"+appConn.getClient().getAttribute("type"));
log.info("#[appLeave CId:"+str_userId+"] stats-Language:
"+appConn.getClient().getAttribute("lang"));
log.info("#[appLeave CId:"+str_userId+"] stats-Resolution:
"+appConn.getClient().getAttribute("res"));

log.info("#[streamSubscriberClose CId:"+str_userId+"]
stats-ClientTimeBuffer:
"+stream.getStreamFlow().getClientTimeBuffer());
log.info("#[streamSubscriberClose CId:"+str_userId+"] stats-TotalStreamTime:
"+stream.getStreamFlow().getTotalStreamTime());
log.info("#[streamSubscriberClose CId:"+str_userId+"]
stats-TotalBytesTransfered:
"+stream.getStreamFlow().getTotalBytesTransfered());

more stats i havent found!

greets
-Adam-
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to