diff options
| author | Marvin W <git@larma.de> | 2026-10-03 13:22:02 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2026-10-23 16:59:59 +0200 |
| commit | cd0d992b9b5d3ea29c7d4a3aab76ad53319ea162 (patch) | |
| tree | fd4ce0449674c38a888176cd805fb56940a60b2b /plugins/ice/src/util.vala | |
| parent | 49f4ae03b742e73b6efdf9edf50dee92ebae1448 (diff) | |
Move ICE into libdino
Diffstat (limited to 'plugins/ice/src/util.vala')
| -rw-r--r-- | plugins/ice/src/util.vala | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/ice/src/util.vala b/plugins/ice/src/util.vala deleted file mode 100644 index dd89d2f4..00000000 --- a/plugins/ice/src/util.vala +++ /dev/null @@ -1,18 +0,0 @@ -using Gee; - -namespace Dino.Plugins.Ice { - -internal static bool is_component_ready(Nice.Agent agent, uint stream_id, uint component_id) { - var state = agent.get_component_state(stream_id, component_id); - return state == Nice.ComponentState.CONNECTED || state == Nice.ComponentState.READY; -} - -internal Gee.List<string> get_local_ip_addresses() { - Gee.List<string> result = new ArrayList<string>(); - foreach (string ip_address in Nice.interfaces_get_local_ips(false)) { - result.add(ip_address); - } - return result; -} - -}
\ No newline at end of file |
