Skip to content

Latest commit

History

History
42 lines (26 loc) 路 1.01 KB

README.md

File metadata and controls

42 lines (26 loc) 路 1.01 KB

ssm

Simple Screen Mirror 馃捇鉁ㄢ湪鉁煐ワ笍
screen-mirroring-icon ssm

How to run

1. Install ssm package

  • pip install ssm-python

2. Create server.py & client.py

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()

3. Run

  1. server: python server.py

  2. client: python client.py

4. Stop

  • server: press ESC

  • client: kill process