Attempting to build gst-rtsp-server in a Mac OSX app

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Attempting to build gst-rtsp-server in a Mac OSX app

oberkowitz
Hello GStreamer devs,

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. 

I have successfully deployed GStreamer on both Android and iOS with my client pipeline. I also have been successful in building and modifying the test-multicast2.c example to stream audio to those clients. The audio sounds great and the latency is good.

However, I now want to run the RTSP server in a Mac OSX application built in XCode. I found this example 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:

(Gst-Test:2073): GLib-GObject-WARNING **: gsignal.c:2516: signal 'media-constructed' is invalid for instance '0x1028e48a0' of type 'pending-state'

The line causing this is `g_signal_connect (factory, "media-constructed", (GCallbackmedia_constructed, NULL);` 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.

I don't get this error when running `./test-multicast2` from the command line, so I don't know how to debug it.

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!


Oren Berkowitz


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel