/rbpi

Primary LanguageJavaScriptMIT LicenseMIT

Raspberry pi video transmitter

An application for controlling the transmission of video stream from Raspberry Pi camera to given endpoint. Support for Wowza and Gstreamer.

1. Installation

$ git clone git@github.com:OAlm/rbpi.git
$ npm install

2. Description

Nodejs application which uses uws to establish websocket connection to streamer controller. HTTP api implemented at streamer controller calls methods of the video transmitter and passes client initialized variabled. Video transmitter validates the variables. Each protocol has its' own validation process, defined in respective components.

3. Improvements

  • There is no authentication nor authorization when accessing the http api.
  • The control is limited to starting/stopping the video streams.

4. Requirements for new protocol:

Implementing new streaming method or service should be quite straightforward.

  1. Define what is the bash command to start stream for said method/service, which should pipe raspivid feed to another application/method.
  2. Create component with start, stop and status methods. Start method will parse the user input and execute the bash command from step 1.