VoiceLiveModelFactory.IceServer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ICE server configuration for WebRTC connection negotiation.
public static Azure.AI.VoiceLive.IceServer IceServer(System.Collections.Generic.IEnumerable<Uri> uris = default, string username = default, string credential = default);
static member IceServer : seq<Uri> * string * string -> Azure.AI.VoiceLive.IceServer
Public Shared Function IceServer (Optional uris As IEnumerable(Of Uri) = Nothing, Optional username As String = Nothing, Optional credential As String = Nothing) As IceServer
Parameters
- uris
- IEnumerable<Uri>
List of ICE server URLs (e.g., TURN or STUN endpoints).
- username
- String
Optional username used for authentication with the ICE server.
- credential
- String
Optional credential (e.g., password or token) used for authentication.
Returns
A new IceServer instance for mocking.