Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use it? #1

Open
wm0425 opened this issue Jul 3, 2017 · 4 comments
Open

how to use it? #1

wm0425 opened this issue Jul 3, 2017 · 4 comments

Comments

@wm0425
Copy link

wm0425 commented Jul 3, 2017

怎么使用?怎么使用?

@fish-ball
Copy link
Member

Haha~~ 正在开发中,敬请期待哈,这个月应该能出个好的版本。
目前计划的接口是 TencentMLVB.startPush(pushUrl) 之后,就会开始推流并且在网页的后方垫入当前的摄像头视频UI层,目前安卓已调通,整体调通还需要时间。谢谢支持!

@fish-ball
Copy link
Member

@wm0425 发了一版了,你试试对着文档走一走吧,最简单的推拉应该可以。多提意见,我们一起改进,我们项目也很紧,我们也会加快的,不需要怀疑 Cordova 项目的可行性,一定可以的。

@wm0425
Copy link
Author

wm0425 commented Jul 7, 2017

我是最近研究cordova和Ionic2,然后对用这个实现直播功能比较感兴趣,因为混合模式实现直播没有先例,也没有插件,所以感觉蛮困难的,我本身做C#工程的,写插件也有点困难,所以还是给你点个赞!我今天想把这个插件扔到我建的Ionic2工程里测试的但是插件安装不了,然后我又试了cordova工程,貌似也不行,直接拷贝进去,是要改插件配置文件的,我还没试!提示的错误信息:D:\CordovaProject\hello>cordova plugin add --save https://github.com/easecloud/cordova-plugin-tencent-mlvb.git
Installing "cordova-plugin-tencent-mlvb" for android
Running command: cmd "/s /c "bash D:\CordovaProject\hello\plugins\cordova-plugin-tencent-mlvb\src\android\hooks\before_plugin_install\unzip_libs.sh D:\CordovaProject\hello""
'bash' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Failed to install 'cordova-plugin-tencent-mlvb': Error: Hook failed with error code 1: D:\CordovaProject\hello\plugins\cordova-plugin-tencent-mlvb\src\android\hooks\before_plugin_install\unzip_libs.sh

@fish-ball
Copy link
Member

@wm0425 是这样的,由于 iOS 的 SDK 超过了 100M 单个文件的限制,因此无法上传到 GitHub,只有将
SDK 文件压缩之后放到仓库中,然后在安装插件的时候用 hooks 解压。不过由于我的开发环境是 linux,因此解压的脚本可能不支持你的 windows 平台。如果要使用,建议将整个仓库 clone 到本地,就地解压 src/ios 和 src/android 下面的两个 zip 文件,然后直接添加本地目录作为插件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants