Giter Club home page Giter Club logo

fragcenter's Introduction

fragcenter

Stream display system to view active streams on an rtmp server.

Running fragcenter

docker-compose

Manually edit the docker compose script to use the ip/hostname or the host where indicated.

If you want to record you only need to uncomment the commented section in the nginx.conf

Get fragcenter locally

You can get fragcenter by running go get github.com/fragforce/fragcenter

You can run fragcenter by either running it with go run fragcenter.go in the src directory.
You can also build it locally running go build github.com/fragforce/fragcenter

There are flags that can be set on startup.

-host
Set the host that is running the rtmp server (default is 127.0.0.1)

-intHost
Set the host that fragcenter checks for stats (default is 127.0.0.1). Really only exists for the docker container

-port
Set the port the rtmp server is serving on. (default is 8080)

-web
Set the port fragcenter uses to host it's own web server (default is 3000)

-poll
How often fragcenter is to check the stream stats pages in seconds. (Default is 10 seconds)

-appname
What appname to check for in the stats page. (default is stream)

This Also means the nginx.conf in the repo is copied to /srv/rtmp/nginx.conf. Please move it whereever you want and adjust the docker command accordingly.

Docker command to run the rtmp server we built this for

The dockerfile we are running is located here. https://github.com/alfg/docker-nginx-rtmp

This command will default to port 1935 (default rtmp port) and port 8080 (default for stats pages)
docker run -it -d --rm -p 1935:1935 -p 8080:80 -v /srv/rtmp/nginx.conf:/opt/nginx/nginx.conf alfg/nginx-rtmp

Examples:

1 host: Single host for rtmp server/fragcenter/web browser using the previous docker command
fragcenter

1 host: rtmp server/fragcenter custom web port
fragcenter -host=<external_ip_of_host> -web=<port_to_host_web_pages_on>

2 host: rtmp server customer stats port, fragcenter server custom web port
fragcenter -host=<external_ip_of_host> -port=<stats_page_port> -web=<port_to_host_web_pages_on>

fragcenter's People

Contributors

aevumdecessus avatar antzucaro avatar gpmidi avatar jmhale avatar parkervcp avatar ravenium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fragcenter's Issues

[Feature] Add actual site and event info to root index.html

just a feature request to set the index page for root to point to a site and/or event information page, links to common information like wifi passwords, etc.

Pie in the sky ask: add an in-page discord chat, tailored to a single channel for the event.

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.