⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bandwidthdetection.java.svn-base

📁 Java例子 flv传送实例 Flv to send examples of Java examples
💻 SVN-BASE
字号:
package org.red5.demos.bwcheck;import java.util.Map;import org.red5.server.api.IConnection;import org.red5.server.api.Red5;import org.slf4j.Logger;import org.slf4j.LoggerFactory;/** *  * @author The Red5 Project (red5@osflash.org) * @author Dan Rossi */public class BandwidthDetection {	protected static Logger log = LoggerFactory			.getLogger(BandwidthDetection.class);	public BandwidthDetection() {	}	public Map<String, Object> onClientBWCheck(Object[] params) {		ClientServerDetection clientServer = new ClientServerDetection();		return clientServer.onClientBWCheck(params);	}	public void onServerClientBWCheck(Object[] params) {		IConnection conn = Red5.getConnectionLocal();		ServerClientDetection serverClient = new ServerClientDetection();		serverClient.checkBandwidth(conn);	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -