From 9a232580beb54129a952db0740e29d935decebef Mon Sep 17 00:00:00 2001 From: td Date: Fri, 27 Jan 2023 12:05:07 +0000 Subject: [PATCH] fix: send all servers for getIceServers --- lib/src/voip/voip.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/voip/voip.dart b/lib/src/voip/voip.dart index 63e9a1ba..ed0b03cc 100644 --- a/lib/src/voip/voip.dart +++ b/lib/src/voip/voip.dart @@ -523,12 +523,11 @@ class VoIP { if (_turnServerCredentials == null) { return []; } - return [ { 'username': _turnServerCredentials!.username, 'credential': _turnServerCredentials!.password, - 'url': _turnServerCredentials!.uris[0] + 'urls': _turnServerCredentials!.uris } ]; }