SquareCamera
SquareCamera copied to clipboard
Is it possible to add video support?
I'm making an app that needs to stream video captured via the camera. I tried doing it with camera_view.toImage()
-- but that only captures the background color... Is there any way to add support for video?
This feature will be awesome, I've also need this
@noodlesftw @RicardoJCP Interesting request, I'm not exactly sure how this would work. Any suggestions on how you'd like to consume the video? Admittedly I don't know too much about video streaming :)
I went with a native solution instead of using a proxy. What I tried to do with your plugin tho, is to grab each frame, compress it and write it to a file. But that didn't work since .toImage()
only captured the background color of the view.
@noodlesftw Ah yeah, that seems like an expensive task to run anyways on there (though I could be wrong). Mind pointing me in the direction of what you went with for a native solution? Just curious if it's something we can implement in here :)
@mikefogg I've changed an android module that only was able to take pictures, and add the 'startVideo' and 'stopVideo' methods, I don't know how to do this in iOS, but the purpose it's to record a simple video, in my case with the torch light always enabled, the feature that made me use your module was the embed view. I've tried to use this module https://github.com/k0sukey/TiCameraView, but I never got it to work
any news ?