Code Monkey home page Code Monkey logo

simple-cam-viewer's Introduction

Simple camera viewer

A single HTML page that allows you to view and pan the image of a remote Foscam IP camera.

Note: This is a quick and dirty solution that works as-is. Not rocket science at all.

Usage

Download the index.html file and open it in your browser locally. Or upload it to your webserver, so it can be available anytime for you.

Features

Functional:

  • Viewing and refreshing the current image of the remote Foscam IP camera.
  • Moving the camera left, right, up and down (pan).
  • Moving the camera to the Home position.
  • Calculating the Stream URL to open it in external application (e.g. VLC).

Technical:

  • Complete implementation in one HTML file (downloads additional third-party styles and libraries from CDNs).
  • Material Design with Materialize.
  • Saving the connection parameter to the browser's local storage (except password), and cleared on demand.
  • Responsive layout works on mobile.

Privacy

This page requires you to specify the host name and port to connect, and the user name and password to log in to the remote IP camera. When you click the Connect & Save button the host name, the port and the user name are saved to the browser's storage without any encryption. Note that the password is never saved, you have to enter it manually every time you open this page. Click the Disconnect & Clear button to delete the connection parameters from the browser's storage.

The Foscam camera I used to test this page has an invalid TLS certificate (with expired CA certificate), and the vendor does not provide an updated firmware. Although I can configure my browser (I used Firefox for this) to ignore the invalid HTTPS certificate, it does not protect from malicious third parties eavesdropping on the network.

Screenshots

Settings tab

Image tab

Stream tab

About the author

This project is maintaned by György Balássy.

simple-cam-viewer's People

Contributors

balassy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.