LibRtmp-Client-for-Android icon indicating copy to clipboard operation
LibRtmp-Client-for-Android copied to clipboard

推流无法使用VLC播放

Open mudcastles opened this issue 5 years ago • 2 comments

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

mudcastles avatar Aug 19 '20 03:08 mudcastles

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

DubheBroken avatar Nov 15 '21 08:11 DubheBroken

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

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

luohaohaha avatar Jan 18 '23 07:01 luohaohaha