问题
Livu has rtmp streaming functionality: http://stevemcfarlin.com/livu/index.html
source (lib) https://github.com/otmakie/LivuLib
I made a couple of iphone apps using software like phonegap. How hard will it be to modify phonegap to make use of the livu (lib)?
I guess i have to edit the phonegap framework (which is written in objective C....)
I guess i have 3 options:
- Practice objective c more and edit the phonegap framework
- Hire someone to write phonegap plugin.
- Practice objective c / hire programmer and go full native.
When i have compiled the livu lib and i have :
librtmp.a (from the rtmp xCode output)
libavcodec.a
libavcore.a
libavdevice.a
libavfilter.a
libavformat.a
libavutil.a
libswscale.a
Etc, how do i make use of them? (what are .a files?)
回答1:
You are probably going to need to make a plugin for PhoneGap to interface with the live library.
http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins
Here are some tutorials on making plugins for PhoneGap:
http://hiediutley.com/2011/04/15/phonegap-tutorial-series-6-writing-your-own-plugin/
来源:https://stackoverflow.com/questions/8108738/using-livu-lib-with-phonegap