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

推流无法使用VLC播放 #91

Open
mudcastles opened this issue Aug 19, 2020 · 2 comments
Open

推流无法使用VLC播放 #91

mudcastles opened this issue Aug 19, 2020 · 2 comments

Comments

@mudcastles
Copy link

如题,我使用gradle引入依赖,然后open打开了推流器,调用writeVideo方法推流,返回非0的数字,并没有按照api解释的成功会返回0。用VLC拉流,一直无法显示。

@DubheBroken
Copy link

我也遇到了,返回的int似乎和length相关联,length越大返回值越大。从来没有返回过0。我用VLC拉流得到的高宽尺寸和我设定的值不一致,画面是黑的。

@luohaohaha
Copy link
Contributor

如题,我使用gradle引入依赖,然后open打开了推流器,调用writeVideo方法推流,返回非0的数字,并没有按照api解释的成功会返回0。用VLC拉流,一直无法显示。

VLC对timestamp的要求非常严格,检查音视频的timestamp有没有回跳或者突然增大的情况,只能有序递增,而且VLC音视频要共用一条timestamp

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

3 participants