rahul
rahul

Reputation: 135

Recording the live streming

Currently I'm playing the live radio stream using MPMoviePlayerController. I want to record & save the radio programs in my application.

Can someone please help me on this?

Thanks in advance

Upvotes: 0

Views: 164

Answers (2)

mondousage
mondousage

Reputation: 483

If you're looking into the audio portion, I made a sample app that can record say, Pandora while it's running. Hope this helps! https://github.com/casspangell/AudioMic

Upvotes: 0

Or Ron
Or Ron

Reputation: 2343

You would be able to do so using AVFoundation.

  1. Initial an instance of AVURLAsset using you stream url
  2. Use AVAssetReader to read the stream bytes
  3. Use AVAssetWriter to write bytes to new file.

Hope I could help

Upvotes: 0

Related Questions