Skip to content

Conversation

@jasonpraful
Copy link

Changes

  • Update useVoiceVisualizer() hook to accept and use mediaRecorderOptions when creating MediaRecorder instance.

Usage

const recorderControls = useVoiceVisualizer({ mediaRecorderOptions: { mimeType: 'audio/mp4', bitsPerSecond: 128000, } });

Notes

Hook now validates mimeType when passed and throws an error if the specified mimeType is not supported by the browser.

Closes: #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant