文档

支持

Vivox Core SDK

Vivox Core SDK

Audio transcription delivery

Learn how audio transcription is delivered to clients.
阅读时间1 分钟最后更新于 12 天前

The Vivox SDK reports transcribed messages in
vx_evt_transcribed_message
events. If your organization has not been approved for transcription, then you do not receive
vx_evt_transcribed_message
events.
Note that transcribed messages are different from
vx_evt_message
events, which are the in-channel messages that are exchanged by participants. Transcribed messages are not stored in the channel and account message histories (persistent message archiving), and are only visible to the user that speech-to-text transcription is enabled for.
. . .void HandleEventMessage(vx_evt_transcribed_message *evt){ printf("Saw %s (lang: %s) from user %s in %s\n", evt->text, evt->language, evt->participant_uri, evt->session_handle);}. . .