Repository navigation
docs(voice): document the voice module end to end - #403
Draft
abrahams-wix wants to merge 4 commits into
Draft
abrahams-wix wants to merge 4 commits into
abrahams-wix wants to merge 4 commits into
Conversation
…nd limits Rewrite the voice module JSDoc so a developer can set up a live voice session end to end. - Explain the three components (frontend client, backend function, Base44) and what to set up in each. - Add the session flow as a diagram and a numbered list of the methods each step calls. - Add a "Set up the frontend client" section with an example. - Add a Limits table, field limits, and the missing error codes. - Define MCP profile, SDP, and the `deployed` environment value, and link the MCP profile to base44/mcp/config.json. - Add a caller check to the backend examples and a note on credits. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Put the frontend client bullets in the order the client does them, and reorder the example to match. - Say that the frontend client streams audio and receives events. - Fix the link to the renamed frontend client section. - Expand ICE at its first mention, name the noun in unclear pronouns, and make the bold labels consistent. - Fix typos in step 1 and in the microphone permission sentence. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nt sentence Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.64-pr.403.a7fb298Prefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.64-pr.403.a7fb298"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.64-pr.403.a7fb298"
}
}
Preview published to npm registry — try new features instantly! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Rewrites the JSDoc for the voice module (
voice.types.ts) so a developer new to WebRTC, SDP, and MCP can implement live voice end to end.How a voice session works(components, sequence diagram, numbered steps),Managing audio from a frontend client(with an example),Configure a voice agent,Limits, andAuthentication modes.createSession()andendSession(): all@throwscodes, examples that check the current user and release the billed session, and field limits on every option.mcpProfileIdlinks to the MCP config reference and says a wrong ID doesn't raise an error.Paired PR
This change reaches the public docs only when both PRs merge: https://github.com/base44-dev/mintlify-docs/pull/3550. The
mintlify-docsPR holds the regenerated reference page and the hand-writtenbase44/mcp/config.jsondocumentation.Verified
tsc --noEmitandvoice.test.ts(16 of 16) pass.apperorigin/main.Open questions for the backend team
oai-eventsdata channel name is required.VoiceSession.environmentdocumentsdeployed, but the TypeScript type is still"live" | "draft".🤖 Generated with Claude Code