开发者

Red5. Disable automatic creation of room

开发者_如何学JAVAHow I can disable automatic creation of room in Red5?

Thanks, Cyril


It should be as simple as overriding roomStart() in your application adapter class and returning false.

@Override
public boolean roomStart(IScope room) {
    return false;
}


Simply by not connecting to a room. By default when you connect a client to a scope other than the application root it will create the room instance. Another thing you can do is remove the scope after it creates it on the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜