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