Git Product home page Git Product logo

gstjitsimeet's Introduction

gstjitsimeet

Jitsi Meet GStreamer plugin

Dependencies

  • gstreamer >= 1.20
  • gst-plugins-good
  • gst-plugins-bad
  • libnice
  • meson
  • OpenSSL
  • libwebsockets

Ubuntu:

apt install \
gstreamer1.0-libav \
gstreamer1.0-nice \
gstreamer1.0-plugins-rtp \
gstreamer1.0-plugins-ugly \
libgstreamer-plugins-bad1.0-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer-plugins-good1.0-dev \
libgstreamer1.0-dev \
libnice-dev \
meson \
libssl-dev \
libwebsockets-dev

Gentoo:

emerge \
media-libs/gst-plugins-bad \
media-libs/gst-plugins-base \
media-libs/gst-plugins-good \
media-libs/gstreamer \
media-plugins/gst-plugins-dtls \
media-plugins/gst-plugins-libav \
media-plugins/gst-plugins-libnice \
media-plugins/gst-plugins-opus \
media-plugins/gst-plugins-pulse \
media-plugins/gst-plugins-srtp \
media-plugins/gst-plugins-x264 \
net-libs/libwebsockets

Build

git clone --recursive https://github.com/mojyack/gstjitsimeet.git
meson setup build --buildtype=release
ninja -C build

Example

Streaming:

export GST_PLUGIN_PATH=$PWD/build
gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw,width=300,height=200 ! x264enc ! .video_sink jitsibin room=example server=jitsi.example room=example

Streaming with audio:

export GST_PLUGIN_PATH=$PWD/build
pipeline=(
    jitsibin
        name=room
        server=jitsi.example
        room=example
    videotestsrc is-live=true !
    videoconvert !
    video/x-raw,width=300,height=200 !
    x264enc !
    room.video_sink

    audiotestsrc is-live=true wave=8 !
    audioconvert !
    opusenc !
    room.audio_sink
)

gst-launch-1.0 $pipeline

Receiving is a little more complicated because you have to handle signals
See examples in src/examples

Credits

MUC initialize sequences are taken from avstack/gst-meet

gstjitsimeet's People

Contributors

mojyack avatar

Stargazers

 avatar

Watchers

 avatar  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.