All Projects → voc → srtrelay

voc / srtrelay

Licence: MIT license
SRT relay server for distributing media streams to multiple clients.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to srtrelay

Fastocloud
Self-hosted IPTV/NVR/CCTV/Video service (Community version)
Stars: ✭ 464 (+472.84%)
Mutual labels:  relay, srt
react-relay-example
Example project how to use React, Relay and TypeScript
Stars: ✭ 27 (-66.67%)
Mutual labels:  relay
Relay Workshop
Material for my Relay Workshop
Stars: ✭ 197 (+143.21%)
Mutual labels:  relay
BAT FFMPEG
Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 🦄)
Stars: ✭ 104 (+28.4%)
Mutual labels:  srt
Relay Compiler Language Typescript
A language plugin for Relay that adds TypeScript support, including emitting type definitions.
Stars: ✭ 201 (+148.15%)
Mutual labels:  relay
EuNet
Peer to peer network solution for multiplayer games.
Stars: ✭ 109 (+34.57%)
Mutual labels:  relay
Ws Tcp Relay
A simple relay between WebSocket clients and TCP servers
Stars: ✭ 186 (+129.63%)
Mutual labels:  relay
flipper-plugin-relay-devtools
Flipper plugin for Relay devtools
Stars: ✭ 26 (-67.9%)
Mutual labels:  relay
graphql-compose-relay
No description or website provided.
Stars: ✭ 29 (-64.2%)
Mutual labels:  relay
ttml2srt
convert TTML subtitles to SRT subtitles
Stars: ✭ 46 (-43.21%)
Mutual labels:  srt
gofast
High performance transport protocol for distributed applications.
Stars: ✭ 19 (-76.54%)
Mutual labels:  multiplexer
Rescript Relay
Use Relay with ReasonML.
Stars: ✭ 214 (+164.2%)
Mutual labels:  relay
gsmmux
gsm multiplex daemon
Stars: ✭ 48 (-40.74%)
Mutual labels:  multiplexer
Django Graphql Auth
Django registration and authentication with GraphQL.
Stars: ✭ 200 (+146.91%)
Mutual labels:  relay
relay-helpers
Helpers to simplify and enhance Relay (https://facebook.github.io/relay/)
Stars: ✭ 19 (-76.54%)
Mutual labels:  relay
Graphql.js
A Simple and Isomorphic GraphQL Client for JavaScript
Stars: ✭ 2,206 (+2623.46%)
Mutual labels:  relay
Isomorphic Relay
Adds server side rendering support to React Relay
Stars: ✭ 247 (+204.94%)
Mutual labels:  relay
btc-relay-solidity
Bitcoin Light Client on Ethereum
Stars: ✭ 30 (-62.96%)
Mutual labels:  relay
azure-relay-dotnet
☁️ .NET Standard client library for Azure Relay Hybrid Connections
Stars: ✭ 35 (-56.79%)
Mutual labels:  relay
Relay.swift
Relay for GraphQL, ported to Swift and SwiftUI
Stars: ✭ 58 (-28.4%)
Mutual labels:  relay

srtrelay CI

Streaming-Relay for the SRT-protocol

Use at your own risk.

Quick start

Run with docker (Note: nightly image not recommended for production)

docker run ghcr.io/voc/srtrelay/srtrelay:latest

# start publisher
ffmpeg -i test.mp4 -c copy -f mpegts srt://localhost:1337?streamid=publish/test

# start subscriber
ffplay -fflags nobuffer srt://localhost:1337?streamid=play/test

Start docker with custom config. See config.toml.example

# provide your own config from the local directory
docker run -v $(pwd)/config.toml:/home/srtrelay/config.toml ghcr.io/voc/srtrelay/srtrelay:latest

Run with docker-compose

In your docker-compose.yml:

   srtrelay:
     image: ghcr.io/voc/srtrelay/srtrelay:latest
     restart: always
     container_name: srtrelay
     volumes:
       - ./srtrelay-config.toml:/home/srtrelay/config.toml
     ports:
       - "44560:1337/udp"

This will forward port 44560 to internal port 1337 in the container. Importantly, forwarding UDP is required. It will also copy a srtrelay-config.toml file in the same directory into the container to use as config.toml

Start the server with the usual

docker-compose up -d

Build with docker

You will need atleast docker-20.10

docker build -t srtrelay .

# run srtrelay
docker run --rm -it srtrelay

Build without docker

Install Dependencies

Requires >=libsrt-1.4.2, golang and a C compiler

Ubuntu

Debian 10:

Gentoo:

  • emerge net-libs/srt

Build

go build -o srtrelay

# run srtrelay
./srtrelay

Usage

Commandline Flags

# List available flags
./srtrelay -h

Configuration

Please take a look at config.toml.example to learn more about configuring srtrelay.

The configuration file can be placed under config.toml in the current working directory, at /etc/srtrelay/config.toml or at a custom location specified via the -config flag.

API

See docs/API.md for more information about the API.

Contributing

See docs/Contributing.md

Credits

Thanks go to

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].