Repository: wuqiong/MobileVLCKit-SDK Branch: master Commit: 0183af538eac Files: 21 Total size: 45.0 KB Directory structure: gitextract_p3kpkmdh/ ├── .gitignore ├── README.md ├── VLCKitPlayer/ │ ├── MobileVLCKitPlayer.xcodeproj/ │ │ ├── project.pbxproj │ │ └── project.xcworkspace/ │ │ └── contents.xcworkspacedata │ ├── VLCKitPlayer/ │ │ ├── Base.lproj/ │ │ │ └── Main.storyboard │ │ ├── DVIAppDelegate.h │ │ ├── DVIAppDelegate.m │ │ ├── DVIPlayerViewController.h │ │ ├── DVIPlayerViewController.m │ │ ├── DVIViewController.h │ │ ├── DVIViewController.mm │ │ ├── Images.xcassets/ │ │ │ ├── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ └── LaunchImage.launchimage/ │ │ │ └── Contents.json │ │ ├── MobileVLCKitPlayer-Info.plist │ │ ├── MobileVLCKitPlayer-Prefix.pch │ │ ├── en.lproj/ │ │ │ └── InfoPlist.strings │ │ └── main.m │ └── VLCKitPlayerTests/ │ ├── MobileVLCKitPlayerTests-Info.plist │ ├── VLCKitPlayerTests.m │ └── en.lproj/ │ └── InfoPlist.strings └── bootstrap ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Xcode build/ *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata *.xccheckout profile *.moved-aside DerivedData *.hmap *.ipa .DS_Store # CocoaPods Pods #package *.tar.gz /MobileVLCKit.framework ================================================ FILE: README.md ================================================

戴维营教育iOS全媒体播放器开发框架

一个长沙戴维营教育学员在学习开源项目时所集成编译和二次开发的iOS平台音视频多媒体万能播放器开发框架。
这个框架运用了功能强大的开源音视频项目VLC以及其他开源项目。
我们把已经编译好的Framework顺带一个极简单的Demo开放出来,
为有需要的朋友们省去复杂的编译过程,直接使用本仓库下的MobileVLCKit.framework
就可以啦。
使用方法:
第一步:
打开终端,执行命令。
$git clone https://github.com/wuqiong/MobileVLCKit-SDK.git
第二步:
$cd MobileVLCKit-SDK
$./bootstrap
第三步:
打开本极小的Demo编译运行,新建自己的工程,引用MobileVLCKit.framework,开发属于自己的万能播放器吧。
本SDK支持在iOS平台播放众多的音视频文件和流媒体格式:
音频格式:
aac | aiff | aif | amr | aob | ape | axa | flac | it |
m2a | m4a | mka | mlp | mod | mp1 | mp2 | mp3 | mpa |
mpc | oga | oma | opus | rmi | s3m | spx | tta |
voc | vqf | wav | wma | wv | xa | xm
视频格式:
3gp | 3gp | 3gp2 | 3gpp | amv | asf | avi | axv | divx |
dv | flv | f4v | gvi | gxf | m1v | m2p | m2t | m2ts |
m2v | m4v | mks | mkv | moov | mov | mp2v | mp4 | mpeg |
mpeg1 | mpeg2 | mpeg4 | mpg | mpv | mt2s | mts | mxf |
nsv | nuv | oga | ogg | ogm | ogv | ogx | spx | ps | qt |
rec | rm | rmvb | tod | ts | tts | vob | vro | webm |
wm | wmv | wtv | xesc
流媒体: rtp | rtsp | hls/http 等等, Adobe的rtmp 的流媒体也是支持的哦.
字幕格式:
cdg | idx | srt | sub | utf | ass | ssa | aqt | jss
| psb | rt | smi | txt | smil
抓图: ![抓图](https://raw.github.com/wuqiong/MobileVLCKit-SDK/master/snapshot1.jpg)
![抓图](https://raw.github.com/wuqiong/MobileVLCKit-SDK/master/snapshot2.jpg)
小组讨论: ![小组讨论现场](https://raw.github.com/wuqiong/MobileVLCKit-SDK/master/discuss.jpg) ================================================ FILE: VLCKitPlayer/MobileVLCKitPlayer.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 001CE79B18DC5DF3003D01F9 /* DVIPlayerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 001CE79A18DC5DF3003D01F9 /* DVIPlayerViewController.m */; }; 008418C618D9204600237FB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 008418C518D9204600237FB2 /* Foundation.framework */; }; 008418C818D9204600237FB2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 008418C718D9204600237FB2 /* CoreGraphics.framework */; }; 008418CA18D9204600237FB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 008418C918D9204600237FB2 /* UIKit.framework */; }; 008418D018D9204600237FB2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 008418CE18D9204600237FB2 /* InfoPlist.strings */; }; 008418D218D9204600237FB2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 008418D118D9204600237FB2 /* main.m */; }; 008418D618D9204600237FB2 /* DVIAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 008418D518D9204600237FB2 /* DVIAppDelegate.m */; }; 008418D918D9204600237FB2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 008418D718D9204600237FB2 /* Main.storyboard */; }; 008418DC18D9204600237FB2 /* DVIViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 008418DB18D9204600237FB2 /* DVIViewController.mm */; }; 008418DE18D9204600237FB2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 008418DD18D9204600237FB2 /* Images.xcassets */; }; 008418FD18D9215700237FB2 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 008418FC18D9215700237FB2 /* AVFoundation.framework */; }; 008418FF18D9216400237FB2 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 008418FE18D9216400237FB2 /* CoreAudio.framework */; }; 0084190118D9217000237FB2 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0084190018D9217000237FB2 /* AudioToolbox.framework */; }; 0084190318D9218300237FB2 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0084190218D9218300237FB2 /* libz.dylib */; }; 0084190718D921BA00237FB2 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0084190618D921BA00237FB2 /* libiconv.dylib */; }; 0084190B18D921D200237FB2 /* libbz2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0084190A18D921D200237FB2 /* libbz2.dylib */; }; 0084190C18D9225400237FB2 /* libstdc++.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0084190418D9219000237FB2 /* libstdc++.dylib */; }; 189BFE1B1A6FEEC7003BF5BA /* MobileVLCKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 189BFE1A1A6FEEC7003BF5BA /* MobileVLCKit.framework */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 001CE79918DC5DF3003D01F9 /* DVIPlayerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVIPlayerViewController.h; sourceTree = ""; }; 001CE79A18DC5DF3003D01F9 /* DVIPlayerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DVIPlayerViewController.m; sourceTree = ""; }; 008418C218D9204600237FB2 /* MobileVLCKitPlayer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MobileVLCKitPlayer.app; sourceTree = BUILT_PRODUCTS_DIR; }; 008418C518D9204600237FB2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 008418C718D9204600237FB2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 008418C918D9204600237FB2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 008418CD18D9204600237FB2 /* MobileVLCKitPlayer-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MobileVLCKitPlayer-Info.plist"; sourceTree = ""; }; 008418CF18D9204600237FB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 008418D118D9204600237FB2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 008418D318D9204600237FB2 /* MobileVLCKitPlayer-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MobileVLCKitPlayer-Prefix.pch"; sourceTree = ""; }; 008418D418D9204600237FB2 /* DVIAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DVIAppDelegate.h; sourceTree = ""; }; 008418D518D9204600237FB2 /* DVIAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DVIAppDelegate.m; sourceTree = ""; }; 008418D818D9204600237FB2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 008418DA18D9204600237FB2 /* DVIViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DVIViewController.h; sourceTree = ""; }; 008418DB18D9204600237FB2 /* DVIViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = DVIViewController.mm; sourceTree = ""; }; 008418DD18D9204600237FB2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 008418E418D9204600237FB2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 008418EC18D9204700237FB2 /* MobileVLCKitPlayerTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MobileVLCKitPlayerTests-Info.plist"; sourceTree = ""; }; 008418EE18D9204700237FB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 008418F018D9204700237FB2 /* VLCKitPlayerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCKitPlayerTests.m; sourceTree = ""; }; 008418FC18D9215700237FB2 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 008418FE18D9216400237FB2 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; 0084190018D9217000237FB2 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 0084190218D9218300237FB2 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; 0084190418D9219000237FB2 /* libstdc++.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libstdc++.dylib"; path = "usr/lib/libstdc++.dylib"; sourceTree = SDKROOT; }; 0084190618D921BA00237FB2 /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; }; 0084190818D921C300237FB2 /* libc++.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libc++.dylib"; path = "usr/lib/libc++.dylib"; sourceTree = SDKROOT; }; 0084190A18D921D200237FB2 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = usr/lib/libbz2.dylib; sourceTree = SDKROOT; }; 189BFE031A6FEEBA003BF5BA /* MobileVLCKitPlayer.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = MobileVLCKitPlayer.xcodeproj; sourceTree = ""; }; 189BFE081A6FEEBA003BF5BA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 189BFE091A6FEEBA003BF5BA /* DVIAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DVIAppDelegate.h; sourceTree = ""; }; 189BFE0A1A6FEEBA003BF5BA /* DVIAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DVIAppDelegate.m; sourceTree = ""; }; 189BFE0B1A6FEEBA003BF5BA /* DVIPlayerViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DVIPlayerViewController.h; sourceTree = ""; }; 189BFE0C1A6FEEBA003BF5BA /* DVIPlayerViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DVIPlayerViewController.m; sourceTree = ""; }; 189BFE0D1A6FEEBA003BF5BA /* DVIViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DVIViewController.h; sourceTree = ""; }; 189BFE0E1A6FEEBA003BF5BA /* DVIViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = DVIViewController.mm; sourceTree = ""; }; 189BFE101A6FEEBA003BF5BA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 189BFE111A6FEEBA003BF5BA /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 189BFE121A6FEEBA003BF5BA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 189BFE131A6FEEBA003BF5BA /* MobileVLCKitPlayer-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MobileVLCKitPlayer-Info.plist"; sourceTree = ""; }; 189BFE141A6FEEBA003BF5BA /* MobileVLCKitPlayer-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MobileVLCKitPlayer-Prefix.pch"; sourceTree = ""; }; 189BFE171A6FEEBA003BF5BA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 189BFE181A6FEEBA003BF5BA /* MobileVLCKitPlayerTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MobileVLCKitPlayerTests-Info.plist"; sourceTree = ""; }; 189BFE191A6FEEBA003BF5BA /* VLCKitPlayerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCKitPlayerTests.m; sourceTree = ""; }; 189BFE1A1A6FEEC7003BF5BA /* MobileVLCKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileVLCKit.framework; path = ../MobileVLCKit.framework; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 008418BF18D9204600237FB2 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 189BFE1B1A6FEEC7003BF5BA /* MobileVLCKit.framework in Frameworks */, 0084190C18D9225400237FB2 /* libstdc++.dylib in Frameworks */, 0084190B18D921D200237FB2 /* libbz2.dylib in Frameworks */, 0084190718D921BA00237FB2 /* libiconv.dylib in Frameworks */, 0084190318D9218300237FB2 /* libz.dylib in Frameworks */, 0084190118D9217000237FB2 /* AudioToolbox.framework in Frameworks */, 008418FF18D9216400237FB2 /* CoreAudio.framework in Frameworks */, 008418FD18D9215700237FB2 /* AVFoundation.framework in Frameworks */, 008418C818D9204600237FB2 /* CoreGraphics.framework in Frameworks */, 008418CA18D9204600237FB2 /* UIKit.framework in Frameworks */, 008418C618D9204600237FB2 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 008418B918D9204600237FB2 = { isa = PBXGroup; children = ( 008418CB18D9204600237FB2 /* VLCKitPlayer */, 008418EA18D9204700237FB2 /* VLCKitPlayerTests */, 008418C418D9204600237FB2 /* Frameworks */, 008418C318D9204600237FB2 /* Products */, ); sourceTree = ""; }; 008418C318D9204600237FB2 /* Products */ = { isa = PBXGroup; children = ( 008418C218D9204600237FB2 /* MobileVLCKitPlayer.app */, ); name = Products; sourceTree = ""; }; 008418C418D9204600237FB2 /* Frameworks */ = { isa = PBXGroup; children = ( 189BFE1A1A6FEEC7003BF5BA /* MobileVLCKit.framework */, 189BFE021A6FEEBA003BF5BA /* VLCKitPlayer */, 0084190A18D921D200237FB2 /* libbz2.dylib */, 0084190818D921C300237FB2 /* libc++.dylib */, 0084190618D921BA00237FB2 /* libiconv.dylib */, 0084190418D9219000237FB2 /* libstdc++.dylib */, 0084190218D9218300237FB2 /* libz.dylib */, 0084190018D9217000237FB2 /* AudioToolbox.framework */, 008418FE18D9216400237FB2 /* CoreAudio.framework */, 008418FC18D9215700237FB2 /* AVFoundation.framework */, 008418C518D9204600237FB2 /* Foundation.framework */, 008418C718D9204600237FB2 /* CoreGraphics.framework */, 008418C918D9204600237FB2 /* UIKit.framework */, 008418E418D9204600237FB2 /* XCTest.framework */, ); name = Frameworks; sourceTree = ""; }; 008418CB18D9204600237FB2 /* VLCKitPlayer */ = { isa = PBXGroup; children = ( 008418D418D9204600237FB2 /* DVIAppDelegate.h */, 008418D518D9204600237FB2 /* DVIAppDelegate.m */, 008418D718D9204600237FB2 /* Main.storyboard */, 008418DA18D9204600237FB2 /* DVIViewController.h */, 008418DB18D9204600237FB2 /* DVIViewController.mm */, 001CE79918DC5DF3003D01F9 /* DVIPlayerViewController.h */, 001CE79A18DC5DF3003D01F9 /* DVIPlayerViewController.m */, 008418DD18D9204600237FB2 /* Images.xcassets */, 008418CC18D9204600237FB2 /* Supporting Files */, ); path = VLCKitPlayer; sourceTree = ""; }; 008418CC18D9204600237FB2 /* Supporting Files */ = { isa = PBXGroup; children = ( 008418CD18D9204600237FB2 /* MobileVLCKitPlayer-Info.plist */, 008418CE18D9204600237FB2 /* InfoPlist.strings */, 008418D118D9204600237FB2 /* main.m */, 008418D318D9204600237FB2 /* MobileVLCKitPlayer-Prefix.pch */, ); name = "Supporting Files"; sourceTree = ""; }; 008418EA18D9204700237FB2 /* VLCKitPlayerTests */ = { isa = PBXGroup; children = ( 008418F018D9204700237FB2 /* VLCKitPlayerTests.m */, 008418EB18D9204700237FB2 /* Supporting Files */, ); path = VLCKitPlayerTests; sourceTree = ""; }; 008418EB18D9204700237FB2 /* Supporting Files */ = { isa = PBXGroup; children = ( 008418EC18D9204700237FB2 /* MobileVLCKitPlayerTests-Info.plist */, 008418ED18D9204700237FB2 /* InfoPlist.strings */, ); name = "Supporting Files"; sourceTree = ""; }; 189BFE021A6FEEBA003BF5BA /* VLCKitPlayer */ = { isa = PBXGroup; children = ( 189BFE031A6FEEBA003BF5BA /* MobileVLCKitPlayer.xcodeproj */, 189BFE061A6FEEBA003BF5BA /* VLCKitPlayer */, 189BFE151A6FEEBA003BF5BA /* VLCKitPlayerTests */, ); name = VLCKitPlayer; sourceTree = ""; }; 189BFE041A6FEEBA003BF5BA /* Products */ = { isa = PBXGroup; name = Products; sourceTree = ""; }; 189BFE061A6FEEBA003BF5BA /* VLCKitPlayer */ = { isa = PBXGroup; children = ( 189BFE071A6FEEBA003BF5BA /* Main.storyboard */, 189BFE091A6FEEBA003BF5BA /* DVIAppDelegate.h */, 189BFE0A1A6FEEBA003BF5BA /* DVIAppDelegate.m */, 189BFE0B1A6FEEBA003BF5BA /* DVIPlayerViewController.h */, 189BFE0C1A6FEEBA003BF5BA /* DVIPlayerViewController.m */, 189BFE0D1A6FEEBA003BF5BA /* DVIViewController.h */, 189BFE0E1A6FEEBA003BF5BA /* DVIViewController.mm */, 189BFE0F1A6FEEBA003BF5BA /* InfoPlist.strings */, 189BFE111A6FEEBA003BF5BA /* Images.xcassets */, 189BFE121A6FEEBA003BF5BA /* main.m */, 189BFE131A6FEEBA003BF5BA /* MobileVLCKitPlayer-Info.plist */, 189BFE141A6FEEBA003BF5BA /* MobileVLCKitPlayer-Prefix.pch */, ); path = VLCKitPlayer; sourceTree = ""; }; 189BFE151A6FEEBA003BF5BA /* VLCKitPlayerTests */ = { isa = PBXGroup; children = ( 189BFE161A6FEEBA003BF5BA /* InfoPlist.strings */, 189BFE181A6FEEBA003BF5BA /* MobileVLCKitPlayerTests-Info.plist */, 189BFE191A6FEEBA003BF5BA /* VLCKitPlayerTests.m */, ); path = VLCKitPlayerTests; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 008418C118D9204600237FB2 /* MobileVLCKitPlayer */ = { isa = PBXNativeTarget; buildConfigurationList = 008418F418D9204700237FB2 /* Build configuration list for PBXNativeTarget "MobileVLCKitPlayer" */; buildPhases = ( 008418BE18D9204600237FB2 /* Sources */, 008418BF18D9204600237FB2 /* Frameworks */, 008418C018D9204600237FB2 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = MobileVLCKitPlayer; productName = VLCKitPlayer; productReference = 008418C218D9204600237FB2 /* MobileVLCKitPlayer.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 008418BA18D9204600237FB2 /* Project object */ = { isa = PBXProject; attributes = { CLASSPREFIX = DVI; LastUpgradeCheck = 0500; ORGANIZATIONNAME = "戴维营教育"; }; buildConfigurationList = 008418BD18D9204600237FB2 /* Build configuration list for PBXProject "MobileVLCKitPlayer" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 008418B918D9204600237FB2; productRefGroup = 008418C318D9204600237FB2 /* Products */; projectDirPath = ""; projectReferences = ( { ProductGroup = 189BFE041A6FEEBA003BF5BA /* Products */; ProjectRef = 189BFE031A6FEEBA003BF5BA /* MobileVLCKitPlayer.xcodeproj */; }, ); projectRoot = ""; targets = ( 008418C118D9204600237FB2 /* MobileVLCKitPlayer */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 008418C018D9204600237FB2 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 008418DE18D9204600237FB2 /* Images.xcassets in Resources */, 008418D018D9204600237FB2 /* InfoPlist.strings in Resources */, 008418D918D9204600237FB2 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ 008418BE18D9204600237FB2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 008418D618D9204600237FB2 /* DVIAppDelegate.m in Sources */, 008418D218D9204600237FB2 /* main.m in Sources */, 008418DC18D9204600237FB2 /* DVIViewController.mm in Sources */, 001CE79B18DC5DF3003D01F9 /* DVIPlayerViewController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ 008418CE18D9204600237FB2 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( 008418CF18D9204600237FB2 /* en */, ); name = InfoPlist.strings; sourceTree = ""; }; 008418D718D9204600237FB2 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( 008418D818D9204600237FB2 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; 008418ED18D9204700237FB2 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( 008418EE18D9204700237FB2 /* en */, ); name = InfoPlist.strings; sourceTree = ""; }; 189BFE071A6FEEBA003BF5BA /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( 189BFE081A6FEEBA003BF5BA /* Base */, ); name = Main.storyboard; sourceTree = ""; }; 189BFE0F1A6FEEBA003BF5BA /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( 189BFE101A6FEEBA003BF5BA /* en */, ); name = InfoPlist.strings; sourceTree = ""; }; 189BFE161A6FEEBA003BF5BA /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( 189BFE171A6FEEBA003BF5BA /* en */, ); name = InfoPlist.strings; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ 008418F218D9204700237FB2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libstdc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 7.0; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; }; name = Debug; }; 008418F318D9204700237FB2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libstdc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 7.0; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; name = Release; }; 008418F518D9204700237FB2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libstdc++"; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", /Users/cheetah/projects, /Users/cheetah/Downloads, "/Users/cheetah/lab/oc/MobileVLCKit-SDK", "/Users/apple/Desktop/VLC/MobileVLCKit-SDK", ); GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = "VLCKitPlayer/MobileVLCKitPlayer-Info.plist"; PRODUCT_NAME = MobileVLCKitPlayer; WRAPPER_EXTENSION = app; }; name = Debug; }; 008418F618D9204700237FB2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libstdc++"; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", /Users/cheetah/projects, /Users/cheetah/Downloads, "/Users/cheetah/lab/oc/MobileVLCKit-SDK", "/Users/apple/Desktop/VLC/MobileVLCKit-SDK", ); GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = "VLCKitPlayer/MobileVLCKitPlayer-Info.plist"; PRODUCT_NAME = MobileVLCKitPlayer; WRAPPER_EXTENSION = app; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 008418BD18D9204600237FB2 /* Build configuration list for PBXProject "MobileVLCKitPlayer" */ = { isa = XCConfigurationList; buildConfigurations = ( 008418F218D9204700237FB2 /* Debug */, 008418F318D9204700237FB2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 008418F418D9204700237FB2 /* Build configuration list for PBXNativeTarget "MobileVLCKitPlayer" */ = { isa = XCConfigurationList; buildConfigurations = ( 008418F518D9204700237FB2 /* Debug */, 008418F618D9204700237FB2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 008418BA18D9204600237FB2 /* Project object */; } ================================================ FILE: VLCKitPlayer/MobileVLCKitPlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: VLCKitPlayer/VLCKitPlayer/Base.lproj/Main.storyboard ================================================ ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIAppDelegate.h ================================================ // // DVIAppDelegate.h // VLCKitPlayer // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import @interface DVIAppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIAppDelegate.m ================================================ // // DVIAppDelegate.m // VLCKitPlayer // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import "DVIAppDelegate.h" @implementation DVIAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. return YES; } - (void)applicationWillResignActive:(UIApplication *)application { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIPlayerViewController.h ================================================ // // DVIPlayerViewController.h // VLCKitPlayer // // Created by 吴琼 on 14-3-21. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import @interface DVIPlayerViewController : UIViewController @property (nonatomic, copy) NSString *mediaPath; @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIPlayerViewController.m ================================================ // // DVIPlayerViewController.m // VLCKitPlayer // // Created by 吴琼 on 14-3-21. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import "DVIPlayerViewController.h" #import @interface DVIPlayerViewController () @property (strong, nonatomic) IBOutlet UIView *mediaView; @property (nonatomic, strong) VLCMediaPlayer *vlcPlayer; @end @implementation DVIPlayerViewController - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. _vlcPlayer = [[VLCMediaPlayer alloc] initWithOptions:nil]; _vlcPlayer.drawable = self.mediaView; // @"rtmp://livertmppc.wasu.cn/live/dfws" //http://192.168.1.254/hdmv.mp4 VLCMedia *media = [VLCMedia mediaWithURL:[NSURL URLWithString: _mediaPath]]; [_vlcPlayer setMedia:media]; [_vlcPlayer play]; } - (void)viewWillDisappear:(BOOL)animated { [_vlcPlayer stop]; [super viewWillDisappear:animated]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIViewController.h ================================================ // // DVIViewController.h // VLCKitPlayer // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import @interface DVIViewController : UIViewController @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/DVIViewController.mm ================================================ // // DVIViewController.m // VLCKitPlayer // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import "DVIViewController.h" #import "DVIPlayerViewController.h" @interface DVIViewController () @property (strong, nonatomic) IBOutlet UITextField *urlTextField; @end @implementation DVIViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. _urlTextField.text = @"rtmp://live.hkstv.hk.lxdns.com/live/hks"; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { DVIPlayerViewController *playerCtrl = [segue destinationViewController]; playerCtrl.mediaPath = _urlTextField.text; } @end ================================================ FILE: VLCKitPlayer/VLCKitPlayer/Images.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: VLCKitPlayer/VLCKitPlayer/Images.xcassets/LaunchImage.launchimage/Contents.json ================================================ { "images" : [ { "orientation" : "portrait", "idiom" : "iphone", "extent" : "full-screen", "minimum-system-version" : "7.0", "scale" : "2x" }, { "orientation" : "portrait", "idiom" : "iphone", "subtype" : "retina4", "extent" : "full-screen", "minimum-system-version" : "7.0", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: VLCKitPlayer/VLCKitPlayer/MobileVLCKitPlayer-Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleDisplayName ${PRODUCT_NAME} CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier com.diveinedu.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1.0 LSRequiresIPhoneOS UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: VLCKitPlayer/VLCKitPlayer/MobileVLCKitPlayer-Prefix.pch ================================================ // // Prefix header // // The contents of this file are implicitly included at the beginning of every source file. // #import #ifndef __IPHONE_5_0 #warning "This project uses features only available in iOS SDK 5.0 and later." #endif #ifdef __OBJC__ #import #import #endif ================================================ FILE: VLCKitPlayer/VLCKitPlayer/en.lproj/InfoPlist.strings ================================================ /* Localized versions of Info.plist keys */ ================================================ FILE: VLCKitPlayer/VLCKitPlayer/main.m ================================================ // // main.m // VLCKitPlayer // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import #import "DVIAppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([DVIAppDelegate class])); } } ================================================ FILE: VLCKitPlayer/VLCKitPlayerTests/MobileVLCKitPlayerTests-Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier com.diveinedu.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType BNDL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 ================================================ FILE: VLCKitPlayer/VLCKitPlayerTests/VLCKitPlayerTests.m ================================================ // // VLCKitPlayerTests.m // VLCKitPlayerTests // // Created by 吴琼 on 14-3-19. // Copyright (c) 2014年 戴维营教育. All rights reserved. // #import @interface VLCKitPlayerTests : XCTestCase @end @implementation VLCKitPlayerTests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the invocation of each test method in the class. [super tearDown]; } - (void)testExample { XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); } @end ================================================ FILE: VLCKitPlayer/VLCKitPlayerTests/en.lproj/InfoPlist.strings ================================================ /* Localized versions of Info.plist keys */ ================================================ FILE: bootstrap ================================================ #!/bin/bash PKG_NAME="MobileVLCKit-framework-latest.tar.gz" rm -rf ./MobileVLCKit.framework echo "Downloading $PKG_NAME, wait..." curl "http://wuqiong.info:8088/download/${PKG_NAME}" -o "${PKG_NAME}" > /dev/null 2>&1 if [ $? == 0 ]; then echo "Downloaded the package! ${PKG_NAME}"; fi if [ ! -f $PKG_NAME ]; then echo "error! ${PKG_NAME} doesn't exist!" exit -1; fi echo "Prepareing to extract......" tar xzvf $PKG_NAME; if [ $? != 0 ]; then echo "Extracting ${PKG_NAME} failed!" else echo "Bootstraping the Framework done, Enjoy!" fi