GithubHelp home page GithubHelp logo

wagnerdequeiroz / chrome.ipcamviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from firsttris/chrome.ipcamviewer

0.0 0.0 0.0 2.29 MB

:video_camera: Google Chrome IP-Camera Viewer Extension

License: MIT License

HTML 0.97% Vue 85.32% JavaScript 13.71%

chrome.ipcamviewer's Introduction

Google Chrome Ipcam Viewer Extension

Google Chrome IP-Camera Viewer Extension

ipcamviewer

Features

  • Stream JPEG Camera Sources Source
  • Camera-Presets
  • Multiview
  • Fullscreen
  • Export / Import JSON File

My Camera is not listed in the Presets?

Add your Camera to src/data/cameraModels.json and create a pull-request.

I will publish a new version with your camera model.

Generic Mode

When creating a new camera, don't select any model, simply enter your stream address.

Install

Go to Chrome Webstore

Development & Contribution

  1. Clone
  2. Install yarn: npm install -g yarn
  3. Run yarn
  4. Run npm run start
  5. Load your extension on Chrome following:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the build folder

MJPEG Support dropped

Render an MJPEG Stream or JPEG's in a HTML < img > tag with the credentials in the Stream URL is not possible due to Chrome security polices. My first approach was to use chrome.webrequest.onBeforeSendHeaders() to add the credentials to the authorization header of the HTTP request. I think this is not the best approach since you need to filter the requests of the addon (cameras) from all request the browser made. This requires the permission "browsingData" (be able to see all requests from the browser) which does no comply with data protection guidelines. So we have to use XML-HTTP-Requests (fetch) to be able to add credentials to the header. The only implementation i found was mjpeg-readale-stream. But it was not peformant enough for daily use. Their is very little information on how to fetch a mjpeg-readable stream and render it to an < img > tag.

If you can help me with this topic, dont hesitate to contact me.

Chrome-Extension Stack

License

See the LICENSE file for license rights and limitations (MIT).

chrome.ipcamviewer's People

Contributors

firsttris 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.