bourdakos1 / ring-streamer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ring Streamer

Get a video stream from a Ring device.

Setup

Install the dependencies:

npm install

Add your Ring credentials to a .env file:

RING_EMAIL=myemail123@gmail.com
RING_PASSWORD=password123

Replace CAMERA_TO_STREAM in main.js with the camera name that you want to stream.

Usage

Run the main.js to get streaming data outputted to a file named output.h264:

node main.js

Convert output.h264 to an mp4 for viewing:

ffmpeg -i output.h264 output.mp4

About


Languages

Language:JavaScript 100.0%