live555 integration into iPhone app for streaming RTMP or RTSP video to iPhone

好久不见. 提交于 2020-01-24 19:25:37

问题


Does anyone have any code or can point me in the right direction for integrating live555 into an iPhone app. I know that you can build the live555 C++ library for iOS but am not sure about the actual integration of this at a code level.

A link to a tutorial or some code would be wonderful :)

Thanks.


回答1:


  1. Download live555 here
  2. Unpack it somevhere (in my case /Volumes/OSX/live)
  3. find config.iphoneos an open it using text editor
  4. change LINK_OPTS to

    LINK_OPTS = -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system and

    IOS_VERSION = 6.0 (your current sdk)

  5. navigate in terminal to live555 dir (my case cd /Volumes/OSX/live)

  6. then run in terminal ./genMakefiles iphoneos

  7. run in terminal make



来源:https://stackoverflow.com/questions/6087310/live555-integration-into-iphone-app-for-streaming-rtmp-or-rtsp-video-to-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!