Update to new calling turn info endpoint, add support for turn server ips.

Co-authored-by: Adel Lahlou <adel@signal.com>
This commit is contained in:
adel-signal
2024-04-01 05:32:03 -07:00
committed by Greyson Parrelli
parent 03d3ae7043
commit f01e044662
4 changed files with 36 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import androidx.annotation.NonNull;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.stream.Stream;
@@ -31,4 +32,8 @@ public final class ListUtil {
return concat;
}
public static <T> List<T> emptyIfNull(List<T> list) {
return list == null ? Collections.emptyList() : list;
}
}