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

请问RTMPMuxer.writeVideo返回-20是什么错误? #106

Open
zhzc0x opened this issue Aug 18, 2022 · 1 comment
Open

请问RTMPMuxer.writeVideo返回-20是什么错误? #106

zhzc0x opened this issue Aug 18, 2022 · 1 comment

Comments

@zhzc0x
Copy link

zhzc0x commented Aug 18, 2022

先调用open方法返回的134,然后再调用writeVideo返回-20,正常应该是大于0的吧?麻烦帮忙看下是什么原因,谢谢!

@mekya
Copy link
Contributor

mekya commented Aug 22, 2022

First call the 134 returned by the open method, and then call writeVideo to return -20. Normally, it should be greater than 0, right? Please help to find out why, thank you!

Yes, it should be greater than 0. You can analyze the source code here to see how it should be used.
https://github.com/ant-media/LiveVideoBroadcaster

Google translate of my response ->

是的,它应该大于0。你可以分析这里的源代码,看看它应该如何使用。
https://github.com/ant-media/LiveVideoBroadcaster

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