Rapport Web Viewer - Breaking changes V5.0.0 (RC)
v5.0.0 (RC)
Breaking changes
TTS event changes:
The events named ttsOn, ttsOff, and ttsMessage have been replaced with new events named ttsStart and ttsEnd. These new events include the ttsMessage text value and are synchronized with the start and end of the character's speech animation.
Example:
scene.addEventListener('ttsStart', (e) => {
console.log(e.detail.text);
});
scene.addEventListener('ttsEnd', (e) => {
console.log(e.detail.text);
});
Bugfix
Fixed issue where audio from the previous session can be heard during rapid disconnection and reconnection.
We have enhanced the dependability of WebRTC connections, especially in certain network situations.