AndreiMisiukevich / OpenTok-Xamarin.Forms

Vonage | TokBox | OpenTok: Video/Audio Chat library for Xamarin.Forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blurred video from back camera

pbalbino opened this issue · comments

Congratulations on the project.

I would like to know if it is possible to improve the focus on the video. I need to show a TV tag, but the camera is blurry.

For testing I'm using a Moto G7 Power 64GB 4GB OctaCore 1.8GHz 6.2 "12MP.

Hi, frankly speaking, I don't know. But I believe it depends on your device's camera quality.

please show how does it look and what do you want to achieve

please show how does it look and what do you want to achieve

The first image is from the app that uses opentok.
The second is from the camera app, both from the same smartphone, same scenario.
1
2

try to add

<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

inside your manifest file

Maybe your device doesn't support autofocus?

Can you try with another one?

try to add

<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

inside your manifest file

Well, I believe this won't help..

Anyway, can you try to add

<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
to manifest, then

<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Then let me know the result)

https://stackoverflow.com/questions/45585045/tokbox-video-publish-unfocused-android

Hm, parece que esse problema foi corrigido na 2.16.1

here I did not understand what I have to do, it seems that the link is broken

Talvez o seu dispositivo não suporte o foco automático?

Você pode tentar com outro?

tested in 3 so far and both are the same.

Talvez o seu dispositivo não suporte o foco automático?
Você pode tentar com outro?

tested in 3 so far and both are the same.

have you tried to set uses-feature ?

Anyway, can you try to add

<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
to manifest, then

<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Then let me know the result)

I tried the 2 options and it remains the same, unfocused

I can't tell you if the device I'm using has autofocus.

Talvez o seu dispositivo não suporte o foco automático?
Você pode tentar com outro?

tested in 3 so far and both are the same.

have you tried to set uses-feature ?

Yes, but I only tested it on 1 device (there was no change), as the others belong to my client. Tomorrow I will send the APK with the options for him to test on the other devices.

Talvez o seu dispositivo não suporte o foco automático?
Você pode tentar com outro?

tested in 3 so far and both are the same.

have you tried to set uses-feature ?

Yes, but I only tested it on 1 device (there was no change), as the others belong to my client. Tomorrow I will send the APK with the options for him to test on the other devices.

My client tested it on two other devices, but it remains unfocused.
vistoria_remota

Thanks

@pbalbino well, try v.1.2.3 please

@pbalbino well, try v.1.2.3 please

Now it looks good, see the difference in the image.

Do I keep any of these options?
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Screenshot_20200417-175827

What was the problem?

Thank you!