Hi,
I want to use libmms in an objective-c project. I've taken the project from here - http://www.tunein-radio.com/lgpl.html - and included the libmms library in my own project. This avoids me having to compile libmms myself. Initially I just want to see if it works and hopefully output some audio.
Here's what I have so far in my header file:
#import <UIKit/UIKit.h>
#import "mmsio.h"
#import "mms.h"
#define streamURL @"path/to/stream"
@interface radiotestAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
struct mms_t_io *io;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@end
I'm not really sure where to go from here but think I need to use this method from mms.h:
mms_t* mms_connect (mms_io_t *io, void *data, const char *url, int bandwidth);
However, I'm not well versed enough in C to unravel the libmms code. Can anyone offer any advice? I'd be happy to pay for some tuition but want to understand this myself.
What frameworks should I be using to read the mms_t response type from the above method?
Thanks,