<div dir="ltr"><font color="#9900ff">> gst-rtsp-server is already provided by the macOS pkg files. Why are</font><div><font color="#9900ff">> you trying to build it?</font></div><div><br></div><div>Because I didn't know any better!  Many thanks for the tips.  Tonight while poking around the binary install, I found <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">gst-validate-rtsp-server-1.0</span></div>





<div><br></div><div>After some trial and error, I successfully played a .wav file via the rtsp-server (from the <font face="monospace">gst-validate-rsp-server-1.0</font> test app) as follows:</div><div><br></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">$ gst-validate-rtsp-server-1.0 --gst-debug-level=3 file:///Users/chris/test.wav</span></div>





<div><br></div><div>and on the client side:</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">$ gst-launch-1.0 rtspsrc location=rtsp://localhost:8554/test ! rtpL16depay ! audioconvert ! osxaudiosink device=76</span></p></div><div><br></div><div>Much more research to do, but that was a big step to helping me understand how to begin building my application!!!</div><div><br></div><div>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 (<font face="monospace">gst-launch-1.0</font>) to terminate.</div><div><br></div><div>Thanks again!</div><div><br></div><div>Chris</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 28, 2022 at 3:04 AM Nirbheek Chauhan <<a href="mailto:nirbheek.chauhan@gmail.com">nirbheek.chauhan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
gst-rtsp-server is already provided by the macOS pkg files. Why are<br>
you trying to build it?<br>
<br>
> 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.<br>
><br>
<br>
Yes, we switched to a universal arch framework with 1.20, and that<br>
doesn't include the gir / typelib files.What do you need them for?<br>
They're only needed for GStreamer Python and C# bindings, and you<br>
absolutely do not need them to build any C/C++ code.<br>
<br>
If you want to do gstreamer development (i.e., make changes to<br>
gstreamer's code and use it in a development environment), you should<br>
build using these instructions:<br>
<br>
<a href="https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html</a><br>
<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer#getting-started" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer#getting-started</a><br>
<br>
The extra things you might need are certificates for Python 3:<br>
<br>
pip3 install certifi<br>
<br>
Then, set these env vars to tell Meson to not use pkg-config or cmake<br>
to find system libraries (otherwise you will have breakage with<br>
Homebrew dependencies):<br>
<br>
export PKG_CONFIG=false<br>
export CMAKE=false<br>
<br>
Now you can build with meson:<br>
<br>
meson builddir<br>
meson compile -C builddir<br>
./gst-env.py<br>
<br>
Cheers,<br>
Nirbheek<br>
</blockquote></div>