mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
webrtc: fix type of max-retransmits, make it work
This commit is contained in:
parent
b0470e2c98
commit
e2e86658f2
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue