using livu (lib) with phonegap?

坚强是说给别人听的谎言 提交于 2019-12-08 11:35:26

问题


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:

  1. Practice objective c more and edit the phonegap framework
  2. Hire someone to write phonegap plugin.
  3. 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

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