when trying to connect to rtmp://localhost/fitcDemo , it succeeds. trying to connect to rtmp://localhost/fitcDemo/instance , red5 gives error;


jvm 1    | [DEBUG] 437419 mina-3:( org.red5.server.Server.lookupGlobal ) Check:localhost/test/instance
jvm 1    | [DEBUG] 437419 mina-3:( org.red5.server.Server.lookupGlobal ) Check host and path: localhost/test
jvm 1    | [DEBUG] 437419 mina-3:( org.red5.server.Scope.getContext ) returning context
jvm 1    | [DEBUG] 437419 mina-3:( org.red5.server.Scope.hasChildScope ) Has child scope? test in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
jvm 1    | [DEBUG] 437419 mina-3:( org.red5.server.Scope.hasChildScope ) Has child scope? instance in [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'test']
jvm 1    | [ERROR] 437419 mina-3:( org.red5.server.net.rtmp.RTMPHandler.onInvoke ) Error connecting
jvm 1    | org.red5.server.exception.ScopeNotFoundException : Scope not found: instance in [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'test']
jvm 1    |      at org.red5.server.ScopeResolver.resolveScope(ScopeResolver.java:33)
jvm 1    |      at org.red5.server.Context.resolveScope (Context.java:48)




we've checked src/org/red5/server/ScopeResolver.java , in resolveScope() ;

if(scope.hasChildScope(room)){
                scope = scope.getScope(room);
            } /*else if( scope.createChildScope(room)){
                scope = scope.getScope(room);
            } */else throw new ScopeNotFoundException(scope,parts[i]);


why is this scope.createChildScope(room) line commented? does it have a problem, should it work when we uncomment it, or is it missing? Is there any way to connect to different rooms (rtmp://server/app/room1 rtmp://server/app/room2 etc), at the same time?

-kerem&erbil from turkiye
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to