Commit 3507e95c authored by Olivier Crête's avatar Olivier Crête

agent: Only deal with pseudotcp if actually using PseudoTCP

PseudoTCP is only used if both the pseudotcp socket exists and the
underlying transport is unreliable.
parent 4b7ae860
...@@ -1859,8 +1859,8 @@ process_queued_tcp_packets (NiceAgent *agent, Stream *stream, ...@@ -1859,8 +1859,8 @@ process_queued_tcp_packets (NiceAgent *agent, Stream *stream,
guint component_id = component->id; guint component_id = component->id;
if (component->selected_pair.local == NULL || if (component->selected_pair.local == NULL ||
(!nice_socket_is_reliable (component->selected_pair.local->sockptr) component->tcp == NULL ||
&& component->tcp == NULL)) nice_socket_is_reliable (component->selected_pair.local->sockptr))
return; return;
nice_debug ("%s: Sending outstanding packets for agent %p.", G_STRFUNC, nice_debug ("%s: Sending outstanding packets for agent %p.", G_STRFUNC,
......
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