Skip to content

resolve max limit issue #33

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

Merged
merged 2 commits into from
Apr 16, 2025
Merged

resolve max limit issue #33

merged 2 commits into from
Apr 16, 2025

Conversation

louisjoecodes
Copy link
Collaborator

@louisjoecodes louisjoecodes commented Apr 16, 2025

Resolves: #31 #32

@louisjoecodes louisjoecodes requested a review from Copilot April 16, 2025 15:58
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request resolves maximum WebSocket message size issues by updating version constants and adding logic to split large audio chunks into smaller messages. Key changes include:

  • Updating the SDK version and adding new constants for WebSocket message size limits.
  • Inserting logic to split base64-encoded audio chunks if they exceed the specified maximum size.
  • Adjusting the audio processing method to send data in smaller, manageable chunks.

@louisjoecodes louisjoecodes merged commit 65f7bb4 into main Apr 16, 2025
1 check passed
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.

WebSocket error: The operation couldn't be completed. Message too long
1 participant