Ansible role for a Livepeer node
Go to file
Jakub Sokołowski 9579effadf
fix port used for healthcheck, we need the CLI one
2018-11-08 13:46:25 +01:00
defaults avoid changing resources when they don't need it 2018-10-31 23:14:23 +01:00
handlers fix nginx handler to reload rather than restart 2018-10-31 22:48:25 +01:00
meta add role metadata 2018-10-31 22:25:37 +01:00
tasks fix port used for healthcheck, we need the CLI one 2018-11-08 13:46:25 +01:00
templates drop use of nginx module and just template the config 2018-10-31 22:40:19 +01:00
LICENSE Initial commit 2018-10-31 18:44:01 +01:00
README.md add Installation section 2018-11-03 19:42:06 +01:00

README.md

Description

This role configures LivePeer, an open-source service:

Open Source Video Infrastructure Services, Built On The Ethereum Blockchain.

Introduction

A LivePeer node - which runs as a docker container - exposes 3 ports:

  • CLI - Command line tool access, management API (7935)
  • HTTP - For streaming video to web and other media players (8080)
  • RTMP - For receiving media stream to transcode and broadcast (1935)

In general the workflow is as follows:

  1. A source of media(video+audio) like OBS or else is set up.
  2. The source streams to the RTMP TCP port.
  3. The LivePeer node runs transcoding if necessary.
  4. The LivePeer node broadcasts the stream via the HTTP port.

The HTTP port is exposed via HTTPS using Nginx using CloudFlare certificates.

Services

This role deploys two services:

The proxy that exposes the JS player defaults to ports 80 and 443 in Nginx, you can see that in templates/nginx_proxy.conf.j2.

Installation

Add to your requirements.yml file:

- name: livepeer
  src: https://github.com/status-im/infra-role-livepeer.git

Requirements

Due to being part of Status infra this role assumes availability of certain things:

  • Docker for running containers
  • Nginx full installation
  • The iptables-persistent module