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

v2.2.1 with rk3588 docker redroid cannot connect - encoder config issue #962

Open
XZhouQD opened this issue Apr 25, 2024 · 0 comments
Open

Comments

@XZhouQD
Copy link

XZhouQD commented Apr 25, 2024

Hi dev,

Environment: Windows 11
Version: v2.2.1
Issue:
When connecting to RK3588 redroid container, QtScrcpy detected it is a Rockchip CPU and use the c2.rk.avc.encoder by default and ignored the Codec config in config.ini. However, some container here need OMX.google.h264.encoder to connect correctly.

It gives:

AdbProcessImpl::out:[server] DEBUG: Using video encoder: 'c2.rk.avc.encoder'
AdbProcessImpl::error:[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] ERROR: Encoding error: java.lang.IllegalStateException: null

and it ignores the following config in config.ini:

CodecName="OMX.google.h264.encoder"

Expected behavior:
Recognize what I put in config.ini to use OMX.google.h264.encoder like v2.1.2 instead of always goes to c2.rk.avc.encoder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant