chrippa / python-librtmp

python-librtmp is a RTMP client library. It uses the implementation provided by librtmp via cffi.
BSD 2-Clause "Simplified" License
153 stars 33 forks source link

Hang forever in RTMP_write #34

Open xiaolongshi opened 6 years ago

xiaolongshi commented 6 years ago

Hi chrippa, Thanks for your work on developing this great project. I am a developer from China. Recently, I am using python-flashmedia to read flv file and push the stream to RTMP server using python-librtmp. The work could be done with these two. While in some cases, the RTMP_write is hanging forever. I try to debug the reason why the issue happened. I found the tcp state is close_wait. And the RTMP is still writing to the socket without any error. Do you have any idea to solve this kind of issue?

Thanks in advance.

wanggaolin commented 4 years ago

你好,你是怎么将flv发送到rtmp服务器的?可以分享下代码吗

KASDmusic commented 1 year ago

I'm looking for the same awnser !