Share via


AvatarConfiguration Class

Definition

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

AvatarConfiguration(String, Boolean)

Initializes a new instance of AvatarConfiguration.

Properties

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.

Style

Optional avatar style, such as emotional tone or speaking style.

Video

Optional video configuration including resolution, bitrate, and codec.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvatarConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AvatarConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AvatarConfiguration>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AvatarConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AvatarConfiguration>.Write(ModelReaderWriterOptions)

Applies to