AvatarConfig class
Defines the talking avatar configuration.
Constructors
Avatar |
Creates and initializes an instance of this class. |
Properties
background |
Gets the background color. |
background |
Gets the background image. |
character | Defines the avatar character. |
customized | Indicates if the talking avatar is customized. |
remote |
Gets the remote ICE servers. |
style | Defines the avatar style. |
video |
Defines the talking avatar output video format. |
Constructor Details
AvatarConfig(string, string, AvatarVideoFormat)
Creates and initializes an instance of this class.
new AvatarConfig(character: string, style: string, videoFormat: AvatarVideoFormat)
Parameters
- character
-
string
The avatar character.
- style
-
string
The avatar style.
- videoFormat
- AvatarVideoFormat
The talking avatar output video format.
Property Details
backgroundColor
Gets the background color.
string backgroundColor
Property Value
string
backgroundImage
Gets the background image.
URL backgroundImage
Property Value
URL
character
Defines the avatar character.
character: string
Property Value
string
customized
Indicates if the talking avatar is customized.
boolean customized
Property Value
boolean
remoteIceServers
Gets the remote ICE servers.
RTCIceServer[] remoteIceServers
Property Value
RTCIceServer[]
The remote ICE servers.
style
Defines the avatar style.
style: string
Property Value
string
videoFormat
Defines the talking avatar output video format.
videoFormat: AvatarVideoFormat