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

Remove mimetype #295

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

twitchard
Copy link

Labeling the audio that comes back from EVI with audio/mp3 is a lie. It's always WAV. We should just avoid labelling it, as putting a label on is unnecessary (the audio file has a header).

Merging it now will cause a Typescript error, need
HumeAI/hume-typescript-sdk#251
to be merged/released (and then will need to update this PR to reference the new version).

Copy link

vercel bot commented Jan 6, 2025

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

Name Status Preview Comments Updated (UTC)
empathic-voice-api-js-next-app ❌ Failed (Inspect) Jan 6, 2025 6:00pm

@@ -137,7 +137,7 @@ export const useSoundPlayer = (props: {
}

try {
const blob = convertBase64ToBlob(message.data, 'audio/mp3');
const blob = convertBase64ToBlob(message.data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This triggers an error in the PR Check workflow.

packages/react postinstall: src/lib/useSoundPlayer.ts(145,22): error TS2554: Expected 2 arguments, but got 1.

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.

2 participants