Merge branch 'td/iceServers' into 'main'

fix: send all servers for getIceServers

See merge request famedly/company/frontend/famedlysdk!1219
This commit is contained in:
td 2023-01-27 12:05:07 +00:00
commit 938b475127
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
} }
]; ];
} }