Skip to content

Commit

Permalink
Add urls property in ice servers (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
FalguniV authored and childish-sambino committed Jul 3, 2019
1 parent 32cb966 commit 7ccdcf7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Twilio/Types/IceServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,24 @@ public class IceServer
[JsonProperty("url")]
public Uri Url { get; }

/// <summary>
/// Server URL
/// </summary>
[JsonProperty("urls")]
public Uri Urls { get; }

/// <summary>
/// Create a new IceServer
/// </summary>
/// <param name="credential">Ice Server credential</param>
/// <param name="username">Server username</param>
/// <param name="url">Server URL</param>
public IceServer(string credential, string username, Uri url) {
/// <param name="urls">Server URL</param>
public IceServer(string credential, string username, Uri url, Uri urls) {
Credential = credential;
Username = username;
Url = url;
Urls = urls;
}
}
}
Expand Down

0 comments on commit 7ccdcf7

Please sign in to comment.