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

showing error when i am trying to run on android 10. error "some setting are not supported by your device" #84

Closed
TalhaManzoor opened this issue Aug 12, 2021 · 2 comments

Comments

@TalhaManzoor
Copy link

READ THIS BEFORE OPENING AN ISSUE:

  • Fill in all the information below.
  • Have a look at previously asked questions to see if your issue has been resolved.
  • Properly format your issue.
  • All issues should be asked in English.
  • Delete all the above before posting your issue

Describe the bug
A clear and concise description of what the bug is.

Log
Please provide a well formatted bug report (by adding 4 spaces before the log)

Can it be reproduced in demo app
Yes or no

HBRecorder version
for example 1.0.1

Device information

  • Make/model
  • SDK version

Screenshots
If applicable, add screenshots to help explain your problem.

@TalhaManzoor TalhaManzoor changed the title showing error when i am trying to run on android 10. showing error when i am trying to run on android 10. error "some setting are not supported by your device" Aug 12, 2021
@HBiSoft
Copy link
Owner

HBiSoft commented Aug 12, 2021

Please see Always fill in the issue template

@HBiSoft HBiSoft closed this as completed Aug 12, 2021
@khawajaetisam99
Copy link

Hi,
I came across the same issue.

After hours of debugging I came across the solution.

The problem is in the video encoder.
Try to set the video encoder in the file:
hbrecorder\src\main\java\com\hbisoft\hbrecorder\ScreenRecorderservice.java

from:
setvideoEncoderAsInt("DEFAULT");

to:
setvideoEncoderAsInt("H264");
(provided that H264 is supported on all devices and rest generate errors on few devices)

and issue will be resolved.

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

3 participants