Skip to content
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

Adapt screen capture to future Android versions #4646

Closed
rom1v opened this issue Feb 4, 2024 · 3 comments
Closed

Adapt screen capture to future Android versions #4646

rom1v opened this issue Feb 4, 2024 · 3 comments
Labels

Comments

@rom1v
Copy link
Collaborator

rom1v commented Feb 4, 2024

In the future, we'll probably have to call IDisplayManager.setDisplayIdToMirror() (or not, to be investigated).

https://android.googlesource.com/platform/frameworks/base.git/+/1e8b7d543a63feb671ffef73064f414bbc85ba7b%5E%21/

@rom1v rom1v added the todo label Feb 4, 2024
@MemeCornucopia
Copy link

image
I think that is the case now

@MemeCornucopia
Copy link

I cant use it with android 14 beta. after upgrading this happened

@DerekWuYD
Copy link
Contributor

@rom1v
Provide the #4657 ,this is a workaround we use internally at Google.

rom1v pushed a commit that referenced this issue Feb 9, 2024
The method SurfaceControl.createDisplay() has been removed in AOSP.

Use DisplayManager to create a VirtualDisplay object instead.

Fixes #4646 <#4646>
Fixes #4656 <#4656>
PR #4657 <#4657>

Signed-off-by: Romain Vimont <rom@rom1v.com>
rom1v pushed a commit that referenced this issue Feb 9, 2024
The method SurfaceControl.createDisplay() has been removed in AOSP.

Use DisplayManager to create a VirtualDisplay object instead.

Fixes #4646 <#4646>
Fixes #4656 <#4656>
PR #4657 <#4657>

Signed-off-by: Romain Vimont <rom@rom1v.com>
@rom1v rom1v closed this as completed in be3f949 Mar 2, 2024
armm29393 added a commit to armm29393/scrcpy-root that referenced this issue May 24, 2024
scrcpy v2.4

Changes since v2.3.1:
 - Add UHID keyboard and mouse support (Genymobile#4473)
 - Simulate tilt multitouch by pressing Shift (Genymobile#4529)
 - Add rotation support for non-default display (Genymobile#4698)
 - Improve audio player (Genymobile#4572)
 - Adapt to display API changes in Android 15 (Genymobile#4646, Genymobile#4656, Genymobile#4657)
 - Adapt audio workarounds to Android 14 (Genymobile#4492)
 - Fix clipboard for IQOO devices on Android 14 (Genymobile#4492, Genymobile#4589, Genymobile#4703)
 - Fix integer overflow for audio packet duration (Genymobile#4536)
 - Rework cleanup (Genymobile#4649)
 - Upgrade FFmpeg to 6.1.1 in Windows releases (Genymobile#4713)
 - Upgrade libusb to 1.0.27 in Windows releases (Genymobile#4713)
 - Various technical fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants