Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Why not export subtitle function of RTCEngine? #81

Closed
forchid opened this issue Jan 17, 2025 · 2 comments
Closed

Bug: Why not export subtitle function of RTCEngine? #81

forchid opened this issue Jan 17, 2025 · 2 comments

Comments

@forchid
Copy link

forchid commented Jan 17, 2025

Environment

Steps To Reproduce

  1. I want to startSubtitle() in RealtimeClient, but can't find this method in coze realtime-api RealtimeClient.

Link to code example:

The current behavior

No subtitle function in RealtimeClient

The expected behavior

RealtimeClient provides subtitle functions such as startSubtitle(), onSubtitleMessageReceived() etc.

@jackshen310
Copy link
Collaborator

You can identify speech input subtitles through the following two events:

server.conversation.audio_transcript.delta - Real-time incremental subtitles
server.conversation.message.completed - Complete subtitles

You can try https://www.coze.cn/open-platform/realtime/playground for test

@forchid
Copy link
Author

forchid commented Jan 18, 2025

ok.

@forchid forchid closed this as completed Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants