-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server-tcp.js doesn't show any video #40
Comments
Hi, can't say that I'm an expert, but please try to start raspivid with profile -pf parameter added like this: pi@raspberrypi:~ $ raspivid -t 0 -o - -w 960 -h 540 -fps 25 -pf baseline | nc -k -l -v 5001 At least this worked for me. Also I noticed that if I use any other resolution than 960x540 if fails to show a video. So try to use 960x540 at lease for the first time |
I was having the same problems but managed to sort it. I tinkered with the code also have you installed or updated the websocet? Try sudo install wc |
server-rpi.js works fine, when run on the RasPi. So I know my browser (latest Firefox) and camera are fine.
I've amended the IP address in server-tcp.js but it doesn't show any video.
On the desktop I get:
and on the Pi, just:
I've also tried the following on the Pi, which confirms the desktop has connected to the Pi:
I have used wirehark, and that shows traffic flowing from pi:5001 to the server and sever:8080 traffic to the desktop. So the data is getting to the browser, but it is not being displayed.
This is odd, because the same browser happily shows video from server-rpi.js, running on the Pi.
What have I failed to understand?
The text was updated successfully, but these errors were encountered: