Skip to content

Commit 7b82012

Browse files
committed
docs(site): update agent readiness guidance for HLS startup
1 parent d5eac7b commit 7b82012

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/site/lib/agent-readiness.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Default hosted bases:
3838
Build this integration:
3939
1. Add server-side upload with @rend-sdk/client when possible, or use the public API if the app cannot install the SDK.
4040
2. Keep REND_API_KEY only on the server. Do not put it in browser code, mobile clients, logs, or NEXT_PUBLIC_* env vars.
41-
3. Upload the source video, then wait for playable_state to become opener_ready or hls_ready before returning success.
41+
3. Upload the source video, then wait for playable_state to become hls_ready before returning success.
4242
4. Store asset_id in my app database so future requests can fetch playback without reuploading.
4343
5. In browser UI, use ${siteOrigin}/embed/{assetId} for the hosted player, or call ${siteOrigin}/api/player/{assetId} from the site origin and render the returned source.
44-
6. Prefer the hosted Rend player for opener-first startup. For a bare video element, prefer manifest_url, then playback_url, then opener_url and use the matching content type.
44+
6. Prefer the hosted Rend player for HLS startup. For a bare video element, prefer manifest_url, then playback_url, then opener_url only for legacy assets and use the matching content type.
4545
7. Handle billing_required, limit_exceeded, unauthorized, not_playable, suspended, deleted, and upload too large states with clear user-facing messages.
4646
8. Add a smoke test or script that uploads a small fixture, waits for playback, prints an embed URL or HTML snippet, reads analytics if available, and deletes the test asset.`;

0 commit comments

Comments
 (0)