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

にじボイスのAPIからBase64の音声データを返すAPIが出たのでそれを利用するように変更 #30

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

keitakn
Copy link
Owner

@keitakn keitakn commented Jan 13, 2025

issueURL

#29

この PR で対応する範囲 / この PR で対応しない範囲

タイトルの通り、にじボイスのAPIのBase64版を利用するように変更する。

変更点概要

  • バックエンドからWebSocketで audio を返しているがこの値はBase64された値 generatedVoice.base64Audio に変更
  • これに伴い R2 に音声データを保存する処理は削除する
  • フロント側 playAudio 関数をBase64データが直接渡されてくる前提の処理に変更
  • MessageCard に音声URLを受け取って再生出来る処理は削除

レビュアーに重点的にチェックして欲しい点

特になし

補足情報

特になし

@keitakn keitakn self-assigned this Jan 13, 2025
Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
realtime-api-web-console ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2025 9:18am

@keitakn keitakn merged commit 178c1d6 into main Jan 13, 2025
5 checks passed
@keitakn keitakn deleted the feature/issue29 branch January 13, 2025 09:20
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

Successfully merging this pull request may close these issues.

1 participant