Jami for Android TV didn't support the 1440p Quad HD quality option until it was added as per the #1103 (closed) request.
However, testing that new resolution doesn't seem to work, the preview window at the bottom right appears white and the video stream in the other party appears black.
I tested the other quality options (480p, 720p, 1080p) and they worked correctly, it's important to clarify that in order to make them work, I had to test them one by one by exiting the app, force stop it and then reopen it.
Please specify the following:
Jami version: 20220906-01
Device model: Mecool KM2 Plus.
Android version: The device has Android 11, I'm not sure if this works correctly on previous Android versions.
What build you are using: Play Store.
Steps to reproduce
Can you reproduce the bug: At will.
Steps:
Select the desired quality option by going to settings -> video resolution -> 1440p Quad HD.
2. Exit the app.
3. Go to android settings, look for the app and force stop it.
4. Go back to Jami.
5. Make a video call.
Actual result: The bottom right appears white and the video stream in the other party appears black.
Expected result: The bottom right should appears show a video preview and the video stream in the other party should output the video correctly.
Additional information:
The preview camera that appears at the bottom of the UI is constant and fluid but I assume it's in the 720p quality.
I think Android 10 is the reason why you only see 480p and 720p, I have another device with Android 10 and I also see only those two qualities, I wonder if this is the same with Android 9.
However, I believe Jami devs must also limit the app to support the resolutions a given device can handle, and the reason why I believe that is because in my case with the Mecool KM2 Plus with Android 11, 1440p is not working because the device doesn't seem capable of handling that resolution, so the app should also limit the resolution options according to the capabilities of the device.
You can use any webcam you want of course, but the resolution will still be limited to what the device can handle.
It would be limited to 720p either?
That's what it seems on Android 10 but on Android 11 I am able to see all the resolutions my webcam support, but like I said above, Jami should also limit the resolutions the device can handle, on my tests with 1080p I noticed it lags noticeable so I guess it's safe to use 720p instead, besides that, it should also auto adapt to the internet speed, I think it currently works based on the resolution we choose instead of adapting the quality to the speed of the internet, that's why I always notice that the video gets pixelated or degraded.
on my tests with 1080p I noticed it lags noticeable so I guess it's safe to use 720p instead
Not sure if it's because of AndroidTV ... I also noticed a video lag on Windows 10 if I used 1080p (jami-client-qt#831) ... unless I use a virtual camera
One question (I never used AndroidTV...just Android smartphones and tablets): Can you also enable or disable hardware acceleration on AndroidTV if you use an external webcam?
I think that one developer responded that he can't reproduce a pixelated video (hardware acceleration on/off).
But I always reproduced if I was using Android devices (smartphone and tablet)
Could it be that the reason why 1080p lags?
Not sure why it lags on AndroidTV ... but Jami on Windows 10 did always lag if I was using a "real" camera with a 1080p resolution (even if I disabled hardware acceleration) and a 720p screen.
But I did not had any lag if I was using the same "real" webcam and OBS. So I selected "OBS-VirtualCam" (still 1080p) and did not have any lag (hardware acceleration disabled)? (jami-client-qt#831 (comment 37581))
When it comes to Jami on Windows 10 hardware acceleration on/off did change the video lag?
But I never used AndroidTV ... so I actually don't know
One question: Do you also have Android devices (NOT Android-TV)? So you can test if you also get a video lag and/or a pixelated video if you choose a resolution higher than 720p and/or enable/disable hardware acceleration?
Because if yes we might know one reason why you get such issues if you are using AndroidTV ...
But you are right. Now I have up to 4K. And the camera only supports 1080p.and in don't think I see a difference in quality now that I am capable to put quality up.
I was wrong when I said there wasn't a hardware acceleration option on Android TV, it's just that the name is different.
I see that when you turn it OFF you get all the resolutions available but that doesn't mean you'll get 4K with a 1080p camera, it's software acceleration or encoding what we get when the option is OFF, it will skip frames though (the word wasn't "lag" when I meant that it wasn't fluid but it lags when the video arrives to the other party)
Thanks for your tests. If you disable hardware acceleration do you get a pixelated video more often? And worse?
(Because I get a pixelated video but not often - just a few seconds- if I enable hardware acceleration - if I disable hardware acceleration I always get a pixelated video - as long as I make the call)
Do you also have Android devices (NOT Android-TV)? So you can test if you also get a video lag and/or a pixelated video if you choose a resolution higher than 720p and/or enable/disable hardware acceleration?
Yes, I obviously have an Android phone but I don't use Jami there, I only use it on Android TV, I've been testing Jami with Windows 11 vs Android TV, however, I installed it on my phone to run some tests and this is what I found:
The app detects up to 4K for the built-in camera, therefore:
4K: The video stream sent to my android TV device skip frames and is pixelated at times.
1440p: For some reason the aspect ratio gets limited to 4:3 and pixelated at times.
1080p: The video stream sent to my android TV device doesn't skip frames but it gets frequently pixelated.
On Android TV I just selected 720p to be sent to the phone and it never skip frames but it gets pixelated at times.
It's important to clarify that I used hardware acceleration only.
There is a noticeable lag for the time it takes for the video to arrive to the other end which I believe it's normal.
All tests led me to find out that on my phone the best quality to choose is 1080p and on Android TV the best quality to choose is 720p, which means, Jami MUST hide the video qualities that are not handle very well by them.
One thing devs must verify is why 1440p is sent with a 4:3 aspect ratio.
One thing I also noticed is that when I select 1080p on Android TV and make the call to my phone the video sometimes doesn't skip frames but it always skip frames when doing the call on my computer, I think it's something that happened to you as well, right @El4 ?
I didn't notice but I'll try out ... at the moment the newer and newest version(s) of Jami on Windows 10 crash if you make a video call with hardware acceleration enabled (Android) jami-client-qt#763 (comment 37571)
So it might take some time ... I hope the developers will fix these bugs soon
I'm not sure but I think that Android 10 is doing correctly what Android 11 isn't about limiting the resolutions the device can handle, what I did to verify that is:
I first unplugged the camera from the Android TV 10 device and force stop Jami.
Opened Jami and went to the "video resolution" section and noticed that all the qualities up to 4K were there which is normal because no camera was plugged.
Then I exit Jami again, reconnected the camera and force stop Jami once again.
When I went to the "video resolution" section, I noticed that only 480p and 720p were available, which means, Jami is not only detecting the supported resolutions of the camera but it also limited the resolutions the device can handle.
Richard Brancheschanged the descriptionCompare with previous version
changed the description
Richard Brancheschanged title from 1440p Quad HD resolution is not working on Android TV to [Feature Request] Make Jami to limit the available video resolutions a given device can handle
changed title from 1440p Quad HD resolution is not working on Android TV to [Feature Request] Make Jami to limit the available video resolutions a given device can handle
Richard Brancheschanged title from [Feature Request] Make Jami to limit the available video resolutions a given device can handle to 1080p, 1440p and 4K video issues on Android TV
changed title from [Feature Request] Make Jami to limit the available video resolutions a given device can handle to 1080p, 1440p and 4K video issues on Android TV
Hello everyone, I was finally able to verify what is going on here:
Let's just blame Android 11, it's the worst Android version I've ever used in some aspects.
One of those aspects is how it makes the Jami app to show video resolutions a webcam supports instead of putting a limit on what resolutions a given Android TV or Google TV device can handle, which is something that Android 10 does on the Nokia 8000 owned by @POIZ87
Android 10 lets the Jami app to show the real resolutions a device can handle, however, Android 11 just shows all the resolutions a webcam can handle but it doesn't limit what a device in particular can handle, that's why 1440p doesn't work on my device according to my tests.
Meanwhile, I was able to test the Jami app on the new Onn 2023 which sports Android 12 and this version has fixed what Android 11 should have done which is the same Android 10 has been doing correctly: to make the Jami app to show the video resolutions a device can handle.
Therefore, I believe this bug report can be closed because Jami devs won't be able to do anything about it, It's just an issue on Android 11 that Google WILL NEVER FIX, but I would like some confirmation from anyone with an Android TV or Google TV device with Android 12 to be sure I am correct about this.
OK correct me if I'm wrong. But all of them have no usb input? Just hdmi out and power supply in. No chance to set a camera like a Logitech Streamcam. So I'll wait to the next nokia box or nokia box update^^
So I am now able to clarify any doubts or confusions about what resolutions are supported on some Android TV or Google TV devices:
Devices with the Amlogic S905X4 SoC are able to handle a resolution of up to 1080p when the camera only supports MJPEG, I imagine that with a h.264 camera higher resolutions could be supported.
Devices with the Amlogic S905Y4 SoC are able to handle a resolution of up to 720p when the camera only supports MJPEG, I imagine that with a h.264 camera higher resolutions could be supported.
I believe all Android versions are reporting the maximum resolution handled by a given device EXCEPT ANDROID 11, which is erroneously reporting a maximum of 4K when it's not true, that's why my webcam with a resolution of 1440p is not working on my devices with Android 11 but it works at a maximum of 1080p so I have to manually select that resolution regardless if 1440p and 2160p are shown there.
I only can confirm this from devices with the S905X4 and S905Y4 SoCs, I ignore what previous versions support but I guess it could be the same or up to 720p. I also ignore what resolution are supported on some Smart TVs with the Android TV or Google TV OS since I believe not all use the same Amlogic SoCs.
Take into account that this is when using hardware acceleration because when the option os OFF all available resolutions appears and you already know that stutter may happen if we choose a resolution the device can't handle.
Also, when selecting the highest quality (in this case 1080p) the image takes several seconds to appear, which makes me believe the app still doesn't auto adapt to the internet speed I guess?
One of my devices (Homatics Box R 4K Plus) was updated to Android 12 in beta (I'm a beta tester) and now the video resolutions are limited to 720p when this device supports up to 1080p, I was expecting to see the 1080p option available in the list.
Hey @POIZ87 there is an Android 12 update rolling out for the Nokia 8000 box you have, can you please confirm what you see in the video quality section after you update?, make sure that you have the hardware acceleration option turned ON.
I believe this is not really an issue but the way how those "underpowered" Android for TV devices work, the 720p quality is actually the best option for those devices and I was able to confirm it with a camera app called "nExt Camera" (https://play.google.com/store/apps/details?id=pl.nextcamera) where I always see a notification at the top right stating that the device is slow for the quality I selected (1080p and higher) so when I selected 720p the notification never showed up.