pip install ssm-python
- sample codes here
server:
from ssm import ScreenMirrorServer
# ssm_server = ScreenMirrorServer(['<client-ip>', port=7890])
ssm_server = ScreenMirrorServer() # default: all ip & 7890 port
ssm_server.start()
client:
from ssm import ScreenMirrorClient
ssm_client = ScreenMirrorClient('<server-ip>'[, port=7890, quality=90, cursor=True])
ssm_client.start()
-
server:
python server.py
-
client:
python client.py
-
server:
press ESC
-
client:
kill process