I’m new to iPhone development and i want to stream mp3 file located on my wowza media server.
The server is correctly set up because i can play the mp3 within safari using an url like http://myIP/wowza_app/mp3:song/playlist.m3u8
I can correctly play the file with the same address in objective c if i use the AVPlayer class…
NSString *mp3URLString = @"http://myIP:1935/wowza_app/mp3:test/playlist.m3u8"; NSURL *mp3URL = [NSURL URLWithString:mp3URLString]; AVPlayer *player = [[AVPlayer alloc] initWithURL:mp3URL]; [player play];
But this class is very limited (for example : impossible to control volume)
So, how to do that in objective c ? I have found an example with CoreAudio, but it doesn’t work with Wowza.
Is there anywhere a sample work that work with wowza ?