This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

How to use MumbleKit for my iOS app


mucdong
 Share

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 comment
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 comment
Share on other sites

  • 8 months later...
  • 2 years later...
 Share

×
×
  • Create New...