简体   繁体   中英

RTMP Connection Timeout in Python

we created a RTMP server using NGINX and have a camera that is streaming video to that server. We have a python program that should connect to the RTMP server and then display the video on the computer. When we run the program we keep getting the below error:

RTMP_Connect0, failed to connect socket. 110 (Connection timed out)

I found a RTMP url on that was used for testing the code and it works but our RTMP server doesnt. Does anyone know of any settings that need to be set to be able to get passed this error?

首先,我将检查您的防火墙,需要打开TCP端口1935。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM