Skip to content

Is it possible to add video support? #31

Open

Description

@spaksa

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?

Activity

  1. rjcpereira commented on Aug 1, 2016

    @rjcpereira

    This feature will be awesome, I've also need this

  2. mikefogg commented on Aug 1, 2016

    @mikefogg
    Owner

    @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 :)

  3. spaksa commented on Aug 1, 2016

    @spaksa
    Author

    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.

  4. mikefogg commented on Aug 1, 2016

    @mikefogg
    Owner

    @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 :)

  5. rjcpereira commented on Aug 2, 2016

    @rjcpereira

    @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

  6. julien9999 commented on Feb 6, 2018

    @julien9999

    any news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions