HTTP live streaming crashing on iOS 4.2, doesn't crash on 4.3
We have a HTTP live streaming app for ipad. There are a couple of streams we have which work fine on any OS. However, one of the streams just crashes on iOS 4.2 and on iOS 4.3, although I do not get a crash, the stream doesn't play. I get a playback ended message from the player.
I am using MPMoviePlayerController for the player. There have been some changes to it from iOS 4.2 to 4.3. But am not sure what causes the player to crash on iOS 4.2 and not crash on iOS 4.3.
Any ideas?
When I run the app and check the console in iPhone configuration utility,开发者_开发问答 it says "exited abnormally with signal 11: Segmentation fault"
I bet it is a CODEC issue.
The iOS devices are very particular in how the video is encoded. This in theory can vary slightly from version to version, device to device, video to video. Ensure you are encoding the video as h264 Baseline Profile 3.0 with AAC audio.
精彩评论