Skip to content

Conversation

activescott
Copy link
Owner

BREAKING CHANGE: The sessionRequest argument is no longer part of the constructor. The sessionRequested argument is no longe provided to the getRealtimeEphemeralAPIKey callback. The host application should know what session it wants and can always request whatever session it wants in the getRealtimeEphemeralAPIKey. See the WebRTC example for how to do this.

The hosting application is expected to manage the session request. This has presented a cleaner and more reliable API for us in production.

…osting application is expected to manage the session request. This has presented a cleaner and more reliable API for us in production.

BREAKING CHANGE: The sessionRequest argument is no longer part of the constructor. The sessionRequested argument is no longe provided to the getRealtimeEphemeralAPIKey callback. The host application should know what session it wants and can always request whatever session it wants in the getRealtimeEphemeralAPIKey. See the WebRTC example for how to do this.
@activescott activescott merged commit a7b8dc9 into main Feb 21, 2025
2 checks passed
@activescott activescott deleted the feat/ephemeral-key-request-changes branch February 21, 2025 05:06
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant