📄 bwapplication.java.svn-base
字号:
package org.red5.demos.bwcheck;import org.red5.demos.bwcheck.security.PlaybackSecurity;import org.red5.demos.bwcheck.security.PublishSecurity;import org.red5.demos.bwcheck.security.SharedObjectSecurity;import org.red5.server.adapter.MultiThreadedApplicationAdapter;import org.red5.server.api.IConnection;import org.red5.server.api.IScope;/** * Bandwidth Detection demo for the Red5 Server. * * @author The Red5 Project (red5@osflash.org) * @author Dan Rossi */public class BWApplication extends MultiThreadedApplicationAdapter { @Override public boolean appStart(IScope app) { registerStreamPublishSecurity(new PublishSecurity()); registerSharedObjectSecurity(new SharedObjectSecurity()); registerStreamPlaybackSecurity(new PlaybackSecurity()); return super.appStart(app); } @Override public boolean appConnect(IConnection conn, Object[] params) { return super.appConnect(conn, params); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -