g_signal_emit_by_name won't accept correct argument type
Created by: maxmcd
This fails with BoolError("Incompatible argument types")
let opus_caps = gst::Caps::from_str(&rtp_caps_opus).unwrap();
webrtc
.emit("add-transceiver", &[&3i32, &opus_caps])
.unwrap();
add-transceiver accepts direction and caps.
I've tried a few values for the direction:
gstreamer_webrtc_sys::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY
&(gstreamer_webrtc_sys::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY).to_value()
&(gstreamer_webrtc_sys::GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY
as gstreamer_webrtc_sys::GstWebRTCRTPTransceiverDirection)
.to_value(),
// etc....
Wondering if I'm missing a way to pass the type.