Jump to content
Mumble forums

How to use MumbleKit for my iOS app


Recommended Posts

Hello,


I would like to make a Push to Talk iOS app, just press one button and Talk, release button to Stop.

I downloaded, build MumbleKit, and include to my Xcode project, but I don't know where I should start to use MumbleKit.

I tried to find API docs, tutorial but no result.

So anybody can help me?


Thank you so much!

Link to post
Share on other sites
  • 3 weeks later...

Hello,


I did:

#import <UIKit/UIKit.h>
#import <MKServices.h>
#import <MKConnection.h>

@interface ViewController : UIViewController<MKConnectionDelegate>
@end

 

- (void)viewDidLoad {
   [super viewDidLoad];
   [self loginToMumbleServer];
}

- (void)loginToMumbleServer
{
   MKConnection *conn = [[MKConnection alloc] init];
   conn.delegate = self;
   [conn setIgnoreSSLVerification:YES];
   [conn connectToHost:@"my server host" port:12345];
}

#pragma - mark
/// @param conn  The connection that was opened.
- (void) connectionOpened:(MKConnection *)conn
{
=>>> This function is called
}

 

But I got log:

MKConnection: Invalid CryptState or CFSocket.

MKConnection: Sent ping message.

 

Can anybody help me to continue, is connection worked or not with that log. How can I start to TALK and LISTEN from other?


Thanks a lot!

Link to post
Share on other sites
  • 8 months later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...