You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
@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
Activity
rjcpereira commentedon Aug 1, 2016
This feature will be awesome, I've also need this
mikefogg commentedon Aug 1, 2016
@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 :)
spaksa commentedon Aug 1, 2016
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.mikefogg commentedon Aug 1, 2016
@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 :)
rjcpereira commentedon Aug 2, 2016
@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
julien9999 commentedon Feb 6, 2018
any news ?