Friday, July 27, 2012

RadioKit SDK, now with Recording!

I'm happy to announce the RadioKit™ SDK for iOS now includes an API for recording the audio from a stream.
Here's a simple example demonstrating the API’s syntax:

NSString *filename = [NSHomeDirectory() stringByAppendingPathComponent:@"tmp/"];
[radioKit startRecording:filename appendToFile:NO];
[radioKit setStreamUrl:@“http://enteryourstreamhere.pls” isFile:NO];

And when you want to stop recording:

[radioKit stopRecording];

Then, you can simply play back the saved file at a later time via the RadioKit local-file playback support:

[radioKit playLocalFile:filename];

It’s that simple.

To read more about all the features of the RadioKit SDK and how it greatly simplifies the process of creating a full-featured iOS radio app, check out

All content copyright © 2009  Brian Stormont, unless otherwise noted.   All rights reserved.