Name | Description |
---|---|
error | Triggered when there is an uncaught error. |
bye | Triggered when the session ends. |
initialSuccess | Digital human initialization successful. You can call the start method in the callback of this event |
show | Digital human has been displayed. |
progress | Digital human loading progress. |
speakSection | Current audio and text segment of the digital human speaking (the answer method will get results in streaming mode, if calling speak separately, this event is consistent with speakStart) |
speakStart | There is a slight delay between driving the digital human to speak and the actual speaking, this event indicates that the digital human has actually started speaking |
speakEnd | Digital human has finished speaking |
asrStart | Single sentence speech recognition started |
asrData | Single sentence real-time speech recognition results |
asrStop | Single sentence speech recognition ended |
report | Reports RTC network/picture quality and other information every second |
Name | Description | data |
---|---|---|
3001 | RIC connection failed | |
4001 | Failed to start session | |
4005 | Authentication failed | |
4007 | Server session abnormally ended | code: 100305 Model file not found |
4008 | Failed to get microphone stream | |
4009 | Browser cannot autoplay based on playback policy | Please consider muted playback or user operation to call the start method |