Marce666 Posted January 28, 2015 Share Posted January 28, 2015 Hi, I defined a group to a sub-channel and suitable permissions. (see attachments)From MumbleKit, after being connected to the server, I ask for MKAccessControl by calling[self.serverModel requestAccessControlForChannel:c]; When receiving response, app crashes in this point (see (*) ) - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len { // TODO: We only support enumeration of object values. In the future, we // can extend this code to return a new list of NSNumber* objects wrapping // our primitive values. PBArrayValueTypeAssert(PBArrayValueTypeObject); <----- (*) if (state->state >= _count) { return 0; // terminate iteration } How should I set groups and permission on murmur to avoid this crash?If I comment the assert, the following crash is when accessing the PBArray named add in here: for (NSNumber *value in chanGroup.add) { [channelGroup.members addObject:value]; } Quote Link to comment Share on other sites More sharing options...
Administrators mkrautz Posted January 28, 2015 Administrators Share Posted January 28, 2015 Hi,I'm not very familiar with the access control code. It's an external contribution -- an app that used MumbleKit needed ACLs. (Mumble for iOS doesn't for now).However, I'd love to take a stab at it. I've created an issue to track this bug:https://github.com/mumble-voip/mumblekit/issues/32 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.