131 / h264-live-player

A live h264 player for the browser (ideal for raspberrypi / raspicam )
MIT License
1.08k stars 251 forks source link

FAILURE 70 #65

Closed root-hal9000 closed 6 years ago

root-hal9000 commented 6 years ago

Hello, thanks for this project. Sadly, I only got it to work once, but the latency was amazing!!

So, when I run sudo node server-rpi.js the webpage is served fine, but when I click start video, I see the following error in the console and nothing happens: Incomming action 'REQUESTSTREAM' raspivid -t 0 -o - -w 960 -h 540 -fps 12 Failure 70

now, I got it working once by running this command I found in issue #40 and also running server-rpi on another ssh terminal. The raspivid command says it was serving on port 5001, and the video played fine on 8080. Sadly, I wasn't able to reproduce this brief success. Any tips? raspivid -t 0 -o - -w 960 -h 540 -fps 25 -pf baseline | nc -k -l -v 5001

I am obviously missing some basics here... any help is appreciated

root-hal9000 commented 6 years ago

Ok, got working inconsistently, then started everything again on a fresh install and it started working fine on just server-rpi.js - thanks for the great project!