docs-livekit-guide-fixes
Fixes the LiveKit guide (docs/site/live-streams-bring-your-own-livekit.md) and the matching carlos store credential lines in docs/site/cli.md, from Paul's live test on dev on 2026-11-26 ("Fix the guide").
What changes
- Recording before write credentials are on. A new subsection, "Until write credentials are on". No CLI command gives you a credential to hand LiveKit:
carlos store statusshows only the key ID, and the secret is sealed. Instead, the app's server builds LiveKit'sS3Uploadfrom its own environment (CARLOS_STORE_ACCESS_KEY,CARLOS_STORE_SECRET_KEY,CARLOS_STORE_REGION,CARLOS_STORE_BUCKET, fromobjstore.EnvNameswithDefaultEnvPrefix;--env-prefixchanges them). The section has a short Go sample,storeUpload(). It says plainly that LiveKit then holds a credential for the whole store, which is the app's decision, thatrotate --finishduring a recording breaks the upload, and that write credentials replace this once they're on. The opening of "Recording into your store" and the privacy section are qualified to match. - Both refusal codes.
write_credentials_not_configuredmeans the deployment hasn't turned write credentials on; dev answers this today.write_credentials_not_releasedmeans the switch is on but the release is phase 1. Both are503(internal/console/apistorecredentials.go,writeCredentialsGates), and the v0.43.8 changelog entry says the same. - CLI version.
carlos store credentialneeds CLI v0.43.8 or later; an older CLI prints thecarlos storeusage. Commit 2cadcb43 is first in tag v0.43.8,store.goat v0.43.8 dispatchescredential, and the published v0.43.8 release carries CLI binaries. manifest_location. On a normal recording it points to the<egress_id>.jsonmanifest LiveKit writes beside the file in the app's own store. Apps can ignore or delete it. With backup storage used, it points to a manifest at LiveKit.
The parts the test confirmed are unchanged: file naming, Filename as the store key, no egress setting, the region with no tags, MP4 conversion, the StartEgress samples and the webhook handler.
Testing and review
- The new sample compiles (
go vet,go build, gofmt-clean) against server-sdk-go v2.20.1 and protocol v1.54.1 in a scratch module, together with astartRecordingthat uses it. go test ./internal/docsite/ ./internal/changelog/ ./internal/updatewords/passes.- Luna copy pass: brief
docs/superpowers/notes/LUNA-DOCS-BRIEF-live-byo-livekit-2.md, resultLUNA-DOCS-RESULT-live-byo-livekit-2.md. Rows 1-3, 5, 7 and 8 were applied verbatim (row 3 after its code name). Rows 4 and 6, endpoint support in the sample, were not applied. The page requires media conversion, and the console refuses to run media conversion whileCARLOS_STORE_ENDPOINTis set (cmd/console/media.go), so these apps never get an endpoint.
🤖 Generated with Claude Code
Commits
4
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed 2d3a4fee7 Merge main into docs-livekit-guide-fixes
- paul@keymail.dev pushed 706580608 Merge main into docs-livekit-guide-fixes
- paul@keymail.dev pushed af380352a docs: apply the Luna pass on the LiveKit guide fixes
- paul@keymail.dev pushed a43fdd5bf docs: LiveKit guide fixes from the 2026-11-26 live test