AvatarConfiguration Class
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 class AvatarConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.AvatarConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.AvatarConfiguration>
type AvatarConfiguration = class
interface IJsonModel<AvatarConfiguration>
interface IPersistableModel<AvatarConfiguration>
Public Class AvatarConfiguration
Implements IJsonModel(Of AvatarConfiguration), IPersistableModel(Of AvatarConfiguration)
- Inheritance
-
AvatarConfiguration
- Implements
Constructors
| Name | Description |
|---|---|
| AvatarConfiguration(String, Boolean) |
Initializes a new instance of AvatarConfiguration. |
Properties
| Name | Description |
|---|---|
| AuditOutputAudio |
When enabled, forwards audit audio via WebSocket for review/debugging purposes, even when avatar output is delivered via WebRTC. |
| AvatarKind |
Type of avatar to use. |
| BaseMode |
Base model to use for the avatar. Required for photo avatar. |
| Character |
The character name or ID used for the avatar. |
| Customized |
Indicates whether the avatar is customized or not. |
| IceServers |
Optional list of ICE servers to use for WebRTC connection establishment. |
| OutputProtocol |
Output protocol for avatar streaming. Default is 'webrtc'. |
| Scene |
Configuration for the avatar's zoom level, position, rotation and movement amplitude in the video frame. |
| Style |
Optional avatar style, such as emotional tone or speaking style. |
| Video |
Optional video configuration including resolution, bitrate, and codec. |