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

关于Cocoapods集成LFLiveKit使用[LFLiveSession -pushVideo: ] Crash 事件 #228

Open
ListenXunInNight opened this issue Jul 17, 2017 · 0 comments

Comments

@ListenXunInNight
Copy link

ListenXunInNight commented Jul 17, 2017

好奇怪,周六晚上有发过一篇issue,现在竟然没找到,现在只好再发一次咯!

小弟使用Cocoapods集成LFLiveKit[,每次使用LFLiveSession -pushVideo],都会Crash,原因是 [NSArrayM lfPopFirstObject] unrecogniz selctor。我有尝试在Pod中的名为LFLiveKitTarget中Other Links Flag 加入-all_load,还是没用,也曾在NSMutablArray分类的实现文件中添加一个空的类,还是没有效果,十分抓狂。还好这方法用的地方不多,我自己稍微改了一下。

我用glReadPixels读取颜色数据,然后转换成CVImageBufferRef类型,再次是用 pushVideo:方法进行数据推流,每次都会断开连接,重连几十次都一样。如果推送空数据则不会断开连接。搜了一下,说是rtmpdump库的原因,不知道能否有大佬给我解决方案。

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

1 participant