Closed osloma closed 2 years ago
@osloma thank you for the information. We'll debug this and let you know what is going wrong
@vivekverma2312 can you ask someone to test on an android phone?
It is broken in iphone for sure.
Stat | Values |
---|---|
Reach | 127 |
Effort (months) | 0.5 |
Found a set of issues Apple devices -
Android devices -
Enhancements
Slack discussion thread - https://theappsmith.slack.com/archives/C02JV8G1MP0/p1653567793725609 Library issue - https://github.com/mozmorris/react-webcam/issues/57
@techbhavin please start triaging all the blockers mentioned first and leave a comment on if all these blockers can be fixed or not. If you need any help with devices, do reach out to me or @vivekverma2312
Here's the sample app - https://app.appsmith.com/app/untitled-application-5/page1-628f70677901344ba8d2e7cb
@dilippitchika updated noted of blocker issue
Apple Devices:
Android Device :
Regarding
Android Device : can we change the tooltip position to the right? or do we have any approach? Why is the tooltip staying open, is there a reason for it? Tooltip should only open when we have clicked on it right?
Low resolution of the image leading to hazy images for app developers -- Please talk to ashit once, he can show this to you
Scope:
@techbhavin @vivekverma2312
Why is the tooltip staying open, is there a reason for it? The tooltip should only open when we have clicked on it right?
here is the library issue tooltip working fine with a click but there is an issue while touching. @dilippitchika
@techbhavin Couple of observations here while Testing camera widget on Android Device:
When we switch the camera and click to Take Photo/Video, camera widgets breaks until browser refresh. https://images.zenhubusercontent.com/275993885/3d34f410-2975-4f23-8cb7-4b584a1e5443/screenrecorder_2022_06_23_13_37_45_389_0_.mp4
Tooltip blocks the camera/Recorder click button when we exit fullscreen mode
Camera names in the dropdown are weird, names must be simple
@techbhavin what is the suggestion regarding tooltip and fullscreen library? I thought there was a discussion around it.
@dilippitchika
about the tooltip and fullscreen
For the tooltip,it is standard behavior with a Mobile Device. here tooltip is visible with long touch and when we touch again on anywhere on the screen it will hide again. At the moment we don’t have any alternative solutions for this.
In full-screen mode, we can’t switch the camera because the popover is not visible. so instead of adding a popover to change the camera can we add a standard round icon for the swap camera? like below-attached image
I'll answer 2 first, if we can detect which is front camera and which is back then yes we can add this icon. The problem I currently think is we don't have a way to do that, please correct me if I am wrong @techbhavin.
You may think it may not matter but the problem is if you have 3 cameras on your laptop. Maybe we can still use an icon here but it should be a different camera icon which changes the camera. This way we can get rid of tooltip completely.
Regarding fullscreen, can we just remove that functionality for now?
Agree with your point @dilippitchika,
Yes, we can remove fullscreen but can we do a similar like webcamera to show list of available camera
and Currently, we have a tooltip on capture and a fullscreen icon so can we remove this tooltip?
but can we do a similar like webcamera to show list of available camera
Are you referring to how it shows the settings? If so, then we can proceed from a product standpoint, but i thought there is a tech limitation.
and Currently, we have a tooltip on capture and a fullscreen icon so can we remove this tooltip
Yes we can remove this for now
@vivekverma2312 @chandannkumar let's discuss this issue once on a call, i believe this needs a small discussion to align and decide if we need more issues created from this issue.
@techbhavin On ios it's almost impossible to use camera widget
ios:15.5
@techbhavin A Observation related to picture quality cc: @dilippitchika
Moving this issue to in progress due to blockers and callouts. There is also a merge conflict in this PR
As per our discussion,
@dilippitchika
@chandannkumar @vivekverma2312
@techbhavin we can add another icon if needed, which turns on/off camera and one which changes cameras.
@chandannkumar @vivekverma2312
Observation: While recording a video from from front camera as soon as i switch camera to rear, the video stops recording and saves automatically but the recording timer is still continues on camera widget.
@techbhavin Not sure about the video recording stops automatically on switching camera is a bug or an expected behavior
@chandannkumar
@techbhavin On ios when my mic is disabled and I record a video the sound is getting recorded.
For now, we are removing the video/audio mute buttons for ios devices because of an issue with the Safari browser. whenever we get the solution for that at that time we fix that.
@chandannkumar @vivekverma2312
cc: @dilippitchika @somangshu
Is there an existing issue for this?
Summary
We can see that when Appsmith is run on an Android, pictures are not having all the quality than the camera on the phone can capture. Also, using iPhone, pictures taken are only a completely black image where nothing can be seen
Why should this be worked on?
The use case for this is to capture pictures of documentation (like bills, receipts, etc.) that should be in a resolution that can be read easily. In our case, we are storing the pictures in Cloudinary but pictures have reduced size (around 350x350 pixels) that make them very hard to read their content (letters cannot be read easily). We have tried to change the resolution of the camera on the phones with no result
So far we are finding:
The goal will be to be able to select the resolution required on the picture before it's taken. It could be done either from the widget (more preferred way) or from the running camera on the application.
Thank you so much!