Git Product home page Git Product logo

camera-streamer's Introduction

camera-streamer

Starling Developer Connect API: Nest Camera Web Streamer Example. Demonstrates connecting to the SDC API, and displaying live streams of all your cameras. (The SDC streaming API supports 2021 model cameras only.)

This example is compatible with Chrome and Safari (desktop and mobile), but at this time it does not work with Firefox on desktop, due to incompatibilities between the WebRTC implementations of Firefox and the Nest cameras.

Requires a Starling Home Hub with firmware 10.0 or above.

Create an SDC API key for this app

  1. Go to setup.starlinghome.io in your browser
  2. Go to the Starling Developer Connect section, and make sure the HTTP server is enabled
  3. Press Create New API Key, and give your key Read and Camera permissions

Build and Run

  1. git clone https://github.com/starling-home-hub/camera-streamer.git
  2. cd camera-streamer
  3. npm install
  4. Edit src/components/Streamer.vue, and add your hub's IP address and API key
  5. npm run serve
  6. Open a web browser, go to http://localhost:8080 and enjoy!

Output

The web app shows a grid of all connected Nest cameras, with live video and audio.

camera-streamer's People

Contributors

adriancable avatar starling-home-hub 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.