1
0
mirror of https://github.com/r4sas/recastin-panel synced 2025-03-12 21:31:22 +00:00
2018-04-26 11:51:42 +02:00
2018-04-25 14:03:33 +02:00
2018-04-25 14:03:33 +02:00
2018-04-25 18:50:25 +02:00
2018-04-26 10:53:31 +02:00
2018-04-26 11:51:42 +02:00
2018-04-25 14:03:33 +02:00
2018-04-25 18:40:28 +02:00
2018-04-26 10:53:31 +02:00
2018-04-25 21:11:58 +02:00
2018-04-25 14:03:33 +02:00
2018-04-25 14:03:33 +02:00
2018-04-26 11:03:28 +02:00
2018-04-25 14:03:33 +02:00
2018-04-25 14:03:33 +02:00

ReCast

What is ReCast?

ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. You can stream through one server to multiple services

Installation

  • You have to install a nginx server with rtmp support to /opt/nginx-rtmp/ or something else
  • Checkout this project, copy .env.dist to .env and adjust the settings
  • Run composer install --no-dev -o
  • Generate JWT Keys, following Documentation
  • Create the database php bin/console doctrine:migrations:migrate
  • Create a new crontab entry which runs every minute php bin/console recast:cron
  • Create a new user with php bin/console recast:create:user
  • Environment variable APP_HOST should point to a http server, nginx rtmp does not support https.

Environment variable overview

Name Description Example
APP_ENV Which environment it runs prod
DATABASE_URL Database credentials as URL DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME
NGINX_CONFIG_DIR Folder where nginx.conf is located /opt/nginx-rtmp/conf/
APP_HOST URL which is used in nginx rtmp conf, This address should be http http://try.recast.in
NGINX_RESTART_COMMAND Reload command for nginx rtmp systemctl reload nginx-rtmp

Docker Setup will be following

Screenshots

Dashboard

List Streams

Edit Stream

Add Endpoint

Setup

Description
ReCast is a multi platform restreaming tool, you can stream with one servers to multiple services
Readme 2 MiB
Languages
CSS 35.8%
Vue 31.1%
PHP 25.2%
JavaScript 7.1%
HTML 0.8%