gst-rtsp-server build failed - missing Gst-1.0.gir
Chris Hallinan
challinan at gmail.com
Tue Mar 1 05:00:31 UTC 2022
> gst-rtsp-server is already provided by the macOS pkg files. Why are
> you trying to build it?
Because I didn't know any better! Many thanks for the tips. Tonight while
poking around the binary install, I found gst-validate-rtsp-server-1.0
After some trial and error, I successfully played a .wav file via the
rtsp-server (from the gst-validate-rsp-server-1.0 test app) as follows:
$ gst-validate-rtsp-server-1.0 --gst-debug-level=3
file:///Users/chris/test.wav
and on the client side:
$ gst-launch-1.0 rtspsrc location=rtsp://localhost:8554/test ! rtpL16depay
! audioconvert ! osxaudiosink device=76
Much more research to do, but that was a big step to helping me understand
how to begin building my application!!!
One peculiar behavior, though. After the test audio file played to the
end, the client session never terminated. tcpdump showed TCP keepalive
packets until I manually killed the client using Ctl-C. I'm sure there's a
good reason for that, but I would have expected the server to signal EOF to
the client and the client (gst-launch-1.0) to terminate.
Thanks again!
Chris
On Mon, Feb 28, 2022 at 3:04 AM Nirbheek Chauhan <nirbheek.chauhan at gmail.com>
wrote:
> Hi,
>
> gst-rtsp-server is already provided by the macOS pkg files. Why are
> you trying to build it?
>
> > Actually, after some trial and error, I discovered that the .gir files
> are not part of the 1.20 installers, they only appear in the 1.18 installer.
> >
>
> Yes, we switched to a universal arch framework with 1.20, and that
> doesn't include the gir / typelib files.What do you need them for?
> They're only needed for GStreamer Python and C# bindings, and you
> absolutely do not need them to build any C/C++ code.
>
> If you want to do gstreamer development (i.e., make changes to
> gstreamer's code and use it in a development environment), you should
> build using these instructions:
>
>
> https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html
> https://gitlab.freedesktop.org/gstreamer/gstreamer#getting-started
>
> The extra things you might need are certificates for Python 3:
>
> pip3 install certifi
>
> Then, set these env vars to tell Meson to not use pkg-config or cmake
> to find system libraries (otherwise you will have breakage with
> Homebrew dependencies):
>
> export PKG_CONFIG=false
> export CMAKE=false
>
> Now you can build with meson:
>
> meson builddir
> meson compile -C builddir
> ./gst-env.py
>
> Cheers,
> Nirbheek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220301/151f4090/attachment.htm>
More information about the gstreamer-devel
mailing list