Discussions
Event handlers USER_TALKING_MESSAGE and USER_END_MESSAGE have undefined variable
about 7 hours ago by null
I tried to add event handlers for getting transcription from user speaking.
Code for this from API reference is:
avatar.on(StreamingEvents.USER_TALKING_MESSAGE, (message) => {
console.log('User talking message:', message);
});
avatar.on(StreamingEvents.USER_END_MESSAGE, (message) => {
console.log('User end message:', message);
});
Event handlers was fired, but both show message as undefined.
Is it a bug, am i missing something, is there an another variable with required text or something else?