Skip to content

Fix parameter type check in DynamicSignal.cs

Alex Dircksen requested to merge alexd/gstreamer-sharp:master into master

Fix incorrect parameter type check in DynamicSignal.Emit: if the parameter's type was a subclass of the expected type, an exception was thrown.

Fixes #21

Also, skip the type check if a parameter is null and pass a GLib.Value-wrapped NULL pointer to g_signal_emitv: in some signals, some parameters are optional.

Also, add a WebRTC sample (based on webrtcbidirectional.c from gst-plugins-bad), which does emit signals with NULL parameters.

Merge request reports

Loading