Skip to content

Commit

Permalink
[Communication] - Identity/TURN - Update TURN response to use array o…
Browse files Browse the repository at this point in the history
…f urls (Azure#13157)

* update Identity and Turn swaggers to use common definition of CommunicationErrorResponse type

* Update Turn swagger to use definitions from CommunicationIdentity swagger

* update CommunicationIdentity to preview version to match with CommunicationTurn swagger

* update readme file with preview version of CommnicationIdentity.json

* add examples for CommunicationIdentity

* update urls in TURN response to be an array

Co-authored-by: Avin Pattath <avinp@microsoft.com>
  • Loading branch information
apattath and Avin Pattath authored Feb 25, 2021
1 parent f8a0c3a commit 1923479
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@
"type": "object",
"properties": {
"urls": {
"description": "URL of the server.",
"type": "string"
"description": "List of TURN server URLs.",
"type": "array",
"items": {
"type": "string"
}
},
"username": {
"description": "User account name which uniquely identifies the credentials.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"body": {
"turnServers": [
{
"urls": "turn:131.107.255.255:3478",
"urls": [
"turn:131.107.255.255:3478"
],
"username": "AgAAJNOeygwB1uVGvuwAVMHV4PLhYDgY66Fg1dUZvQ4AAAAEhXrhc8uJFjOK8lxEsZk3KIpWxc0=",
"credential": "9rl8ablFWj6/aqSuPLgLykLZKqw="
}
Expand Down

0 comments on commit 1923479

Please sign in to comment.