Objective C live streaming audio in one line

[[(AVAudioPlayer*)[AVAudioPlayer alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://translate.google.com/translate_tts?q=hello+world"]] error:nil] play];

Post a Comment