VoiceLiveModelFactory.AvatarConfiguration 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.
Configuration for avatar streaming and behavior during the session.
public static Azure.AI.VoiceLive.AvatarConfiguration AvatarConfiguration(System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.IceServer> iceServers = default, string character = default, string style = default, bool customized = false, Azure.AI.VoiceLive.VideoParams video = default);
static member AvatarConfiguration : seq<Azure.AI.VoiceLive.IceServer> * string * string * bool * Azure.AI.VoiceLive.VideoParams -> Azure.AI.VoiceLive.AvatarConfiguration
Public Shared Function AvatarConfiguration (Optional iceServers As IEnumerable(Of IceServer) = Nothing, Optional character As String = Nothing, Optional style As String = Nothing, Optional customized As Boolean = false, Optional video As VideoParams = Nothing) As AvatarConfiguration
Parameters
- iceServers
- IEnumerable<IceServer>
Optional list of ICE servers to use for WebRTC connection establishment.
- character
- String
The character name or ID used for the avatar.
- style
- String
Optional avatar style, such as emotional tone or speaking style.
- customized
- Boolean
Indicates whether the avatar is customized or not.
- video
- VideoParams
Optional video configuration including resolution, bitrate, and codec.
Returns
A new AvatarConfiguration instance for mocking.