mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
webrtc: Fix critical in webrtc-recvonly-h264 example
This signal only takes 2 properties yet a third was passed. This would cause a critical in GLib. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3252>
This commit is contained in:
parent
fee144bca5
commit
d0e2b31470
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
|
||||||
RTP_PAYLOAD_TYPE
|
RTP_PAYLOAD_TYPE
|
||||||
",clock-rate=90000,packetization-mode=(string)1, profile-level-id=(string)42c016");
|
",clock-rate=90000,packetization-mode=(string)1, profile-level-id=(string)42c016");
|
||||||
g_signal_emit_by_name (receiver_entry->webrtcbin, "add-transceiver",
|
g_signal_emit_by_name (receiver_entry->webrtcbin, "add-transceiver",
|
||||||
GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY, video_caps, NULL, &trans);
|
GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY, video_caps, &trans);
|
||||||
gst_caps_unref (video_caps);
|
gst_caps_unref (video_caps);
|
||||||
gst_object_unref (trans);
|
gst_object_unref (trans);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue