Relative Content

Tag Archive for opencvpyqt5network-programmingudpudpclient

Is there solution to python not responding when using udp in pyqt gui

I have a gui application in which I am showing video using udp.If my udp_server.py is running it will start streaming camera video.
I was testing different functionalities and found multiple scenarios where my python is not responding issue occurs.
Everything works fine when connected for the first time but when i press stop udp button on app it stops showing video but when i again put ip and port it doesnot work. I have to re run the server file to again connect. it works fine. but during disconnecting and everything,if i press any button app stops working.
I am sharing my code too as I am new to network programming and pyqt.this is the code of udp_server.py