Giter Site home page Giter Site logo

xiris-corp / arrow-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angelcam/arrow-client

0.0 1.0 0.0 772 KB

Angelcam Connector - a referential client implementing the Angelcam Arrow protocol

License: Apache License 2.0

Rust 90.92% C 7.98% Shell 1.10%

arrow-client's Introduction

Angelcam Connector (a.k.a. Arrow Client)

Build Status

Arrow Client is an application used to simplify the process of connecting IP cameras to the Angelcam cloud. The Arrow Client is intended to be shipped together with IP camera firmwares or as a standalone application for various devices such as Raspberry Pi. It can connect to RTSP and MJPEG services passed as command line arguments and, optionally, it can be also compiled with a network scanning feature. This feature allows the client to scan all its network interfaces and find local RTSP and MJPEG services automatically. All such services can be registered within Angelcam cloud under your Angelcam account without the need of a public IP address and setting up your firewall.

This is a reference implementation of the Arrow Client role described in Arrow Protocol. If you are interested in integration or you just want to play with the client a little, please see our Quick Start guide.

Features

  • Automatic RTSP and MJPEG service discovery
  • Zero-conf IP camera connection
  • Remote access to HTTP-based IP camera admin interfaces
  • Connection to Angelcam cloud services secured using TLS v1.2
  • Secure pairing with your Angelcam account

Usage

The application requires /etc/arrow directory for storing its configuration file generated on the first start (the path to the configuration file can be changed using a command line argument). The directory must also contain files named rtsp-paths and mjpeg-paths in case the network scanning feature is enabled. The files should contain RTSP paths and MJPEG paths that will be checked on service discovery. You can use the files from this repository. In order to start the application, you have to pass address of the Angelcam Arrow Service and certificate file for the service verification. Address of the Angelcam Arrow Service is:

arr-rs.angelcam.com:8900

Currently, a self-signed certificate is used. You can find the certificate in this repository (file ca.pem). The certificate will be later replaced by a proper CA certificate.

Here is an example of starting the Arrow Client with one fixed RTSP service and with network scanning enabled:

arrow-client arr-rs.angelcam.com:8900 -c ca.pem -d -r "rtsp://localhost:8554/stream.sdp?prof=baseline&res=low"

Note that the application requires root privileges for direct access to local network interfaces. Alternatively, you can use the NET_CAP_RAW capability.

Dependencies

This application requires the following native libraries:

  • OpenSSL 1.0.x or 1.1.x
  • libpcap 1.6.x or later (optional)

Compilation

See the following guides for more info:

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.