Giter Site home page Giter Site logo

srtgateway's Introduction

Example SRT gateway container

Usage

  • Build
docker build -t srtgateway .
  • Debug run
docker run --net=host -it --rm --name srtgateway \
-e CONTAINER_CONFIG="{\"configurationBlobLocation\":\"https://storagesample.blob.core.windows.net;SharedAccessSignature=sv=2015-04-05&sr=b&si=sample-policy-635959936145100803&sig=9aCzs76n0E7y5BpEi2GvsSv433BZa22leDOZXX%2BXXIU%3D\",\"eventHubConnection\":{\"namespace\":\"qa-srt-hub-event-hub\",\"name\":\"test\",\"sharedAccessPolicy\":\"send\",\"sharedAccessKey\":\"ctzMq410TV3wS7upTBcunJTDLEJwMAZuFPfr0mrrA08=\"},\"telemetryFrequency\":5}" \
-e APP_CONFIG="{\"channel_name\":\"Demo Channel\",\"channel_id\":\"69414c3-f9c8-41a3-9f3b-151ca71eb445\",\"app_data\":{\"user_account\":\"[email protected]\"},\"inputs\":[{\"id\":\"INPUT\",\"name\":\"Source Stream\",\"url\":\"srt:\/\/0.0.0.0:4900\",\"protocol\":\"srt\",\"parameters\":[{\"name\":\"srt_mode\",\"value\":\"listener\"},{\"name\":\"srt_passphrase\",\"value\":\"#1234567890\"},{\"name\":\"srt_latency\",\"value\":\"200\"}]}],\"outputs\":[{\"id\":\"OUTPUT_1\",\"name\":\"Primary\",\"url\":\"udp:\/\/239.42.42.42:4243\",\"protocol\":\"udp\",\"parameters\":[]},{\"id\":\"OUTPUT_2\",\"name\":\"Secondary\",\"url\":\"srt:\/\/0.0.0.0:1234\",\"protocol\":\"srt\",\"parameters\":[{\"name\":\"srt_mode\",\"value\":\"listener\"},{\"name\":\"srt_passphrase\",\"value\":\"ThisIsMyPass\"},{\"name\":\"srt_latency\",\"value\":\"200\"}]}]}" \
srtgateway

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.