NetrisTV / ws-scrcpy

Web client prototype for scrcpy.
MIT License
1.56k stars 304 forks source link

How to listen on the change of the screen when the screen is rotated #242

Open codematrixer opened 1 year ago

codematrixer commented 1 year ago

If I only use the scrcpy-server, and then use the jmuxer to decode on frontend, how will the frontend listen when the screen is rotated. Only when it listens, can the next step, such as reset jmuxer to make sure the screen display is normal

Looking forward to your reply. @drauggres

eaphone commented 11 months ago

listen the decoded message starts with scrcpy_initial...