Giter Club home page Giter Club logo

bbb-streaming's Introduction

BBB Streamer NG?

Makes a conference like this...

...streamable like this!

I also recorded a small video showing the basic features: https://www.youtube.com/watch?v=u9pTmzowIPc

Big Blue Button streaming without pressing a virtual camera against a remote controlled webbrowser..

Heavily work-in-progress, but kinda functional.

The whiteboard is definitively the hardest part to get right. Everything else just kinda depends on gstreamer not breaking every 5 minutes :D

Example usage: python main.py --greenlight-url https://example.org/b/my-cool-room --rtmp-url rtmp://server/app/path?auth=foobar

Or alternatively with docker replace python main.py with docker run -t -i --rm=true lukas2511/bbb-streaming in the line above

Inside the stuff directory you'll find a tampermonkey script (probably also working with greasemonkey or by injecting directly into your bbb backend) that adds four buttons to easily control scenes from within BBB :) Set STREAM_USER inside the script if you don't name your streamer stream.

Working:

  • Capturing audio
  • Capturing all cameras
  • Capturing screen captures
  • Generating presentation canvas (including annotations) and converting it into an internal video stream
  • Automatic switching between presentation and screenshare
  • Simple side-by-side scene with exactly 1 active webcam and the presentation/screenshare
  • Tracking camera of active speaker
  • Background image for streams
  • Selection of multiple scenes (side-by-side, fullscreen cam/presentation) using chat commands (!view <sbs|pip|cam|pres>)
  • Support for 4:3 (and other weird) ratio inputs (resized to fit + transparent border)

Output is streamed using rtmp for now. How this is implemented will probably change.

Todo:

  • Fixing the gstreamer webrtc video glitches (recovery on packetloss is b0rked, currently enabling slight fec and requesting a keyframe every second)
  • Support different camera selections (follow-speaking/follow-presenter/manual selection)
  • Lots of error handling + recovery foo
  • Clean shutdown (some threads seem to be doing weird stuff :D)
  • Finishing the todo list

bbb-streaming's People

Contributors

lukas2511 avatar

Watchers

James Cloos 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.