Grrrrrr.
So here's the magic line of objective c that will get your video to play sound on a device. Are you ready? Here goes:
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:NULL];
I'm staring at this line of code. It appears to say that any errors with audio, ignore them. So now your audio will work. Yay, Apple. This is the future of app developement?
No comments:
Post a Comment