Giter Site home page Giter Site logo

rtmp-switcher's People

Contributors

erikstmartin avatar jveiga avatar rockerboo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtmp-switcher's Issues

input- ability to add RTP and UDP sources to mixer. fallbackswitch in event there is loss of stream.

Hello,
Love what you have done here with rust.. I'm new to rust and have been using gstreamer with glib python bindings.
Is there any appetite to include a UDP/RTP input to connect to the mixer.? Would be great. In addition, could the new fallbackswitch element. (written in rust) could be used to allow broken streams to fall back to a black videotestsrc and audio silence to keep the pipeline from eos?

logging

Look into github.com/slog-rs/slog

mixer: Switch between inputs

We can currently add new inputs which sit over top, but it would be nice to trigger which input is on top (potentially pause/remove original input)

authentication

We need our API to be authenticated or use mutual tls

gstreamer probes

We want to be able to collect data like bitrate on input and output and react accordingly

server: Graceful shutdown

We need to store all our JoinHandles from our mixers and wait on all of them (and the http server)

input: Named states

We could have various mixer::Config's for an input and name them. Then we could swap between them.

PipState
FullScreenState

better error handling

We need to ensure that we capture errors. We can't use things like unwrap() or expect(). We don't want to kill our pipeline or worse all the live mixers for errors.

Add linter to project so it won't compile with unwrap or expect

Sending bad request breaks app

Try to create a mixer that already exists. We see these errors.

thread 'tokio-runtime-worker' panicked at 'called Option::unwrap() on a None value', src/mixer/mod.rs:251:24

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'called Result::unwrap() on an Err value: "PoisonError { inner: .. }"', /home/erik/code/switcher/src/http/handlers.rs:204:25

Look into IdlePadProbes

We may have issues with changing the pipeline when it is in different states. We want to add an IdlePadProbe to wait till the pad is idle before doing things like unlinking or removing it.

Also look into blocking src pads until ready.

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.