Giter Site home page Giter Site logo

streaming's Introduction

you might also wanna check out related projects:

  • turorial: for jetson nano and orange pi 5
  • moobs-studio: Docker linux container for OBS Studio (nvidia GPU enabled) for cloud and selfhosting
  • moobs: bot for obs websocket and twitch (and more => see wiki)
  • sdcard and usb images: for jetson nano and orange pi 5 at the moment

Hosting Setup SRTLA

the streaming folder contains the docker compose for running the containers that are needed on the endpoint side (e.g. at home or cloud)

Updating

just modify the .env file and increase the version number (see changelog) and rerun

docker-compose pull
docker-compose up -d

Pre-Requirements

Installation (mixed)

  • git clone this repository
  • go into the folder streaming in that extracted directory
  • (optional) modify the entrypoint.sh file if you need to change the inbound port for the srtla stream (coming from jetson)
  • (optional) modify the sls.conf file if you wanna add more stream id's or change the name or do other things
  • make sure docker for windows is started and the containers are switched to "linux containers" (see https://docs.docker.com/docker-for-windows/)
  • for linux only you need to set execute permissions on the entrypoint.sh via chmod +x entrypoint.sh
  • open a Terminal (suggestion: https://www.microsoft.com/store/productId/9N8G5RFZ9XK3 ) browse to that directory and type
docker-compose up -d

OBS configuration

You need to add a new media source (see screenshot) Input

srt://127.0.0.1:30000?streamid=play/live/feed1

image

Stream ID

publish/live/feed1

it is a good idea to change "feed1" to something long and cryptic on every setting

Nginx Stats

the url is on: http://127.0.0.1:8282/stats

as soon as the SRTLA receiver is getting data the stats will be refreshed

ARM64 board setup

SRTLA-SENDER

docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srtla/srtla_rec
docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srtla/srtla_send
docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srt/srt-live-transmit
docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srt/srt-file-transmit
docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srt/srt-ffplay
docker run -t -i --rm moothecow/srtla-srt-full:0.0.1 /opt/srt/srt-tunnel

NGINX-RTMP (for example for phone streams or on Go Pro 10)

place the files from mobile-streaming/nginx.conf and mobile-streaming/docker-compose.yml into a directory on your arm64 board and start it up via

docker-compose up -d

example how it looks like when everything is working: image

Troubleshooting

  • you can still access the normal srt server without bonding feature using udp port 30000 as a fallback (you'd need to add that to portforwarding though)
  • you can access the stats page via the ip of your windows machine using port 8282 in your browser if you need to fetch the statistics (bitrate/tts) that can be used in OBS
  • the linux setup is quite similar, just skip the windows related parts

Note

This requires you to have a local network. so you need some kind of small portable wifi-router handling it)

streaming's People

Contributors

moo-the-cow 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.