GithubHelp home page GithubHelp logo

alohacam's Introduction

🌈Alohacam

AlohaCam FAQs

What is Alohacam?

Alohacam is a video streaming solution for embedded devices, powered by our WebRTC native library – AlohaRTC.

Who built this?

The awesome team over at Lanikai Labs. You can check us out here!

How do I sign up for Alohacam?

Just click here and then click "Create an account". It's as easy as that!

What development boards are currently supported?

Alohacam currently supports all Raspberry Pi development boards. We'll let you know as we release support for more development boards (looking at you, Jetson Nano!) – so stay tuned.

Who can view my Alohacam?

Short answer: Security is our top priority. Alohacam uses WebRTC, and the entire interaction is encrypted. This means that (unlike some IoT solutions) only you can view your Alohacam!

Longer answer: We use client side SSL/TLS encryption. The Alohacam install script will auto-generate a certificate for your device. This certificate never leaves your device – we don't store it or have access to it – and you can even use your own. When a connection to your device is initiated, your browser will create a dynamic certificate (through DHE key exchange) that is valid only for that session. Both certificates use X.509 standards. We designed these security measures to ensure that only you will be able to view your Alohacam!

Is this MJPEG or H.264?

Alohacam is powered by a WebRTC native library. The video you're seeing is from the hardware-accelerated H.264 byte-stream.

What are the bandwidth requirements?

By using WebRTC to power Alohacam, we have brought the required bandwidth down to about 1MB/s.

How many people can view Alohacam simultaneously?

Alohacam supports a single viewer at a time, but we're looking into multi-viewer support!

How do I get started?

You'll need a Raspberry Pi development kit, a Raspberry Pi camera module, a real email address, and a sense of adventure! You can sign up for Alohacam here and view the step-by-step guide here.

This is so awesome! Can you send me the code?

We're glad you like Alohacam! We're not planning a public release of our code base, but you can check out our documentation (and run a local network analysis!) to see how we've built it.

I have a feature request!

Excellent – we can't wait to hear it! Send us a note at [email protected]!

Help! I can't get this to work!

Here's a step-by-step guide to walk you through the setup process. If you're still running into issues, shoot us an email at [email protected]!

I accidentally deleted my device and can't re-add it!

Whoops! No worries – just run rm cert.pem on your device to clear the original certificate. Now you should be able to re-add it! Reach out to us at [email protected] if you're still having issues.

What else do I need to know?

We know no one reads these, but just in case...
Privacy Policy
Terms of Service

alohacam's People

Contributors

jwgcarlson avatar nicolegear avatar thinkski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jpstruhar

alohacam's Issues

Streaming not working when using differents wifi networks

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

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

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.