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 服务器日志老是断开重连,error日志显示 too big message: xxxx disconnect ,deletestream,使用ffmpeg推流能正常腿 #135

Open
PeanutZhang opened this issue Feb 26, 2022 · 3 comments

Comments

@PeanutZhang
Copy link

使用屏幕推流时,老是断掉或推不上,rtmp服务器日志报下面错误,但使用ffmpeg 推电脑屏幕时没有错误日志, 猜想是mediacodec编码时 bytebuffer问题,请问这个怎么处理呀,大佬

2022/02/25 17:47:12 [info] 4360#3028: *32 too big message: 1048576, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:12 [info] 4360#3028: *32 disconnect, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:12 [info] 4360#3028: *32 deleteStream, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:15 [info] 4360#3028: *33 client connected '192.168.1.51'

@DyncEric
Copy link
Contributor

DyncEric commented Mar 7, 2022

已更新,验证看看

@ldhios
Copy link

ldhios commented Apr 21, 2022

还是有这个问题

@miniminiming
Copy link

向腾讯云直播推流时,总是中断; 看后台记录,先是no codec header before video data frame,然后触发RTMP单个帧大小超过配置允许的最大值。 感觉跟楼主的提的问题很像

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

4 participants