Connecting to select-stream signal throws NullReferenceException
When trying to connect to the select-stream
signal on the GstRTSPSrc
element, the following exception is thrown:
System.NullReferenceException: Object reference not set to an instance of an object. at Gst.DynamicSignal.OnMarshal(IntPtr closure, Value& retval, UInt32 argc, IntPtr argsPtr, IntPtr ihint, IntPtr data)
To reproduce:
...
src.Connect("select-stream", HandleSelectStream);
...
private void HandleSelectStream(object o, GLib.SignalArgs args)
{
//...
}