Giter VIP home page Giter VIP logo

prashantdhere13 / custom-livestream-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ele-dev/custom-livestream-service

0.0 0.0 0.0 3.3 MB

A docker-compose software stack for a self hosted live streaming service that allows RTMP ingestion, HLS live delivery, live video recording, clip uploads and more

License: MIT License

Shell 6.19% JavaScript 8.08% PHP 72.98% CSS 5.08% Hack 0.89% Dockerfile 6.78%

custom-livestream-service's Introduction

custom-livestream-service

A docker-compose software stack for a self hosted live streaming service that allows RTMP ingestion, HLS live delivery, live video recording, clip uploads and more

configuration

The login credentials for the remote SFTP file access must be set in the Dockerfile inside the fileUpload-service directory before first deploy. All other global configuration variables are stored in the database and should be configured in the admin web panel after the first deploy config variables:

  • HLS URL (correct access url to the hls segments for live playback)
  • admin login password (default is 123456)

deployment

This software stack requires docker and docker-compose to be installed on the target system. It should be mentioned that it is designed to be deployed behind a Reverse Proxy that can handle SSL Termination. So no certificate management or encryption at all is implemented here. Also make sure that the service ports (see below) aren't used by other applications or being blocked by a firewall

Create docker network (relevant for deployment with reverse proxy)

docker network create dmz_net

Build the application with:

docker-compose build 

Then run it in background with (run reverse proxy after this application if used):

docker-compose up -d 

Stop it with:

docker-compose down

By default the service ports are configured as follows

  • 1935: RTMP video ingestion (H264 video + AAC audio)
  • 8080: Front End Web application
  • 8082 (8443 for https behind reverse proxy): HLS video segments and Video on Demand delivery
  • 2221: SFTP File access to upload recorded MP4 videos

custom-livestream-service's People

Contributors

ele-dev avatar

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.