Start Streaming
Call the Start Avatar Streaming function to start streaming. The initialization parameters can optionally set the avatar streaming language, whether to output UI, etc.
Last updated
Call the Start Avatar Streaming function to start streaming. The initialization parameters can optionally set the avatar streaming language, whether to output UI, etc.
Last updated
show
boolean
true
Whether to display the avatar streaming screen
X
show_dialog
boolean
true
Whether to output the JavaScript SDK's default Dialog
X
show_loading
boolean
true
Whether to output a streaming loading screen
X
enable_microphone
boolean
true
Whether to use the JavaScript SDK microphone
X
avatar_id
String
Avatar ID to stream
O
voice_code
String
ko_kr
Voice language code for the avatar
ko_kr
: Korean
en_us
: English
ja_jp
: Japanese
es_es
: Spanish
id_id
: Indonesian
X
subtitle_code
String
ko_kr
Subtitle language code for the avatar
ko_kr
: Korean
en_us
: English
ja_jp
: Japanese
es_es
: Spanish
id_id
: Indonesian
X
voice_tts_speech_speed
double
1.0
Adjusting avatar speaking speed
X
fit
String
cover
Options for resizing Avatar streaming screen
contain
: full output while maintaining the streaming ratio
cover
: output full screen while maintaining streaming ratio
fill
: Disregard the streaming original proportions and fill the screen for output
none
: Do not scale the stream
scale_down
: output the smaller value of the alternative streaming between none and contain
X
width
double
Avatar streaming screen width px
X
height
double
Avatar streaming screen height px
X
radius
double
0
Roundness of corners for the avatar streaming screen border
X
primary_color
int
0xFF0C5EF0
Main color in the Javascript SDK UI
X
background_color
int
0xFFFFFFFF
Background color of the streaming screen
X