Genymobile / Genymobile/scrcpy

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

Open
#3,605 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

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

I refer to this [issue](https://github.com/Genymobile/scrcpy/issues/925), but didn't find the answer.

Looking forward to your reply. @rom1v

Contributor guide

No contributing guide indexed for this repository

Research direction

The payload names scrcpy-server, jmuxer, and issue #925; begin by reviewing that issue and the server/frontend integration point for rotation notifications. Done means identifying a documented rotation signal the frontend can listen for and the condition under which jmuxer should be reset.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
backend, mobile-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.