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

rtmp推流,拉流端播放总有2-3s的延迟 #30

Open
vjeson opened this issue Nov 2, 2020 · 2 comments
Open

rtmp推流,拉流端播放总有2-3s的延迟 #30

vjeson opened this issue Nov 2, 2020 · 2 comments

Comments

@vjeson
Copy link

vjeson commented Nov 2, 2020

服务端试过好几个rtmp server,比如srs, 客户端用vlc,或者在android设备上面拉流播放,在桌面浏览网页,或者文字滚动,总有2-3s的延迟,不知道什么原因?
另推流能否设置分辨率,如果4k的显示器,直接推4k比较浪费资源,推流接口能否暴露必要的参数,比如帧率,分辨率等常用的参数设置

@PHZ76
Copy link
Owner

PHZ76 commented Nov 3, 2020

你好,
延迟这个问题可以改成RTSP协议试试,我测试的时候延时在200ms以下的,RTMP没有测试过。
编码的分辨率设置我后续会增加接口。
我这段时间工作比较忙,等周日休息我会看看这些问题。

@vjeson
Copy link
Author

vjeson commented Nov 3, 2020

非常感谢,另外一个建议,是否使用硬件显卡加速也是可选,默认可以自动检测,如果有独立显卡,或者集成显卡支持gpu加速,默认启用,现在好像是不能自动检测判断,使用obs推流的时候,是默认使用gpu加速的

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