-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pause and resume screen mirroring using a shortcut #1632
Comments
Yes, why not. Would you like to work on it? |
Sure. I haven't worked with C in a while (although Java is no big deal for me) and due to increasing work and stress, it may take me a while before I understand the code enough to start working on the feature request. |
Basically, the texture must not be updated when pause is enabled: Lines 443 to 444 in 0870d86
Instead, if paused is enabled, the last |
Even simpler than holding the last frame you could keep a black frame till you continue i guess. Waiting on that feature as well. |
Just my 2 cents, probably disabling the streaming from the server could be more network/energy efficient |
Is there any progress on this? I'd really like this feature. I would, however veto @Zockerzimmer on the black frame: For me the primary use-cases would be using this to "extend" the screen of my tablet, i.e. scroll to a part in a pdf, freeze, scroll to a different part and still have the first part on my laptops screen. If @AlyMoh won't be doing it any time soon, maybe I could have a look at it? |
I like the use case. I implemented a shortcut to pause/unpause the display (MOD+Shift+p, because MOD+p was already used for POWER): #4748 It only impacts rendering, the device is still captured, the video stream transmitted to the device, and recorded (if recording is enabled). One benefit is that "unpausing" is instantaneous.
I'm very sorry, I read the message quickly from my phone, I liked the use case and implemented it. I did not read the message until the end, I would have let you implement it 😞 |
That was fast!
No problem, I think you've done a far better job than I would have done. 👍🏽 |
I've quickly tested it and I am convinced! Two things that could be discussed:
|
Thank you for your tests.
Bug. I disabled the shortcuts interacting with the device during pause, but forgot to disable mouse and keyboard 🤦 (I haven't tested intensively 😉)
MOD+space may conflict with other OS or Android shortcuts (e.g. to change the keyboard layout). |
Pause/unpause display on MOD+z and MOD+Shift+z. It only impacts rendering, the device is still captured, the video stream continues to be transmitted to the device and recorded (if recording is enabled). Fixes Genymobile#1632 <Genymobile#1632> PR Genymobile#4748 <Genymobile#4748>
Pause/unpause display on MOD+z and MOD+Shift+z. It only impacts rendering, the device is still captured, the video stream continues to be transmitted to the device and recorded (if recording is enabled). Fixes Genymobile#1632 <Genymobile#1632> PR Genymobile#4748 <Genymobile#4748>
Is your feature request related to a problem? Please describe.
Oftentimes, I find myself wanting to take a temporary screenshot of the tablet display to work with something I've written on my tablet, such as notes or annotations. However, it seems apparent to me that such a feature currently does not exist.
Describe the solution you'd like
It would be great if there was a shortcut that "freezes" the current display of the Android device, i.e. pauses mirroring. When entering the shortcut again, mirroring would be resumed.
Describe alternatives you've considered
As mentioned above, taking temporary screenshots seemed to be the most feasible, yet cumbersome, alternative. Soon enough, there's a bunch of clutter on disk due to the several screenshots that one could take for temporary use only to delete them afterwards, which is, quite frankly, a banal task.
Once could simply record whatever notes one may use, but this would not take into account any content that comes to mind after recording. Furthermore, the issue of removing the recording when done still stands analogously to deleting temporary screenshots.
Additional context
I'm not sure if additional context is warranted, as I believe the above explanation was pretty sufficient. However, further discussion on the matter is more than welcome. If this feature request has already been suggested before (despite my best efforts in looking for a similar one) then a link to it would be greatly appreciated.
The text was updated successfully, but these errors were encountered: