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/test.audio"];
[radioKit startRecording:filename appendToFile:NO];[radioKit setStreamUrl:@“http://enteryourstreamhere.pls” isFile:NO];
And when you want to stop recording:
Then, you can simply play back the saved file at a later time via the RadioKit local-file playback support:
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 http://www.stormyprods.com/products/radiokit.php
Posted by Mostly Torn at 10:48 PM