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

[Bugfix] Fix encoder_name param while initialising Client #73

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

xiaokang00010
Copy link
Contributor

Situation:

I noticed that encoder_name arguments in constructor of scrcpy.Client has been broken since the update for supporting scrcpy 2.4. However, I have the requirement to force server to use h264 encoder and codec so as to make it work properly. Therefore, I make these changes.

Changes:

  1. Make encoder_name work again
  2. Add codec_name param to work with encoder_name
  3. Set encoder_name (default to OMX.google.h264.encoder), codec_name (default to h264)

1. Make `encoder_name` work again
2. Add `codec_name` param to work with encoder_name
]
print(commands)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably remove this

aentwist added a commit to aentwist/py-scrcpy-client that referenced this pull request Sep 7, 2024
aentwist added a commit to aentwist/py-scrcpy-client that referenced this pull request Sep 7, 2024
aentwist added a commit to aentwist/py-scrcpy-client that referenced this pull request Sep 7, 2024
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

Successfully merging this pull request may close these issues.

3 participants