screen sharing in python
问题 Hi I'm stuck and I did not find anything helpful on the internet. I'm trying to make a screen-sharing program in python. The problem is that I can't send the screen in at least 24 fps, because when I take a screenshot with PIL (ImageGrab), something delays there. my client will get the picture (screenshot) from the server and "blit" it to the screen using pygame. Server: # -*- coding: utf-8 -*- import socket import os import threading from PIL import ImageGrab def RetrFile(name, sock): while