Browse Source

TT#14008 use FILLED flag instead of advertised address for sink test

The advertised address might be empty (trickle ICE) so use the FILLED
flag instead to see if the sink is eligible.

Change-Id: I114bd7400ccfcc3ecbc871bdcc5aee4e7d699816
(cherry picked from commit f6461ab452)
mr10.0.1
Richard Fuchs 4 years ago
parent
commit
1957e69db0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      daemon/media_socket.c

+ 1
- 2
daemon/media_socket.c View File

@ -1254,8 +1254,7 @@ output:
// output section
if (non_forwarding) // also applies to sink == NULL
return NULL; // no output
if (is_addr_unspecified(&sink->advertised_endpoint.address)
|| !sink->advertised_endpoint.port)
if (!PS_ISSET(sink, FILLED))
return NULL;
redi = g_slice_alloc0(sizeof(*redi));


Loading…
Cancel
Save