var webrtc = ElementFactory.Make("webrtcbin", "webrtc");
var caps = Caps.FromString("application/x-rtp,media=video,encoding-name=VP8/9000,payload=96");
var direction = WebRTCRTPTransceiverDirection.Recvonly;
webrtc.Emit("add-transceiver", WebRTCRTPTransceiverDirection.Recvonly, caps);
Simple reproduce:
Throws the error:
Invalid parameter type: expected , got Gst.WebRTC.WebRTCRTPTransceiverDirectionLink to documentation for
add-transceiver: https://gstreamer.freedesktop.org/documentation/webrtc/index.html?gi-language=c#webrtcbin::add-transceiver