GithubHelp home page GithubHelp logo

picam-viewer's Introduction

A simple Picam web viewer for HLS streams

Follow the Picam install for setting up an HLS stream on nginx.

Then, clone this repo into your nginx folder where you want to serve the web viewer.

cd /var/www/html
sudo git clone https://github.com/kamranayub/picam-viewer.git .

IMPORTANT: The . at the end is important!

Used by my guide on creating a RPi baby monitor.


Based on video.js and videojs-contrib-hls

picam-viewer's People

Contributors

dependabot[bot] avatar kamranayub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

picam-viewer's Issues

Audio Alerts

This is more of a feature request than an issue.

It would be really useful if there was anything visible that would respond to an increase in sound. Something like screen brightness increasing to get your attention.

I had a go at writing this myself for a pull request then quickly realised it is well beyond my abilities.

Microphone Error: Buffer overrun

I am getting a microphone error in my logs and the microphone isn't recording anything anymore. The error states:
Microphone Error: Buffer overrun
attempting to fix error

The microphone works and can be detected, I'm not sure what has happened or how to fix this, would appreciate some help!

Fatal Error

I think I'm doing something obvious wrong, when I run:
sudo git clone https://github.com/kamranayub/picam-viewer.git .

I get the following error:
fatal: destination path '.' already exists and is not an empty directory.

Any idea what I'm doing wrong?

Notification

Is there a way to detect movements and send a notification somehow to whatsapp / telegram / slack or email?
Maybe also activated by sound in addition to movements?

I've managed to get it working, but I guess the website still needs to be updated. It is still missing the information to change the root of ngnix to:
root /var/www/html/picam-viewer;

ufw ports

Does anyone know a tidy way of allowing the video stream through ufw? Without listing the individual user IPs?

Doesn't work BUT ...

... I think it's a problem from picam! The player doesn't play the HLS Stream from picam, but it plays other streams from the net. I tried also VLC, to see if I have some errors with my server; VLC has no problems to play the HLS Stream from picam. So the combination videojs-contrib-hls and picam doesn't work, perhaps someone can tell me why? Perhaps its a problem with the index.m3u8 generated from picam?

Packets ariving out of order cause Firefox tab to crash

Using Firefox 77.0.1 (64-bit) for Ubuntu 18.04
Picam-1.4.8-release

I occasionally get the following error in the script log, always accompanied by the tab crashing in firefox:
[mpegts @ 0x229aa60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 746732480 >= 746732352

Where should I be cloning the repo into?

Hi there, been following your guide and it is fantastic! Only thing I can't work out is what dir I should be cloning the repo into? I cloned it into ~/var/www/html and that didn't do anything, then I looked at etc/nginx/ and couldn't find /var/www/html there. So I'm a little confused as to where I should be putting it!

Any help would be greatly appreciated!

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.