mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +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))
|
||||||
max_packet_lifetime = -1;
|
max_packet_lifetime = -1;
|
||||||
if (!init_params
|
if (!init_params
|
||||||
|| !gst_structure_get_boolean (init_params, "max-retransmits",
|
|| !gst_structure_get_int (init_params, "max-retransmits",
|
||||||
&max_retransmits))
|
&max_retransmits))
|
||||||
max_retransmits = -1;
|
max_retransmits = -1;
|
||||||
/* both retransmits and lifetime cannot be set */
|
/* both retransmits and lifetime cannot be set */
|
||||||
|
|
Loading…
Reference in a new issue