什么视频/音频codeC的播放设置在Android和iOS [英] What video/audio codec settings for playback on Android and iOS
问题描述
什么codeC的设置会产生播放有效的视频在Android(videoView)和iOS的UIWebView)?
What codec settings will produce valid videos for playback on Android (videoView) and iOS UIWebView)?
推荐答案
Android版本: http://developer.android.com/guide/appendix/media-formats.html
Android: http://developer.android.com/guide/appendix/media-formats.html
的iOS视频(UIWebView中的不实际播放视频,他们将其传递给另一个类):<一href="http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953" rel="nofollow">http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953
iOS video (UIWebView's don't actually play the videos, they pass it off to another class): http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953
和iOS的音频:<一href="http://developer.apple.com/iphone/library/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html#//apple_ref/doc/uid/TP40009767-CH2-SW33" rel="nofollow">http://developer.apple.com/iphone/library/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html#//apple_ref/doc/uid/TP40009767-CH2-SW33
这篇关于什么视频/音频codeC的播放设置在Android和iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!