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

关于LFLiveKit #7

Open
lovesif opened this issue Jul 19, 2016 · 4 comments
Open

关于LFLiveKit #7

lovesif opened this issue Jul 19, 2016 · 4 comments

Comments

@lovesif
Copy link

lovesif commented Jul 19, 2016

您好!遇到一个问题,看你项目中直接pod 的LFLiveKit,但是我pod 的时候却提示
Unable to find a specification for LFLiveKit,这是怎么回事啊

@SunLiner
Copy link
Owner

你可以更新一下你的cocoapods或者pod search你当前支持的LFLiveKit版本, 改一下podfile里面LFLiveKit版本号即可.最简单的就是去掉后面的版本号, 如'~> 0.0'...

@lovesif
Copy link
Author

lovesif commented Jul 19, 2016

谢谢,确实更新一下cocoapods就没问题了,不过在更新前无论 search 还是去掉版本号都解决不了

@gaoshilei
Copy link

我之前也遇到了这个问题,本地的spec仓库并不是最新的,执行pod setup就可以了

@ListenXunInNight
Copy link

哈喽各位大佬,小弟最近在项目中用Cocoapods集成了LFLiveKit,每次自己使用LFLiveSession对象调用-pushVideo:方法,总会遇到这么一个问题:[__NSArrayM lfPopFirstObject] unrecognized(在LFStreamingBuffer.m中,71行)。我尝试过在LFLiveKit target中加入-all_load 或者在源文件内部添加一个空类再加上-Objc还是无法避免上述问题。还有就是,在我将上述方法【- lfPopFirstObject】问题替换成自己的方法实现。但是每次都会莫名其妙的与服务器断开连接,我push的是我自己用glReadPixels读取的数据,然后转换成CVImageBufferRef类型,无论重连多少次,都会断开连接,我不发送数据则没事。
以下为错误描述,有点长:
【ERROR: WriteN, PILI_RTMP send error 32, Broken pipe, (3 bytes)】
【ERROR: WriteN, PILI_RTMP send error 32, Broken pipe, (35 bytes)】
【ERROR: WriteN, PILI_RTMP send error 32, Broken pipe, (42 bytes)】

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

4 participants