问题
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:
- Download live555 here
- Unpack it somevhere (in my case /Volumes/OSX/live)
- find config.iphoneos an open it using text editor
change LINK_OPTS to
LINK_OPTS = -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system and
IOS_VERSION = 6.0 (your current sdk)
navigate in terminal to live555 dir (my case cd /Volumes/OSX/live)
then run in terminal ./genMakefiles iphoneos
run in terminal make
来源:https://stackoverflow.com/questions/6087310/live555-integration-into-iphone-app-for-streaming-rtmp-or-rtsp-video-to-iphone