Skip to content

A small tool to stream Foscam IP cameras on the web

Notifications You must be signed in to change notification settings

BlueRidgeLabs/foscam_streamer

 
 

Repository files navigation

Foscam Streamer

A small tool to stream your Foscam IP camera on the web, plugin-free.

Testing

  • Set the FOSCAM_STREAM_URL environment variable (e.g. rtsp://user:pass@abcde.myfoscam.org:88/video).
  • Start the server with node index.js.
  • Open the test_client.html.

Watchdog

The watchdog will keep tailing the server log and restart the service if the log stops increasing in size (i.e. the camera is down).

  • python watchdog.py

Supervisor

It includes some supervisor configurations to run the server and the watchdog.

IMPORTANT: Make sure the absolute paths match your setup.

Todo

  • Absolute paths should be environment variables.
  • Ports and other constants should be environment variables. 😴

Credits

Notes

This repository includes a copy of node-rtsp-stream for my convenience (I keep tweaking some ffmpeg parameters).

About

A small tool to stream Foscam IP cameras on the web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 67.3%
  • Shell 11.5%
  • Python 7.7%
  • HTML 6.2%
  • JavaScript 3.8%
  • Dockerfile 3.5%