Media
Integration time
5 minutes
Saves you
$12000 / 200h *
Description

A Powerful Radio Streaming Framework for iOS Software Developers!
RadioTunes SDK is written for iOS developers who want to add radio streaming functionality to their app using a couple lines of code. Behind the scenes RadioTunes relies on the iOS AudioQueue framework and the open source LGPL licensed FFmpeg library.
If your app does not require mms/wma codec functionality you can also use the RadioTunes SDK without including the FFmpeg library. The code for mms streaming is completely separated from the code for http streaming so that you can choose which portions of code you want to include in your project.
Disclaimer: RadioTunes SDK can play all Window Media Audio version 9 streams but some streams based on version 10 could fail.
Make your App look like a Pro
Be sure to check out the Radiojive Template if you want a great looking design for your radio app. This template also includes a fully working radio app that uses RadioTunes SDK!
Download the FREE Trial now and see for yourself how simple it is to add radio playback functionality to your app!
Features
- NEW FEATURE IN VERSION 2.1!
- NEW FEATURES IN VERSION 2.0!
- Realtime audio recording.
- Improved audio session management.
- Bandwidth usage statistics.
- Support for the http and mms protocols.
- Supports mp3, aac, aac+ and wma audio streams.
- PLS, M3U, ASX, XSPF and direct URL support.
- Parsing of Shoutcast/Icecast metadata.
- Automatic handling of interruptions like incoming phone calls.
- Background playback.
- Robust error handling.
- Auto reconnect feature.
- Works on Edge/3G/WiFi.
Package
- Complete source code of RadioTunes SDK.
- Detailed documentation with integration instructions.
- Demo Xcode project.
- Fully automated FFmpeg build scripts that will build universal static libraries for the armv7 and i386 architectures.
- Pre-built FFmpeg universal static libraries with support for the mms protocol and wma audio codec.
Code Documentation
All public classes of RadioTunes SDK are documented using appledoc. See the documentation for further information.
Requirements
The source code of RadioTunes SDK is developed on Xcode 4.5.1 with iOS Base SDK 6.0. RadioTunes SDK works on a deployment target of iOS 5 or greater on armv7 and armv7s and can be used in ARC and non-ARC projects.
Integration
RadioTunes SDK can be integrated in two ways into your app.
1. Add the binary RadioTunes.framework
- Drag RadioTunes.framework into the "Frameworks" group of your Xcode project.
- Add the required libraries as shown in the screenshot below. You can add the FFmpeg libraries (libavcodec.a, libavformat.a, libavutil.a and libswresample.a) by dragging them from the "External/ffmpeg/lib" directory into your "Frameworks" group.
- Open the Build Settings tab and apply the following changes:
- Other Linker Flags -> -all_load -ObjC -lxml2
- Don't Create Position Independent Executables -> Yes
- Add the "Required Background Modes" key to your project's plist file and set it's value to "App plays audio".
- Add the following import statement everywhere you want to use RadioTunes SDK: #import <RadioTunes/RadioTunes.h>

2. Add RadioTunes.xcodeproj as a dependency
- Copy the whole RadioTunes folder into your project's root folder.
- Drag RadioTunes.xcodeproj into the "Frameworks" group of your Xcode project.
- Add RadioTunes as a target dependency.
- Add the required libraries as shown in the screenshot below.
- Open the Build Settings tab and apply the following changes:
- Other Linker Flags -> -all_load -ObjC -lxml2
- Don't Create Position Independent Executables -> Yes
- Add the following paths to "Header Search Paths":
- $(SRCROOT)/RadioTunes/External/ffmpeg/include"
- $(SRCROOT)/RadioTunes/RadioTunes"
- Add the following path to "Library Search Paths":
- **$(SRCROOT)/RadioTunes/External/ffmpeg/lib"
- If your project uses ARC, open the Compile Sources section in the Build Phases tab. Add the -fno-objc-arc compiler flag to all .m source files belonging to RadioTunes SDK!
- Add the "Required Background Modes" key to your project's plist file and set it's value to "App plays audio".
- Add the following import statement everywhere you want to use RadioTunes SDK: #import "RadioTunes.h"

Sample Usage
YLHTTPRadio *radio = [[YLHTTPRadio alloc] initWithURL:[NSURL URLWithString:@"http://someurl"]];
[radio play];
YLMMSRadio *radio = [[YLMMSRadio alloc] initWithURL:[NSURL URLWithString:@"mms://someurl"]];
[radio play];
[radio startRecordingWithDestination:filePath];
Questions & Comments
Leave a comment
Log-in now or register for a free account.
1 day ago
24 hours ago
24 hours ago
24 hours ago
24 hours ago
23 hours ago
23 hours ago
23 hours ago
3 days ago
3 days ago
3 days ago
1 week ago
1 week ago
1 week ago
1 week ago
4 days ago
4 days ago
3 days ago
3 days ago