Skip to content

Conversation

@tbrand
Copy link
Contributor

@tbrand tbrand commented Apr 18, 2025

Description of Changes

For bidirectional communication, I'm currently using AppSync Event API. However, since limit exceeds errors occur frequently, I'm buffering more than necessary. I'm using AppSync Event API to maintain a serverless architecture, but if I determine it's difficult during the trial period, I may switch to a different implementation.

Let me explain the handshake flow. The client generates a channel ID and connects to that channel (via AppSync).
The server invokes a Lambda task with the channel ID as a parameter. Lambda then connects to AppSync accordingly, and after connecting, sends a notification that it's ready to AppSync. Once the client receives the ready notification, it begins transmitting audio.

Architecture Concerns

Checklist

  • Executed npm run lint
  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

#990

@tbrand tbrand changed the title Sonic wip Support Nova Sonic Apr 21, 2025
@tbrand tbrand added the minor Changes equivalent to a minor version increment label Apr 21, 2025
@tbrand tbrand marked this pull request as ready for review April 21, 2025 03:39
Copy link
Collaborator

@maekawataiki maekawataiki left a comment

Choose a reason for hiding this comment

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

LGTM!

@maekawataiki maekawataiki merged commit e557b71 into main May 7, 2025
2 checks passed
@tbrand tbrand deleted the sonic-wip branch May 8, 2025 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Changes equivalent to a minor version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants