ios 屏幕共享演示demo

上传者: m__point | 上传时间: 2021-03-18 17:15:45 | 文件大小: 731KB | 文件类型: ZIP
是研究ios屏幕共享时编制的demo,重点参考了如下两个开源项目: 1 http://www.gdcl.co.uk/2013/02/20/iOS-Video-Encoding.html (ios 上h.264硬编码,RTSP服务端) 2 https://github.com/coolstar/RecordMyScreen (私有API截屏,如果要发布到appstore,请修改) 存在问题: 1 屏幕截屏计算截图 时间序列时太耗cpu,需要改进(采用定时器) 2 视频编码的一些参数在像iphon4及低版本ios上可能需要调整。 测试时软硬件情况: 1 编译器:xcode:4.6,5.0 2 设备:iphone4(ios 6.1.3),iphone5(ios 7),ipad2 (ios6.1) 2 播放器:vlc 播放器 希望对初学者及做像会议系统,视频聊天的童鞋有帮助。另外,代码中也包含采集摄像头图像,变为流媒体的功能,详细参见代码。

文件下载

资源详情

[{"title":"( 96 个子文件 731KB ) ios 屏幕共享演示demo","children":[{"title":"screenShareTest","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"screenShareTest.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"yangyong.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 26.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 31.23KB </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"yangyong.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"xcschememanagement.plist <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"screenShareTest.xcscheme <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"xcdebugger","children":[{"title":"Breakpoints.xcbkptlist <span style='color:#111;'> 91B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"screenShareTest","children":[{"title":"main.m <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"Camera","children":[{"title":"CameraServer.h <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"CameraServer.m <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"Default.png <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"RTSP","children":[{"title":"RTSPMessage.h <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"RTSPServer.m <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"RTSPClientConnection.mm <span style='color:#111;'> 17.78KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"RTSPServer.h <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"RTSPMessage.m <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"RTSPClientConnection.h <span style='color:#111;'> 443B </span>","children":null,"spread":false}],"spread":true},{"title":"SecondeViewController.h <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"FilePreviewViewController.h <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"SecondeViewController.m <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"AVEncoder","children":[{"title":"NALUnit.cpp <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false},{"title":"NALUnit.h <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"MP4Atom.h <span style='color:#111;'> 779B </span>","children":null,"spread":false},{"title":"MP4Atom.m <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"AVEncoder.h <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"VideoEncoder.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"AVEncoder.mm <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":"VideoEncoder.m <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"AppDelegate.h <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"Default-568h@2x.png <span style='color:#111;'> 18.16KB </span>","children":null,"spread":false},{"title":"FilePreviewViewController.xib <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"headers","children":[{"title":"CoreSurface","children":[{"title":"CoreSurface.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":".svn","children":[{"title":"all-wcprops <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"tmp","children":[{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"text-base","children":null,"spread":false}],"spread":false},{"title":"text-base","children":[{"title":"CoreSurface.h.svn-base <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"entries <span style='color:#111;'> 397B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"IOMobileFrameBuffer.h <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"IOSurface","children":[{"title":"IOSurfaceBase.h <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"IOSurfaceAPI.h <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"IOSurface.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":".svn","children":[{"title":"all-wcprops <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"tmp","children":[{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"text-base","children":null,"spread":false}],"spread":false},{"title":"text-base","children":[{"title":"IOSurfaceBase.h.svn-base <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"IOSurfaceAPI.h.svn-base <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"IOSurface.h.svn-base <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":false},{"title":"entries <span style='color:#111;'> 697B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"IOKit","children":[{"title":"IOCFURLAccess.h <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"IOCFPlugIn.h <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"IOKitServer.h <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"IOCFSerialize.h <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"IOBSD.h <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"IOMessage.h <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"OSMessageNotification.h <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"IOCFBundle.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"IODataQueueShared.h <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"IOCFUnserialize.h <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"IOReturn.h <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false},{"title":"IOKitLib.h <span style='color:#111;'> 72.07KB </span>","children":null,"spread":false},{"title":"IODataQueueClient.h <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"IOSharedLock.h <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"IOKitKeys.h <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":".svn","children":[{"title":"all-wcprops <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"tmp","children":[{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"text-base","children":null,"spread":false}],"spread":false},{"title":"text-base","children":[{"title":"IOCFURLAccess.h.svn-base <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"IODataQueueShared.h.svn-base <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"IOCFBundle.h.svn-base <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"IOCFSerialize.h.svn-base <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"IOCFPlugIn.h.svn-base <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"IOBSD.h.svn-base <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"IOKitServer.h.svn-base <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"iokitmig.h.svn-base <span style='color:#111;'> 77.17KB </span>","children":null,"spread":false},{"title":"IOKitLib.h.svn-base <span style='color:#111;'> 72.07KB </span>","children":null,"spread":false},{"title":"IOKitKeys.h.svn-base <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":"IODataQueueClient.h.svn-base <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"OSMessageNotification.h.svn-base <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"IOCFUnserialize.h.svn-base <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"IOMessage.h.svn-base <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"IOReturn.h.svn-base <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false},{"title":"IOSharedLock.h.svn-base <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"IOTypes.h.svn-base <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"entries <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"iokitmig.h <span style='color:#111;'> 77.17KB </span>","children":null,"spread":false},{"title":"IOTypes.h <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false}],"spread":false},{"title":".svn","children":[{"title":"all-wcprops <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"tmp","children":[{"title":"prop-base","children":null,"spread":false},{"title":"props","children":null,"spread":false},{"title":"text-base","children":null,"spread":false}],"spread":false},{"title":"text-base","children":[{"title":"IOMobileFrameBuffer.h.svn-base <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"entries <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SecondeViewController.xib <span style='color:#111;'> 11.41KB </span>","children":null,"spread":false},{"title":"FilePreviewViewController.m <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Default@2x.png <span style='color:#111;'> 15.73KB </span>","children":null,"spread":false},{"title":"screenShareTest-Prefix.pch <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"ViewController.h <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"screenShareTest-Info.plist <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"ViewController.m <span style='color:#111;'> 792B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"ViewController_iPad.xib <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"ViewController_iPhone.xib <span style='color:#111;'> 9.53KB </span>","children":null,"spread":false},{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":false},{"title":"smartsvn.pdf <span style='color:#111;'> 819.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • z18701397412 :
    下载看下,借鉴下
    2018-03-19
  • zhoubo2012 :
    为什么编译错误啊
    2017-03-21
  • jia1689889431 :
    下载看下,借鉴下
    2016-11-01
  • IT工匠 :
    我下载的报错了,找不到frameWork,有知道是什么原因吗?多谢
    2016-07-19
  • 板鞋飞人_Young :
    不错,,,可以用,,,
    2015-12-17
  • Dot_lynn :
    不错啊,直接就跑起来了。值得参考
    2015-05-19
  • DaisyBai :
    写的相当不错,可以学习
    2015-03-17
  • liang8816 :
    学习一下正需要这样得东西好
    2015-03-04
  • ling_hao :
    东西写的很好,借鉴了gdcl,值得学习
    2014-11-17
  • chengfeili :
    demo有问题一直没看到效果,不知道我是不是弄错了
    2014-08-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明