Commit e2e86658 authored by David Gunzinger's avatar David Gunzinger

webrtc: fix type of max-retransmits, make it work

parent b0470e2c
Pipeline #55985 passed with stages
in 37 minutes and 14 seconds
......@@ -4553,7 +4553,7 @@ gst_webrtc_bin_create_data_channel (GstWebRTCBin * webrtc, const gchar * label,
&max_packet_lifetime))
max_packet_lifetime = -1;
if (!init_params
|| !gst_structure_get_boolean (init_params, "max-retransmits",
|| !gst_structure_get_int (init_params, "max-retransmits",
&max_retransmits))
max_retransmits = -1;
/* both retransmits and lifetime cannot be set */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment