Skip to content
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

Feature: Direct upload to FTP/HTTP #32

Open
jpbarraca opened this issue Jul 1, 2018 · 0 comments
Open

Feature: Direct upload to FTP/HTTP #32

jpbarraca opened this issue Jul 1, 2018 · 0 comments

Comments

@jpbarraca
Copy link

The v4l2rtspserver currently saves images to SDCARD, which can be processed by using a script.
As many other cameras do, direct upload to a remote server could be an interesting feature.
This can be can be achieved by using a script as an hook, which is called after the file is saved. The inconvenient is that the card will be written (frequently?), degrading its life expectancy.
Alternatives, that I can think of are:

  • mounting the DCIM folder using TMPFS and then upload the image: works out of the box but will consume a chunk of RAM.
  • added support for direct upload in the code (using libcurl?), in a separated thread: adds a dependency to the server, but streamlines the process, while possibly taking much less resources.

Is there a opinion regarding such feature, and how to proceed with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant