<div dir="ltr">Hello GStreamer devs,<div><br></div><div>I have been working on a project and I would like to use the gst-rtsp-server. I am trying to build a program that will run on a Mac and will stream multicast audio to mobile clients. </div><div><br></div><div>I have successfully deployed GStreamer on both Android and iOS with my client pipeline. I also have been successful in building and modifying the <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-multicast2.c">test-multicast2.c</a> example to stream audio to those clients. The audio sounds great and the latency is good.</div><div><br></div><div>However, I now want to run the RTSP server in a Mac OSX application built in XCode. I found <a href="https://github.com/corrosion/gstreamer-osx-bundle">this example</a> which has been great for getting GStreamer running. I added libgstrtspserver-1.0.dylib to the dependencies "Link Binary with Libraries" and the app compiles and runs (I was getting "Undefined for architecture" errors before doing that). However, I keep getting this error when my server starts running:</div><div><br></div>
<p class=""><span class=""><b>(Gst-Test:2073): GLib-GObject-WARNING **: gsignal.c:2516: signal 'media-constructed' is invalid for instance '0x1028e48a0' of type 'pending-state'</b></span></p>
<p class="">The line causing this is `<span class="">g_signal_connect</span><span class=""> (factory, </span><span class="">"media-constructed"</span><span class="">, (</span><span class="">GCallback</span><span class="">) </span><span class="">media_constructed</span><span class="">, </span><span class="">NULL</span><span class="">);` I don't know what the cause is, but since this callback isn't getting set up, it isn't called, and therefore the pool and stream aren't set up properly.</span></p><p class=""><span class="">I don't get this error when running `./test-multicast2` from the command line, so I don't know how to debug it.</span></p><p class="">If anyone has any advice for me, or is aware of any successful attempts to bundle the gst-rtsp-server in a Mac OS X application, I would be incredibly grateful!</p><p class=""><br></p><p class="">Oren Berkowitz</p></div>