fix: send all servers for getIceServers

This commit is contained in:
td 2023-01-27 12:05:07 +00:00
parent da0b3c4c46
commit 9a232580be
1 changed files with 1 additions and 2 deletions

View File

@ -523,12 +523,11 @@ class VoIP {
if (_turnServerCredentials == null) { if (_turnServerCredentials == null) {
return []; return [];
} }
return [ return [
{ {
'username': _turnServerCredentials!.username, 'username': _turnServerCredentials!.username,
'credential': _turnServerCredentials!.password, 'credential': _turnServerCredentials!.password,
'url': _turnServerCredentials!.uris[0] 'urls': _turnServerCredentials!.uris
} }
]; ];
} }