Q1.I have installed gstreamer via APT on ubuntu 22.04 and gstreamer version is 1.20.3 but im not able to find whipink didnt found webrtchttp on apt . As i want to send stream over whipendpoint so is there any guide which i can follow to get through.
Q2.If i built gstreamer from source repo so i’ll get latest version and for that i also have to build plugin from source , so i have removed gstreamer sudo apt remove gstreamer1.0-* then i need to build plugins from source as well , will it make version compaitability.
Q3.Also building gstreamer from source and downloading plugins from apt or vice-versa will cause problem??
Q4.I tried to run the same thing on ubuntu 24.04 on which the gstreamer version was 1.24.x by default so there also the whipsinkelement was not found.
whipsink
is available from the gst-plugins-rs repo and may not yet be packaged completely in distributions. You would need to download and install gst-plugins-rs from source and is available from GStreamer / gst-plugins-rs · GitLab.
You don’t have to install a self built gstreamer and there is a development environment available by using ninja -C $BUILDDIR devenv
which will allow you access to all the GStreamer plugins that you have built (without system plugins).
Q1 .So I have to build this webrtchttp plugin because i need to use whipsink element and the steps to build will be same as other plugin like good or bad ? Are the steps would be same as i mentioned below to build this plugin as well becuase other plugins are installed that way only ? or I have to do this
cargo install cargo-c
cargo cbuild -p gst-plugin-webrtchttp
GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH"
will these 3 steps will install the plugin and I’ll be able to start using whipsink element?
Q2.Then i need to build gstreamer from source as well to get whipsink compaitible with the gstreamer version.? because my gstreamer version is 1.20 even if im building from source.
Steps that i followed for building the gstreamer and its plugin from source because as i understand if i’m building gstreamer from source than i need to build plugins from source as well.
sudo apt update
sudo apt install build-essential git meson ninja-build
sudo apt install pkg-config glib-2.0 libglib2.0-dev libgstreamer1.0-dev
sudo apt install libgstreamer-plugins-base1.0-dev
sudo apt install libglib2.0-dev liborc-0.4-dev libgstreamer1.0-dev
git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git
git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git
cd gstreamer
meson build
cd build
ninja
sudo ninja install
cd ../../gst-plugins-base
meson build
cd build
ninja
sudo ninja install
cd ../../gst-plugins-good
meson build
cd build
ninja
sudo ninja install
cd ../../gst-plugins-bad
meson build
cd build
ninja
sudo ninja install