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
pull/1373/head
Richard Fuchs 4 years ago
parent
commit
f6461ab452
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 // output section
if (non_forwarding) // also applies to sink == NULL if (non_forwarding) // also applies to sink == NULL
return NULL; // no output return NULL; // no output
if (is_addr_unspecified(&sink->advertised_endpoint.address)
|| !sink->advertised_endpoint.port)
if (!PS_ISSET(sink, FILLED))
return NULL; return NULL;
redi = g_slice_alloc0(sizeof(*redi)); redi = g_slice_alloc0(sizeof(*redi));


Loading…
Cancel
Save