Git Product home page Git Product logo

docker-gstreamer-rtsp-srt's Introduction

docker-gstreamer-rtsp-srt

This dockerized container will consume an RTSP video streaming service and re-publish it as an SRT (Secure Reliable Transport) service.

Usage:

Either edit the .env file to change the RTSP_URL, or export that environment variable with your desired URL before running:

docker-compose up -d

Then open up an SRT client connection to the service. VLC4 nightly builds should be able to open up the URL:

  • srt://localhost:7001

Alternatively, you can use gstreamer if you have the SRT plugin from gst-plugins-bad installed:

gst-launch-1.0 srtclientsrc uri=srt://localhost:7001 ! decodebin ! autovideosink

or if you have set a passphrase for encryption:

gst-launch-1.0 srtclientsrc key-length=${SRT_KEY_LENGTH} passphrase="${SRT_PASSPHRASE}" uri=srt://localhost:7001 ! decodebin ! autovideosink

The localhost example should probably be replaced with a remote host accessing SRT over the network, as SRT was designed to drastically improve video over a poor network connection.

Advanced usage:

The RTSP_USER_ID and RTSP_USER_PW variables are for an RTSP URL that requires authentication.

The SRT_PASSPHRASE and SRT_KEY_LENGTH variables are to enable optional SRT encryption. If you enable these, you will need to ensure that your SRT client uses these same settings.

More SRT information:

docker-gstreamer-rtsp-srt's People

Contributors

ianblenke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fantomascz

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.