-
Notifications
You must be signed in to change notification settings - Fork 31
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
essential: Fixes Preview Frames on Android #30
base: main
Are you sure you want to change the base?
Conversation
width and height was already set as pixel values but for some reason x and y were ignored and therefore used as is.
Another weird bugfix: width and height was already set as pixel values but for some reason x and y were ignored and therefore used as is. 4c8fc9c fixes this x and y positioning bug for android. |
@AdaLollA your code works and makes the Camera view appearing over my app on Android, but it ignores the |
@Luca8991 hey there, i might have to look into this, maybe it is a quickfix. To be honest tho we dropped this library / feature because the original authors were in no way responding to any of our pull requests and / or issues. you would definetly be better off looking for another package. that being said i might still look into it to get the things you mention fixed. but don't get your hopes up too much - it has been some time... |
@AdaLollA I looked around for other packages but I didn't find anything that does the work (as simply as) this plugin does. Did you? P.S. Have you considered going on with the development on your fork? This plugin has a great potential also because of its simplicity of use, it would be a shame if it wasn't maintained anymore. |
@Luca8991 Yeah we didn't find anything else that looked much promising either. It wasn't a necessity to begin with to be frank. Since it has been like half a year since i last checked anything about the project i assumed that there was more progress on other forks out there already. If that isn't the case i might want to really look into getting this code going again. On the other hand, if there is no need for development / progress on this package i would no longer develop it - i don't use it personally or commercially. So i don't have any horse in the race as far as this codebase goes. |
Only this fork seems to have had some relevant activity, but until June 2020, which is before your last activity... |
@Luca8991 just checked about the borderRadius property and the camera distortion:
An example for a non-distorted preview frame:
Furthermore: it seems that https://github.com/triniwiz/fancycamera is the code base behind the plugin. Here is again no notice of any border radius. This points to a lot of work if you want that feature to get implemented into this package. I also can not see any sort of fix for the distortion effect within that package. Didn't spend much time on it tho to be fair. Hope that helps, if you have any more questions or other feature requests for this plugin let me know. If they are possible i might include them. |
Another problem I see is that, after initializing the VideoRecorder, this message:
keeps logging at a very high rate, even after calling |
@AdaLollA what I was aiming to recreate in my app is a feature similar to the Video messages of Telegram, especially the recording interface, but I think this could not be done with this plugin yet... |
Just checked the code for this. This is something i might be able to fix. But as you said - the plugin has many other issues that would also have to be fixed to work for your specific stylized use case. |
closes #27 by dereferencing the stored preview frame configurations and actually applying them when necessary. Without this code there is no "stackPosition":"front" possible. Imo this is essential functionality.