Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 627381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:31:19+00:00 2026-05-13T19:31:19+00:00

I want to use libmms in an objective-c project. I’ve taken the project from

  • 0

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,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:31:20+00:00Added an answer on May 13, 2026 at 7:31 pm

    I never used libmms but when looking into the source code the interface seems to be very simple:

    1. You connect with mms_connect and receive a connection instance.
    2. You read from the stream using the opened connection using mms_read.
    3. You close the connection using mms_close.

    For advanced functionality you have the other mms_* functions.
    The IO (mms_io_t) can be null. In this case a default implementation will be used for I/O.

    BTW I wonder how you would program in Objective-C without being versed enough to understand C code (the libmms code seems straight forward and easy to understand).

    Update:

    I cannot see where the libmms does any video decoding. There are some methods for seeking and getting header/packet information. I don’t have any knowledge about video decoding – so I cannot say if you have to decode the stream data prior to playing it or if the iPhone can handle it directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use $.ajax to read some infomation from xml file,here is my js
I want use from multiple upload image in codeigniter but problem is here that
I want use BYTE_ORDER macro in my Xcode project but i can't because i
i want use some data from a website with web service. i have a
I want use jQuery in my project. I know the javascript_include_tag calls the jQuery
I want use localized strings from resources in xsl template as in aspx page,
I want use a query like such SELECT personId FROM Person p Inner Join
I want to use private drawable from android. for that i have downloade androi-8.jar
I want use php curl with oauth to get the JSON data from twitter
i want use XmlSampleGenerator API in my project. i don't know how to add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.