gst-build - "ninja.build" not found after with "meson builddir"
With "gst-build" for both the 32-bit Raspberry Pi OS (Buster, 5.4.51-v7+ armv7l GNU/Linux
) and the 64-bit Ubuntu-18.04 (18.04.5 LTS Bionic Beaver, 5.4.0-42-generic #46~18.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
), the "ninja.build" file is not found after "meson builddir". The commands as shown on "https://gitlab.freedesktop.org/gstreamer/gst-build" are:
cd ~
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
cd gst-build
meson builddir
# The Meson build system
# Version: 0.55.0
# Source dir: /home/pi/gst-build
# Build dir: /home/pi/gst-build/builddir
# Build type: native build
# Project name: All GStreamer modules
# Project version: 1.17.2.1
# C compiler for the host machine: cc (gcc 8.3.0 "cc (Raspbian 8.3.0-6+rpi1) 8.3.0")
# names other than "builddir" were tried also with the same result
ninja -C builddir
# ninja: Entering directory `builddir'
# ninja: error: loading 'build.ninja': No such file or directory
find . -iname '*ninja.build*'
# no output
In contrast, with "gst-examples" (https://gitlab.freedesktop.org/gstreamer/gst-examples) the similar steps operate as expected:
cd ~
git clone https://gitlab.freedesktop.org/gstreamer/gst-examples.git
cd ~/gst-examples
meson _builddir
ninja -C _builddir
# ninja: Entering directory `_builddir'
# [9/9] Linking target webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv
The reason for using "gst-build" is to resolve an issue on the RPi3 with "gst-examples/webrtc". The "webrtc-sendrecv" C code example runs on the Ubuntu-18.04 machine (gst-launch-1.0 version 1.14.5) but not on the RPi3 Buster machine (gst-launch-1.0 version 1.14.4), so installing the same and most current Gstreamer on both the Ubuntu 18.04 machine the RPi3 Buster 10 machine may help in debugging and resolving the RPi3 problem. (Another possibility may be related to SSL.)
In both cases the browser is being started with "/usr/bin/chromium-browser --disable-webrtc-hide-local-ips-with-mdns --ignore-certificate-errors" and "https://webrtc.nirbheek.in/" is used for initial testing.
Q1. How can I resolve the "gst-build" issue? The primary need is for the RPi3.
Q2. Are there any suggestions to help resolve the RPi3 "webrtc-sendrecv" issues (e.g. "signal name 'create-data-channel' is invalid", "signal 'on-data-channel' is invalid", "assertion 'priv->ssl' failed")?