after a session connects to a room, and then ConnectSession.logout() is called. The offending code from isP2P():
var uri:String = (_connectSession.sessionInternals.session_internal::connection as NetConnection).uri ;
if ( uri.split(":")[0] != "rtmfp" ) {
_isP2P = false ;
return _isP2P ;
}
At some point in the logout process "uri" is set to null, although the connection object still exists and some of its properties are still set (e.g. maxPeerConnections).
Ideally, this function should return false when called on a closed stream and not throw an RTE.
Thanks,
Mike
Views
Replies
Total Likes
we'll add this to the fixes for next release. Thanks for reporting it!
Views
Replies
Total Likes
Hey Mike,
Sorry about the delayed reply, but why are invoking LCCS functions after you logout ?
So part of your code, is checking for isP2P API method in streammanager after logging out. So were you able to figure out the offending piece of code in your source.
Thanks
Arun
Views
Replies
Total Likes