Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Emitting add-transceiver on webrtcbin fails #16

Open
Inrego opened this issue Mar 16, 2023 · 0 comments
Open

Emitting add-transceiver on webrtcbin fails #16

Inrego opened this issue Mar 16, 2023 · 0 comments

Comments

@Inrego
Copy link

Inrego commented Mar 16, 2023

Simple reproduce:

        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);

Throws the error: Invalid parameter type: expected , got Gst.WebRTC.WebRTCRTPTransceiverDirection
Link to documentation for add-transceiver: https://gstreamer.freedesktop.org/documentation/webrtc/index.html?gi-language=c#webrtcbin::add-transceiver

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant