lanikai / alohacam Goto Github PK
View Code? Open in Web Editor NEWAlohacam Beta
Alohacam Beta
Everything works fine when I'm connected to the same network (browser in laptop and camera in the raspberry pi).
But I tried the following: left alohacam
running in the background and then switched the laptop wifi to an external one (used my mobile 4G as hotspot). With this setup, the stream does not work. After connecting, it only shows the first frame and then it gets frozen.
If I switch back the laptop wifi to the local network and connect, it starts to work ok.
I'm using Rasp 4 with:
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Not able to connect. I got this error:
pi@raspberrypi:~ $ curl -fsSL https://get.alohacam.io | TOKEN=GV015BWC bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1620k 100 1620k 0 0 675k 0 0:00:02 0:00:02 --:--:-- 849k
Loading camera driver (requires sudo)
๐ Alohacam 0.1.6
Copyright 2019 Lanikai Labs LLC. All rights reserved.
2019/10/27 16:53:13.691711 main.go:71: Local video: 1280x720 H264
E/libmqtt NET connection broken, server = mqtt.alohacam.io:8883 err = EOF
E/libmqtt CLI connect failed, err = CONNACK failure: 4 server = mqtt.alohacam.io:8883 failure count = 1
E/libmqtt NET exit send handler for server = mqtt.alohacam.io:8883
E/libmqtt CLI reconnecting to server = mqtt.alohacam.io:8883 delay = 5s
E/libmqtt NET exit recv handler for server = mqtt.alohacam.io:8883
E/libmqtt NET connection broken, server = mqtt.alohacam.io:8883 err = EOF
E/libmqtt NET exit recv handler for server = mqtt.alohacam.io:8883
E/libmqtt NET exit send handler for server = mqtt.alohacam.io:8883
E/libmqtt CLI connect failed, err = CONNACK failure: 4 server = mqtt.alohacam.io:8883 failure count = 2
E/libmqtt CLI reconnecting to server = mqtt.alohacam.io:8883 delay = 7.5s
E/libmqtt NET connection broken, server = mqtt.alohacam.io:8883 err = EOF
E/libmqtt NET exit recv handler for server = mqtt.alohacam.io:8883
E/libmqtt CLI connect failed, err = CONNACK failure: 4 server = mqtt.alohacam.io:8883 failure count = 3
E/libmqtt CLI reconnecting to server = mqtt.alohacam.io:8883 delay = 11.25s
2019-10-27 16:53:28.088 W/signaling[session.go:60] Signaling listener failed: CONNACK failure: 4
I'm using a Raspberry 4 with
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.