Cyril Deba
Cyril Deba

Reputation: 1210

Red5. Disable automatic creation of room

How I can disable automatic creation of room in Red5?

Thanks, Cyril

Upvotes: 1

Views: 381

Answers (2)

Paul Gregoire
Paul Gregoire

Reputation: 9793

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

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

Upvotes: 2

mikey
mikey

Reputation: 65

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.

Upvotes: -1

Related Questions