Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.
SDK v7.x · Last verified March 2026 · iOS · Android · Web
Speed run — just the code
import { RoomRepository, PostRepository } from '@amityco/ts-sdk';import { Room as LiveKitRoom } from 'livekit-client';// 1. Create a room with live chat enabledconst { data: room } = await RoomRepository.createRoom({ title: 'Friday AMA', channelEnabled: true,});// 2. Publish a livestream postawait PostRepository.createPost({ targetType: 'community', targetId: communityId, dataType: 'livestream', data: { streamId: room.roomId },});// 3. Get broadcaster credentials & connectconst bd = await RoomRepository.getBroadcasterData(room.roomId);const lk = new LiveKitRoom();await lk.connect(bd.coHostUrl, bd.coHostToken);await lk.localParticipant.setCameraEnabled(true);await lk.localParticipant.setMicrophoneEnabled(true);// 4. Stop & get recordingawait lk.disconnect();await RoomRepository.stopRoom(room.roomId);
Full walkthrough below ↓
Platform note — code samples below use TypeScript. Every method has an equivalent in the iOS (Swift) and Android (Kotlin) SDKs — see the linked SDK reference in each step.
Host broadcasting with live chat overlay
This guide covers the host’s journey: create a room, wire up the broadcast, monitor lifecycle transitions, query live rooms for a “Live Now” section, and access recordings after the stream ends.
Prerequisites: SDK + Video SDK installed and authenticated → Video Getting Started. A communityId is required — rooms are community-only.
Quick Start: Create a Room and Go Live
const { data: room } = await RoomRepository.createRoom({ title: 'Product Launch Event', description: 'Join us for the unveiling', channelEnabled: true, // auto-creates a live chat channel});console.log('Room created:', room.roomId, '— status:', room.status); // IDLE
Get broadcaster credentials and connect to LiveKit
Fetch the LiveKit URL and token, then connect the host’s camera and microphone.
import { Room as LiveKitRoom, RoomEvent } from 'livekit-client';const broadcastData = await RoomRepository.getBroadcasterData(room.roomId);const liveKitRoom = new LiveKitRoom();liveKitRoom.on(RoomEvent.Connected, () => console.log('Connected!'));liveKitRoom.on(RoomEvent.Disconnected, (reason) => console.log('Disconnected:', reason));await liveKitRoom.connect(broadcastData.coHostUrl, broadcastData.coHostToken);await liveKitRoom.localParticipant.setCameraEnabled(true);await liveKitRoom.localParticipant.setMicrophoneEnabled(true);// Room status is now LIVE
Stopping the room before disconnecting LiveKit — Always call liveKitRoom.disconnect() first, then RoomRepository.stop(roomId). Reversing the order can leave orphaned media tracks.
Forgetting to end rooms when the stream stops — If the broadcaster disconnects without calling stop(), the room stays in live status and appears in “Live Now” feeds as a ghost stream. Always call stop in your cleanup logic.
// ❌ Bad — broadcaster crashes, room stays livewindow.onbeforeunload = () => { /* nothing */ };// ✅ Good — end room on disconnectwindow.onbeforeunload = () => { RoomRepository.stopRoom(roomId);};
Not refreshing the LiveKit token — LiveKit tokens expire. If you don’t handle token refresh, the video connection drops mid-stream. Implement a token renewal callback.
Creating rooms without channelEnabled: true — Without this flag, no live chat channel is created and viewers can’t comment during the stream. Almost all livestream UIs need live chat.
Not observing the room lifecycle — The status transitions (idle → live → ended → recorded) are asynchronous. Hardcoding delays instead of observing the room live object results in brittle UI states.
Polling for recordings too aggressively — Recordings take a few minutes to process. Use the room’s live object with a dataUpdated listener to detect when status === 'recorded' rather than polling every second.
Best Practices
Startup latency
Pre-fetch getBroadcastData() before the user taps “Go Live” to cut startup time
Request camera and microphone permissions during the room creation step, not at connect time
Show a preview of the camera feed while the LiveKit connection is establishing
Reconnection handling
Listen for RoomEvent.Reconnecting and RoomEvent.Reconnected from LiveKit
Show a “Reconnecting…” banner to the host — don’t silently drop to ended
Configure LiveKit’s autoSubscribe and reconnectPolicy for aggressive retry
Broadcasting UX
Show a 3-second countdown before going live so the broadcaster can prepare
Display a “LIVE” badge with a pulsing animation on the post card in the feed
Show concurrent viewer count in real-time using the room’s participant data
Provide camera flip, mute, and end-stream controls in a floating overlay
Viewer experience
Auto-play the livestream on mute when the post enters the viewport — require a tap for audio
Show the live chat alongside the video in a split-screen layout
Allow viewers to send reactions (emoji) that float across the video
When the stream ends, show a “Stream ended” card with a link to the recording when available
Recordings
The livestream post stays in the feed after the stream ends — update it to show the recording thumbnail
Store recording URLs in your backend; platform URLs may have retention policies
Offer a “Watch replay” CTA on the post once status === 'recorded'
Next Steps
Your next step → Short-Form Video Clips
Livestreams are running — now add TikTok-style clip posts for shorter, snackable video content.
Or explore related guides:
Co-Hosting
Invite co-hosts to share the stage during a broadcast.
Live Chat & Engagement
Wire up chat, reactions, and viewer count alongside the video.
Product Tagging
Pin products to the stream for live commerce.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"social.plus","description":"social.plus is a feature-rich SDK for building chat, communities, feeds, live video, and social experiences. Comprehensive documentation for the SDK, UIKit, and platform APIs.","colors":{"primary":"#3b41ec","light":"#6366f1","dark":"#3b41ec"},"logo":{"light":"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/5Nu8zIBxdzFlyN60/logo/light.svg?fit=max\u0026auto=format\u0026n=5Nu8zIBxdzFlyN60\u0026q=85\u0026s=d70ebb4697c1c68a517f8d2b1285380b","dark":"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/5Nu8zIBxdzFlyN60/logo/dark.svg?fit=max\u0026auto=format\u0026n=5Nu8zIBxdzFlyN60\u0026q=85\u0026s=9dcd11df21f29f9735969df59b3e2ffe"},"favicon":"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/favicon.svg?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=999025267802abd23424eecffd7059d4","navbar":{"primary":{"type":"button","label":"Talk to Sales","href":"https://www.social.plus/contact/contact-sales"}},"footer":{"socials":{"github":"https://github.com/Amityco","linkedin":"https://www.linkedin.com/company/socialpluscorp"}},"integrations":{"ga4":{"measurementId":"G-SVLMXB68RR"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"social-b97141fb-auto-generate-llmstxt","hasAudioNarration":false,"actualSubdomain":"social-b97141fb-auto-generate-llmstxt","customDomains":[],"gitSource":{"type":"github","owner":"amityco","repo":"social-plus-docs","deployBranch":"auto/generate-llmstxt","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6af3fdbc5c6c81a2325e6971:success","clientVersion":"0.0.4128","preview":{"mainDeploymentId":"68243ed0c5d684616acac618","changedFiles":[],"mainDeployment":{"subdomain":"social-b97141fb","customDomains":["learn.social.plus"],"basePath":""}},"searchFilterCounts":[{"language":"default","tag":"API","count":593},{"language":"default","tag":"SDK","count":184},{"language":"default","tag":"Webhook event","count":101},{"language":"default","tag":"Realtime event","count":94},{"language":"default","tag":"Social","count":83},{"language":"default","tag":"Analytics \u0026 Moderation","count":58},{"language":"default","tag":"Content Management","count":44},{"language":"default","tag":"UIKit","count":41},{"language":"default","tag":"Chat","count":40},{"language":"default","tag":"Fundamentals","count":40}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[],"preview":{"mainDeploymentId":"68243ed0c5d684616acac618","changedFiles":[],"mainDeployment":{"subdomain":"social-b97141fb","customDomains":["learn.social.plus"],"basePath":""}},"editorBaseUrl":"https://app.mintlify.com/social-b97141fb/social-b97141fb/editor/auto%2Fgenerate-llmstxt/~","googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: italic;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Figtree';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--hero-bg-primary: #ffffff;--hero-bg-secondary: rgba(59, 65, 236, 0.05);--hero-bg-gradient: radial-gradient(50% 50% at 50% 50%, rgba(59, 65, 236, 0.08) 39.4%, rgba(255, 255, 255, 0) 100%);--hero-text-primary: #1a1a2e;--hero-text-secondary: rgba(60, 60, 70, 0.8);--hero-line-color: rgba(0, 0, 0, 0.08);--hero-line-accent: rgba(0, 0, 0, 0.06);--search-bg: rgba(255, 255, 255, 0.8);--search-border: rgba(160, 160, 165, 0.3);--search-text: #1a1a2e;--search-placeholder: rgba(0, 0, 0, 0.6);--search-hover-bg: rgba(59, 65, 236, 0.1);--search-hover-border: rgba(59, 65, 236, 0.3);--card-bg: rgba(255, 255, 255, 0.8);--card-border: rgba(160, 160, 165, 0.3);--card-hover-bg: rgba(255, 255, 255, 0.95);--card-text: #1a1a2e;--card-text-secondary: rgba(60, 60, 70, 0.8)}.announcement-banner{position:relative;width:100%;box-sizing:border-box;margin:0 0 1rem 0;padding:0.65rem 1rem;background:linear-gradient(90deg, rgba(59,65,236,0.12), rgba(99,102,241,0.12));font-size:0.875rem;display:flex;justify-content:center;align-items:center;gap:.5rem;backdrop-filter:blur(6px);z-index:1}.announcement-banner .announcement-lead{font-weight:700;color:#1a1a2e}.announcement-banner .announcement-rest{color:#1f2230}.announcement-banner .announcement-link{color:#1a1a2e;text-decoration:underline;text-underline-offset:2px;font-weight:600}.announcement-banner .announcement-link:hover{text-decoration-thickness:2px}.announcement-banner .announcement-text{text-align:center}.announcement-banner a:hover{text-decoration:none}[data-theme=\"dark\"] .announcement-banner,html[data-theme=\"dark\"] .announcement-banner,.dark .announcement-banner,html.dark .announcement-banner{background:linear-gradient(90deg, rgba(59,65,236,0.22), rgba(99,102,241,0.22))}[data-theme=\"dark\"] .announcement-banner .announcement-lead,html[data-theme=\"dark\"] .announcement-banner .announcement-lead,.dark .announcement-banner .announcement-lead,html.dark .announcement-banner .announcement-lead{color:#ffffff}[data-theme=\"dark\"] .announcement-banner .announcement-rest,html[data-theme=\"dark\"] .announcement-banner .announcement-rest,.dark .announcement-banner .announcement-rest,html.dark .announcement-banner .announcement-rest{color:#f2f3ff}[data-theme=\"dark\"] .announcement-banner,html[data-theme=\"dark\"] .announcement-banner,.dark .announcement-banner,html.dark .announcement-banner{background:linear-gradient(90.08deg, #3B41EC 0%, #222586 100%)}[data-theme=\"dark\"] .announcement-banner .announcement-link,html[data-theme=\"dark\"] .announcement-banner .announcement-link,.dark .announcement-banner .announcement-link,html.dark .announcement-banner .announcement-link{color:#ffffff}[data-theme=\"dark\"] .announcement-banner .announcement-link:hover,html[data-theme=\"dark\"] .announcement-banner .announcement-link:hover,.dark .announcement-banner .announcement-link:hover,html.dark .announcement-banner .announcement-link:hover{text-decoration-thickness:2px}[data-theme=\"dark\"],html[data-theme=\"dark\"],.dark,html.dark{--hero-bg-primary: #0a0a0f;--hero-bg-secondary: rgba(10, 10, 15, 0);--hero-bg-gradient: radial-gradient(50% 50% at 50% 50%, rgba(59, 65, 236, 0.1) 39.4%, rgba(10, 10, 15, 0) 100%);--hero-text-primary: #ffffff;--hero-text-secondary: rgba(160, 160, 165, 1);--hero-line-color: rgba(255, 255, 255, 0.08);--hero-line-accent: rgba(255, 255, 255, 0.06);--search-bg: rgba(10, 10, 15, 0.5);--search-border: rgba(160, 160, 165, 0.5);--search-text: #ffffff;--search-placeholder: rgba(255, 255, 255, 0.6);--search-hover-bg: rgba(255, 255, 255, 0.15);--search-hover-border: rgba(255, 255, 255, 0.3);--card-bg: rgba(10, 10, 15, 0.5);--card-border: rgba(160, 160, 165, 0.5);--card-hover-bg: rgba(20, 20, 25, 0.8);--card-text: #ffffff;--card-text-secondary: rgba(160, 160, 165, 1)}html,body,*{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important}[data-theme=\"dark\"],[data-theme=\"light\"],.mintlify-content,.docs-content,.navigation,.sidebar,.content,.main-content{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important}h1,h2,h3,h4,h5,h6{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important;font-weight:600!important}p,span,div,a,li,td,th{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important;font-weight:400!important}.nav-item,.sidebar-item,button,input,select,textarea{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important}pre,code{font-family:'JetBrains Mono', 'Fira Code', 'Consolas', monospace!important}.card,.card *,.accordion,.accordion *,.tab,.tab *{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important}.hero-section{background:var(--hero-bg-gradient);background-color:var(--hero-bg-primary);min-height:60vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:-2rem -2rem 4rem -2rem;padding:4rem 2rem;transition:background-color 0.3s ease, background 0.3s ease}.hero-section::before{content:'';position:absolute;top:10%;right:-10%;width:40%;height:80%;pointer-events:none;z-index:0;border-left:1px solid var(--hero-line-color);border-top:1px solid var(--hero-line-accent);border-radius:50% 0 0 50%;transform:rotate(-15deg);transition:border-color 0.3s ease}.hero-section::after{content:'';position:absolute;bottom:10%;left:-10%;width:40%;height:80%;pointer-events:none;z-index:0;border-right:1px solid var(--hero-line-color);border-bottom:1px solid var(--hero-line-accent);border-radius:0 50% 50% 0;transform:rotate(-15deg);transition:border-color 0.3s ease}.hero-section .hero-content::before{content:'';position:absolute;top:20%;right:10%;width:30%;height:1px;background:linear-gradient(90deg, transparent, var(--hero-line-color), transparent);transform:rotate(45deg);z-index:0;transition:background 0.3s ease}.hero-section .hero-content::after{content:'';position:absolute;bottom:20%;left:10%;width:30%;height:1px;background:linear-gradient(90deg, transparent, var(--hero-line-color), transparent);transform:rotate(-45deg);z-index:0;transition:background 0.3s ease}.hero-content{text-align:center;z-index:1;position:relative;max-width:64rem;width:100%}.hero-text{margin-top:4rem;margin-bottom:0rem}.hero-title{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;font-size:3.5rem;font-weight:900;color:var(--hero-text-primary);margin-bottom:1.5rem;line-height:1.1;text-shadow:0 4px 8px rgba(0, 0, 0, 0.3);transition:color 0.3s ease}@media (max-width: 768px){.hero-title{font-size:2.5rem}}.hero-description{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;font-size:1rem;font-weight:400;color:var(--hero-text-secondary);max-width:42rem;margin:0 auto;line-height:1.6;text-shadow:0 2px 4px rgba(0, 0, 0, 0.2);transition:color 0.3s ease}:root .hero-title,:not([data-theme=\"dark\"]) .hero-title,:not(.dark) .hero-title{text-shadow:0 2px 4px rgba(0, 0, 0, 0.1)}:root .hero-description,:not([data-theme=\"dark\"]) .hero-description,:not(.dark) .hero-description{text-shadow:none}:root .search-icon,:not([data-theme=\"dark\"]) .search-icon,:not(.dark) .search-icon{opacity:0.8}:root .hero-section::before,:root .hero-section::after,:not([data-theme=\"dark\"]) .hero-section::before,:not([data-theme=\"dark\"]) .hero-section::after,:not(.dark) .hero-section::before,:not(.dark) .hero-section::after{opacity:0.6}[data-theme=\"dark\"] .hero-title,html[data-theme=\"dark\"] .hero-title,.dark .hero-title,html.dark .hero-title{text-shadow:0 4px 8px rgba(0, 0, 0, 0.3)}[data-theme=\"dark\"] .hero-description,html[data-theme=\"dark\"] .hero-description,.dark .hero-description,html.dark .hero-description{text-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}*{transition:background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease}:root .cards-section .card:hover h3,:root .cards-section .card:hover h4,:not([data-theme=\"dark\"]) .cards-section .card:hover h3,:not([data-theme=\"dark\"]) .cards-section .card:hover h4,:not(.dark) .cards-section .card:hover h3,:not(.dark) .cards-section .card:hover h4{color:rgba(59, 65, 236, 0.9)!important;text-shadow:none}[data-theme=\"dark\"] .cards-section .card:hover h3,[data-theme=\"dark\"] .cards-section .card:hover h4,html[data-theme=\"dark\"] .cards-section .card:hover h3,html[data-theme=\"dark\"] .cards-section .card:hover h4,.dark .cards-section .card:hover h3,.dark .cards-section .card:hover h4,html.dark .cards-section .card:hover h3,html.dark .cards-section .card:hover h4{color:rgba(99, 102, 241, 1)!important;text-shadow:0 0 12px rgba(99, 102, 241, 0.3)}.search-container{display:flex;justify-content:center;margin-top:1rem}.search-box{display:flex;align-items:center;background:var(--search-bg)!important;border:1px solid var(--search-border)!important;backdrop-filter:blur(10px);border-radius:0.75rem;padding:0.4rem 0.75rem;min-width:20rem;transition:all 0.3s ease;cursor:pointer}.search-box:hover{background:var(--search-hover-bg)!important;border-color:var(--search-hover-border)!important}.search-icon{margin-right:0.75rem;opacity:0.7}.search-input{flex:1;background:transparent;border:none;outline:none;color:var(--search-text);font-size:1rem;cursor:pointer;pointer-events:none;transition:color 0.3s ease}.search-input::placeholder{color:var(--search-placeholder);transition:color 0.3s ease}.search-shortcut{padding:0.2rem 0.5rem;border-radius:0.375rem;font-size:0.75rem;color:var(--search-text);margin-left:0.5rem;opacity:0.8;transition:color 0.3s ease, opacity 0.3s ease}.cards-section{max-width:64rem;margin:0 auto;padding:2rem}.cards-section .card,.hero-section+.cards-section .card{background:var(--card-bg)!important;border:1px solid var(--card-border)!important;text-align:left!important;transition:all 0.3s ease!important}.cards-section .card:hover{background:var(--card-hover-bg)!important;border-color:rgba(59, 65, 236, 0.4)!important;transform:translateY(-4px)!important;box-shadow:0 12px 24px rgba(0, 0, 0, 0.1),\n 0 4px 8px rgba(59, 65, 236, 0.15)!important}.cards-section .card h3,.cards-section .card h4,.cards-section .card p,.cards-section .card div{text-align:left!important;color:var(--card-text)!important;transition:color 0.3s ease!important}.cards-section .card p{color:var(--card-text-secondary)!important}.cards-section .card:hover h3,.cards-section .card:hover h4{color:rgba(59, 65, 236, 1)!important}@media (max-width: 768px){.hero-section{margin:-1rem -1rem 2rem -1rem;padding:3rem 1rem;min-height:50vh}.search-box{min-width:16rem}.cards-section{padding:1rem}}.cards-section .card{transition:all 0.4s cubic-bezier(0.23, 1, 0.32, 1)!important;transform:perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(0)!important;transform-style:preserve-3d!important;position:relative!important;overflow:hidden!important}.cards-section .card::before{content:'';position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;background:linear-gradient(45deg, \n rgba(59, 65, 236, 0.3), \n rgba(99, 102, 241, 0.2), \n rgba(59, 65, 236, 0.1),\n rgba(59, 65, 236, 0.4)\n );background-size:300% 300%;border-radius:inherit;z-index:-1;opacity:0;animation:gradientShift 3s ease infinite;transition:opacity 0.3s ease}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.cards-section .card:hover{transform:perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(20px) scale(1.02)!important;border-color:transparent!important;box-shadow:0 25px 50px rgba(0, 0, 0, 0.2),\n 0 0 30px rgba(59, 65, 236, 0.3),\n inset 0 1px 0 rgba(59, 65, 236, 0.1)!important}[data-theme=\"dark\"] .cards-section .card:hover,html[data-theme=\"dark\"] .cards-section .card:hover,.dark .cards-section .card:hover,html.dark .cards-section .card:hover{background:rgba(20, 20, 25, 0.8)!important;box-shadow:0 25px 50px rgba(0, 0, 0, 0.4),\n 0 0 30px rgba(59, 65, 236, 0.3),\n inset 0 1px 0 rgba(255, 255, 255, 0.1)!important}:root .cards-section .card:hover,:not([data-theme=\"dark\"]) .cards-section .card:hover,:not(.dark) .cards-section .card:hover{background:rgba(255, 255, 255, 0.95)!important;box-shadow:0 25px 50px rgba(0, 0, 0, 0.15),\n 0 0 30px rgba(59, 65, 236, 0.2),\n inset 0 1px 0 rgba(59, 65, 236, 0.1)!important}.cards-section .card:hover::before{opacity:1}.search-box{transition:all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);position:relative;overflow:visible}.search-box::before{content:'';position:absolute;top:50%;left:50%;width:4px;height:4px;background:rgba(59, 65, 236, 0.8);border-radius:50%;transform:translate(-50%, -50%);opacity:0;transition:all 0.6s ease;box-shadow:0 0 0 0 rgba(59, 65, 236, 0.6),\n 10px -10px 0 0 rgba(99, 102, 241, 0.6),\n -10px 10px 0 0 rgba(139, 92, 246, 0.6),\n 15px 15px 0 0 rgba(59, 65, 236, 0.4),\n -15px -15px 0 0 rgba(99, 102, 241, 0.4)}.search-box:hover{background:var(--search-hover-bg)!important;border-color:rgba(59, 65, 236, 0.7)!important;transform:scale(1.05);box-shadow:0 20px 40px rgba(0, 0, 0, 0.1),\n 0 0 60px rgba(59, 65, 236, 0.4),\n inset 0 1px 0 rgba(59, 65, 236, 0.2)}[data-theme=\"dark\"] .search-box:hover,html[data-theme=\"dark\"] .search-box:hover,.dark .search-box:hover,html.dark .search-box:hover{background:rgba(255, 255, 255, 0.15)!important;border-color:rgba(255, 255, 255, 0.3)!important;box-shadow:0 20px 40px rgba(0, 0, 0, 0.25),\n 0 0 60px rgba(59, 65, 236, 0.4),\n inset 0 1px 0 rgba(255, 255, 255, 0.2)}:root .search-box:hover,:not([data-theme=\"dark\"]) .search-box:hover,:not(.dark) .search-box:hover{background:rgba(59, 65, 236, 0.1)!important;border-color:rgba(59, 65, 236, 0.3)!important;box-shadow:0 20px 40px rgba(0, 0, 0, 0.1),\n 0 0 60px rgba(59, 65, 236, 0.4),\n inset 0 1px 0 rgba(59, 65, 236, 0.2)}.search-box:hover::before{opacity:1;transform:translate(-50%, -50%) scale(1.5)}.search-icon{transition:all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)}.search-box:hover .search-icon{transform:scale(1.3);opacity:1;filter:drop-shadow(0 0 8px rgba(59, 65, 236, 0.3))}.search-shortcut{transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}.search-box:hover .search-shortcut{background:rgba(59, 65, 236, 0.7);transform:scale(1.05);backdrop-filter:blur(12px);box-shadow:0 2px 8px rgba(59, 65, 236, 0.2)}.cards-section .card h3,.cards-section .card h4{transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)!important;position:relative;z-index:2}.cards-section .card:hover h3,.cards-section .card:hover h4{color:rgba(99, 102, 241, 1)!important;transform:translateY(-2px);text-shadow:0 0 12px rgba(99, 102, 241, 0.3)}.cards-section .card p{transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)!important;position:relative;z-index:2}.cards-section .card:hover p{transform:translateY(-1px)}.cards-section .card::after{content:'';position:absolute;top:50%;left:50%;width:0;height:0;background:radial-gradient(circle, rgba(59, 65, 236, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);border-radius:50%;transform:translate(-50%, -50%);transition:all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);z-index:1;pointer-events:none}.cards-section .card:active::after{width:250px;height:250px}.cards-section .card:focus-visible{outline:2px solid rgba(59, 65, 236, 0.7);outline-offset:3px;box-shadow:0 0 0 4px rgba(59, 65, 236, 0.15)}.search-box:focus-within{border-color:rgba(59, 65, 236, 0.6)!important;box-shadow:0 0 0 4px rgba(59, 65, 236, 0.15),\n 0 8px 20px rgba(0, 0, 0, 0.15)}.cards-section .card:active::after{width:300px;height:300px}[data-theme=\"dark\"] .hero-section,html[data-theme=\"dark\"] .hero-section,.dark .hero-section,html.dark .hero-section{background:radial-gradient(50% 50% at 50% 50%, rgba(59, 65, 236, 0.1) 39.4%, rgba(10, 10, 15, 0) 100%)!important;background-color:#0a0a0f!important}[data-theme=\"dark\"] .hero-title,html[data-theme=\"dark\"] .hero-title,.dark .hero-title,html.dark .hero-title{color:#ffffff!important}[data-theme=\"dark\"] .hero-description,html[data-theme=\"dark\"] .hero-description,.dark .hero-description,html.dark .hero-description{color:rgba(160, 160, 165, 1)!important}[data-theme=\"dark\"] .search-box,html[data-theme=\"dark\"] .search-box,.dark .search-box,html.dark .search-box{background:rgba(10, 10, 15, 0.5)!important;border:1px solid rgba(160, 160, 165, 0.5)!important}[data-theme=\"dark\"] .search-input,html[data-theme=\"dark\"] .search-input,.dark .search-input,html.dark .search-input{color:#ffffff!important}[data-theme=\"dark\"] .search-input::placeholder,html[data-theme=\"dark\"] .search-input::placeholder,.dark .search-input::placeholder,html.dark .search-input::placeholder{color:rgba(255, 255, 255, 0.6)!important}[data-theme=\"dark\"] .search-shortcut,html[data-theme=\"dark\"] .search-shortcut,.dark .search-shortcut,html.dark .search-shortcut{color:rgba(255, 255, 255, 0.8)!important}[data-theme=\"dark\"] .cards-section .card,html[data-theme=\"dark\"] .cards-section .card,.dark .cards-section .card,html.dark .cards-section .card{background:rgba(10, 10, 15, 0.5)!important;border:1px solid rgba(160, 160, 165, 0.5)!important}[data-theme=\"dark\"] .cards-section .card h3,[data-theme=\"dark\"] .cards-section .card h4,[data-theme=\"dark\"] .cards-section .card p,html[data-theme=\"dark\"] .cards-section .card h3,html[data-theme=\"dark\"] .cards-section .card h4,html[data-theme=\"dark\"] .cards-section .card p,.dark .cards-section .card h3,.dark .cards-section .card h4,.dark .cards-section .card p,html.dark .cards-section .card h3,html.dark .cards-section .card h4,html.dark .cards-section .card p{color:#ffffff!important}[data-theme=\"dark\"] .cards-section .card p,html[data-theme=\"dark\"] .cards-section .card p,.dark .cards-section .card p,html.dark .cards-section .card p{color:rgba(160, 160, 165, 1)!important}[data-theme=\"dark\"] .hero-section::before,[data-theme=\"dark\"] .hero-section::after,html[data-theme=\"dark\"] .hero-section::before,html[data-theme=\"dark\"] .hero-section::after,.dark .hero-section::before,.dark .hero-section::after,html.dark .hero-section::before,html.dark .hero-section::after{border-color:rgba(255, 255, 255, 0.08)!important}[data-theme=\"dark\"] .hero-section::before,html[data-theme=\"dark\"] .hero-section::before,.dark .hero-section::before,html.dark .hero-section::before{border-left-color:rgba(255, 255, 255, 0.08)!important;border-top-color:rgba(255, 255, 255, 0.06)!important}[data-theme=\"dark\"] .hero-section::after,html[data-theme=\"dark\"] .hero-section::after,.dark .hero-section::after,html.dark .hero-section::after{border-right-color:rgba(255, 255, 255, 0.08)!important;border-bottom-color:rgba(255, 255, 255, 0.06)!important}[data-theme=\"dark\"] .hero-section .hero-content::before,[data-theme=\"dark\"] .hero-section .hero-content::after,html[data-theme=\"dark\"] .hero-section .hero-content::before,html[data-theme=\"dark\"] .hero-section .hero-content::after,.dark .hero-section .hero-content::before,.dark .hero-section .hero-content::after,html.dark .hero-section .hero-content::before,html.dark .hero-section .hero-content::after{background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent)!important}.hero-section,.hero-section *,.search-container,.search-container *,.cards-section,.cards-section *{font-family:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif!important}.search-input{font-weight:400}.search-shortcut{font-weight:500}.cards-section .card h3,.cards-section .card h4{font-weight:600!important}.cards-section .card p{font-weight:400!important}"}],"page":{"pagePath":"use-cases/social/livestream/go-live-and-room-management","slug":"/use-cases/social/livestream/go-live-and-room-management","pageMetadata":{"title":"Go Live \u0026 Room Management","description":"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.","href":"/use-cases/social/livestream/go-live-and-room-management"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Frame,Heading,Info,Mermaid,OptimizedImage,Step,Steps,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[_jsx(_components.strong,{children:`SDK v7.x`}),` · Last verified March 2026 · iOS · Android · Web`]}),`\n`,_jsxs(Accordion,{title:`Speed run — just the code`,icon:`forward`,id:`speed-run-just-the-code`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PostRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@amityco/ts-sdk'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Room`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LiveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'livekit-client'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 1. Create a room with live chat enabled`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Friday AMA'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`channelEnabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 2. Publish a livestream post`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PostRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createPost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'community'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`targetId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` communityId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'livestream'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`streamId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 3. Get broadcaster credentials \u0026 connect`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` bd`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getBroadcasterData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` lk`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` LiveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`connect`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bd`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`coHostUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bd`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`coHostToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localParticipant`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setCameraEnabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localParticipant`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setMicrophoneEnabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 4. Stop \u0026 get recording`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`disconnect`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stopRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(_components.p,{children:`Full walkthrough below ↓`})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Platform note`}),` — code samples below use TypeScript. Every method has an equivalent in the iOS (Swift) and Android (Kotlin) SDKs — see the linked SDK reference in each step.`]})}),`\n`,_jsx(Frame,{caption:`Host broadcasting with live chat overlay`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=70289d3119d75a1daeaea4c118e0336f`,alt:`Host broadcasting a livestream with live chat messages and reactions visible`,style:{maxWidth:`40%`,margin:`0 auto`,display:`block`},\"data-og-width\":`750`,width:`750`,\"data-og-height\":`1624`,height:`1624`,\"data-path\":`images/Livestream(4).png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=280\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=9820e7bc42c86f4986e44077a3cdb949 280w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=560\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=f9f6824212024debda1c58df3a1ab7bf 560w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=840\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=f4b926aee38f4056d6dc240d776fa814 840w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=1100\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=1ed99d06fa88b19bf7bd5b990a710cbd 1100w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=1650\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=f60747154ec1263bf6915824f3fad95b 1650w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/Livestream(4).png?w=2500\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=4764df4046e6d4366bae5c1c0df2d121 2500w`})}),`\n`,_jsx(_components.p,{children:`This guide covers the host’s journey: create a room, wire up the broadcast, monitor lifecycle transitions, query live rooms for a “Live Now” section, and access recordings after the stream ends.`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant Host\n participant SDK as social.plus SDK\n participant LK as LiveKit\n participant Viewers\n\n Host->>SDK: createRoom()\n SDK-->>Host: room (IDLE)\n Host->>SDK: createPost(livestream)\n Host->>SDK: getBroadcastData(roomId)\n SDK-->>Host: coHostUrl + coHostToken\n Host->>LK: connect(url, token)\n Host->>LK: setCameraEnabled(true)\n Note over Host,LK: Room is now LIVE\n Viewers->>LK: Watch stream\n Host->>LK: disconnect()\n Host->>SDK: stop(roomId)\n Note over SDK: Room → ENDED → RECORDED\n Viewers->>SDK: getRecordedUrls(roomId)`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Prerequisites`}),`: SDK + Video SDK installed and authenticated → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/overview`,children:`Video Getting Started`}),`. A `,_jsx(_components.code,{children:`communityId`}),` is required — rooms are community-only.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start-create-a-room-and-go-live`,children:`Quick Start: Create a Room and Go Live`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Product Launch Event'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Join us for the unveiling'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` channelEnabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// auto-creates a live chat channel`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Room created:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'— status:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// IDLE`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/create-room`,children:`Create Room`})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`step-by-step-implementation`,children:`Step-by-Step Implementation`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create a broadcast room`,children:[_jsxs(_components.p,{children:[`A room is the container for a livestream session. Set `,_jsx(_components.code,{children:`channelEnabled: true`}),` to automatically create a live chat channel for viewer comments.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@amityco/ts-sdk'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Weekly Q\u0026A Session'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Ask us anything'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` thumbnailFileId:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`category:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'education'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` channelEnabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` parentRoomId:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/create-room`,children:`Create Room`})]})]}),_jsxs(Step,{title:`Publish a livestream post`,children:[_jsx(_components.p,{children:`Create a post in the community feed that links to the room. This shows a “LIVE” badge in the feed while the room is broadcasting.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PostRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PostContentType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@amityco/ts-sdk'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`post`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PostRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createPost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataType:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PostContentType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`LIVESTREAM`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'community'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` communityId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'We are live!'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`streamId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/social/content-management/posts/creation/live-stream-post`,children:`Live Stream Post`})]})]}),_jsxs(Step,{title:`Get broadcaster credentials and connect to LiveKit`,children:[_jsx(_components.p,{children:`Fetch the LiveKit URL and token, then connect the host’s camera and microphone.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Room`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LiveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RoomEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'livekit-client'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` broadcastData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getBroadcasterData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` liveKitRoom`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` LiveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RoomEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Connected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Connected!'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RoomEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Disconnected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`reason`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Disconnected:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`reason`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`connect`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`broadcastData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`coHostUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`broadcastData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`coHostToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localParticipant`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setCameraEnabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localParticipant`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setMicrophoneEnabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Room status is now LIVE`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/start-broadcasting`,children:`Start Broadcasting`})]})]}),_jsxs(Step,{title:`Monitor room lifecycle`,children:[_jsx(_components.p,{children:`Observe the room to update your UI for each status transition.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` roomLiveObject`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomLiveObject`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'dataUpdated'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` switch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'idle'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`showUI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Ready to start'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'live'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`showUI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Broadcasting'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ended'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`showUI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Stream ended — processing recording…'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'recorded'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`showUI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Recording available'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/manage-rooms`,children:`Manage Rooms`})]})]}),_jsxs(Step,{title:`Query live rooms for a 'Live Now' section`,children:[_jsx(_components.p,{children:`Show currently-active livestreams in your app.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` liveRooms`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getRooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` statuses:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'live'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` types:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'co_hosts'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` isDeleted:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sortBy:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'lastCreated'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`liveRooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'dataUpdated'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`rooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Currently live:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`rooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`length`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rooms'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/manage-rooms`,children:`Manage Rooms`})]})]}),_jsxs(Step,{title:`Stop broadcasting and access recordings`,children:[_jsx(_components.p,{children:`Disconnect LiveKit first, then stop the room. Recordings become available within a few minutes.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 1. Disconnect from LiveKit`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` liveKitRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`disconnect`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 2. Stop the room`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stopRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 3. Poll for recording (room status transitions: ENDED → RECORDED)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getRecordedUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Recording:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Full reference → `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/recorded-playback`,children:`Recorded Playback`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`admin-console-manage-\u0026-monitor-streams`,children:`Admin Console: Manage \u0026 Monitor Streams`}),`\n`,_jsxs(_components.p,{children:[`After streams are created, you can manage them from `,_jsx(_components.strong,{children:`Admin Console → Live stream`}),`.`]}),`\n`,_jsx(Frame,{caption:`Live stream management — view all streams with status, type, and moderation flags`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=1139e108cd8f710947aa6a607c802e9d`,alt:`Admin Console live stream management table showing stream titles, types, broadcast status, and moderation results`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/analytics-and-moderation/console-live-stream-management.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=280\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=b1394df9f40abda82bb1618b4fb8b740 280w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=560\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=85498c3f389e4846febf176d92c58301 560w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=840\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=67b983d6b3d0e6b781533c9c4896af5d 840w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=e4e7e8302dd85af533cfd9cb446b8769 1100w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=ba700a07cd0d7a17c8a2b02fac6f3ab1 1650w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-management.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=b8e4122c556d4719cf308203e524645c 2500w`})}),`\n`,_jsx(_components.p,{children:`Click any stream to see its detail page with recording playback, metadata, and moderation status.`}),`\n`,_jsx(Frame,{caption:`Stream detail — recording playback, stream ID, creator info, and moderation status`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=d6180692235eac148ba090dc6f3d5ca9`,alt:`Admin Console stream detail page showing video player, stream ID, feed details, and moderation labels`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/analytics-and-moderation/console-live-stream-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=8fffd4b03c06a224ee2aa3c6586b628e 280w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=fb346ca872f6e8c206e70a5fc3218a44 560w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=83a920f5c4774ee65c96986706839ec3 840w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=5800ec96a1240e2e395deac5259e9216 1100w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=8f71cd7b31ef58ee24c22508fd69a793 1650w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/analytics-and-moderation/console-live-stream-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=9cec5e129fa42e0ed2d3e9d3163ce8dc 2500w`})}),`\n`,_jsxs(_components.p,{children:[`To review stream performance, go to `,_jsx(_components.strong,{children:`Admin Console → Video Analytics → Live stream`}),`.`]}),`\n`,_jsx(Frame,{caption:`Livestream analytics dashboard — total streams, views, unique viewers, and watch time`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=1694787c1ef071b74f4a53d7abdf3356`,alt:`Admin Console livestream analytics showing total streams created, views, unique viewers, and minutes watched`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/dashboard-livestream-analytics.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=280\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=6686c4f7af9f6dc992353875e1fbb6ce 280w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=560\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=95cd38db5695462b6ad6af39e3110bff 560w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=840\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=7ac3cb3cb7c1ae12c594c6eacae0387a 840w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=382ef369b0624904bedf92ce7586fcb0 1100w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=50e2001fd6f7762f22f2f7a6fe83add6 1650w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-analytics.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=423d68866616c994c760ef3e63e9512a 2500w`})}),`\n`,_jsx(_components.p,{children:`Click any row in the stream table to see per-stream metrics including concurrent viewers over time and chat messages.`}),`\n`,_jsx(Frame,{caption:`Per-stream analytics — unique viewers, chat messages, and reactions over time`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=3625d38ea299ced84e687afd21feb505`,alt:`Admin Console individual stream analytics showing viewer timeline, chat message count, and reaction count`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/dashboard-livestream-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=aa75475aec49ebd031f6e791d273e6e8 280w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=2bb06b47cdcd5a43ea3e9f5c532a6606 560w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=9fdb40b1bb021b6fec7bb1030630aa35 840w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=48c350ce83554ba031d78c4ec6460447 1100w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=ffc394501dae10dc3afb12a5a1316a05 1650w, https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/images/dashboard-livestream-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HK8-O4u_NqMeCf6h\u0026q=85\u0026s=c14c5dd4fe59015c8ad006e05d6056da 2500w`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`connect-to-moderation-\u0026-analytics`,children:`Connect to Moderation \u0026 Analytics`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Stream analytics in Admin Console`,icon:`chart-bar`,id:`stream-analytics-in-admin-console`,children:[_jsxs(_components.p,{children:[`Track peak concurrent viewers, total watch time, and engagement per stream in `,_jsx(_components.strong,{children:`Admin Console → Analytics → Video`}),`.`]}),_jsxs(_components.p,{children:[`→ `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/analytics/overview`,children:`Video Analytics`})]})]}),_jsxs(Accordion,{title:`Livestream moderation`,icon:`shield`,id:`livestream-moderation`,children:[_jsxs(_components.p,{children:[`Moderators can view and manage all active and past livestreams in `,_jsx(_components.strong,{children:`Admin Console → Moderation → Livestream Moderation`}),`.`]}),_jsxs(_components.p,{children:[`→ `,_jsx(_components.a,{href:`/analytics-and-moderation/console/moderation/livestream-moderation`,children:`Livestream Moderation`})]})]}),_jsxs(Accordion,{title:`Webhook: stream lifecycle events`,icon:`webhook`,id:`webhook-stream-lifecycle-events`,children:[_jsxs(_components.p,{children:[`Receive `,_jsx(_components.code,{children:`stream.started`}),`, `,_jsx(_components.code,{children:`stream.ended`}),`, `,_jsx(_components.code,{children:`recording.completed`}),` webhook events for backend automation (e.g., notify followers, archive recordings).`]}),_jsxs(_components.p,{children:[`→ `,_jsx(_components.a,{href:`/social-plus-sdk/video-new/broadcasting/overview`,children:`Stream Events`}),` · `,_jsx(_components.a,{href:`/analytics-and-moderation/social+-apis-and-services/webhook-event`,children:`Webhooks`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`common-mistakes`,children:`Common Mistakes`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Stopping the room before disconnecting LiveKit`}),` — Always call `,_jsx(_components.code,{children:`liveKitRoom.disconnect()`}),` first, then `,_jsx(_components.code,{children:`RoomRepository.stop(roomId)`}),`. Reversing the order can leave orphaned media tracks.`]})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Forgetting to end rooms when the stream stops`}),` — If the broadcaster disconnects without calling `,_jsx(_components.code,{children:`stop()`}),`, the room stays in `,_jsx(_components.code,{children:`live`}),` status and appears in “Live Now” feeds as a ghost stream. Always call stop in your cleanup logic.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ❌ Bad — broadcaster crashes, room stays live`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onbeforeunload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* nothing */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ✅ Good — end room on disconnect`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onbeforeunload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RoomRepository`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stopRoom`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`roomId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Not refreshing the LiveKit token`}),` — LiveKit tokens expire. If you don’t handle token refresh, the video connection drops mid-stream. Implement a token renewal callback.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Creating rooms without `,_jsx(_components.code,{children:`channelEnabled: true`})]}),` — Without this flag, no live chat channel is created and viewers can’t comment during the stream. Almost all livestream UIs need live chat.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Not observing the room lifecycle`}),` — The status transitions (`,_jsx(_components.code,{children:`idle → live → ended → recorded`}),`) are asynchronous. Hardcoding delays instead of observing the room live object results in brittle UI states.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Polling for recordings too aggressively`}),` — Recordings take a few minutes to process. Use the room’s live object with a `,_jsx(_components.code,{children:`dataUpdated`}),` listener to detect when `,_jsx(_components.code,{children:`status === 'recorded'`}),` rather than polling every second.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Startup latency`,icon:`bolt`,id:`startup-latency`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Pre-fetch `,_jsx(_components.code,{children:`getBroadcastData()`}),` before the user taps “Go Live” to cut startup time`]}),`\n`,_jsx(_components.li,{children:`Request camera and microphone permissions during the room creation step, not at connect time`}),`\n`,_jsx(_components.li,{children:`Show a preview of the camera feed while the LiveKit connection is establishing`}),`\n`]})}),_jsx(Accordion,{title:`Reconnection handling`,icon:`rotate`,id:`reconnection-handling`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Listen for `,_jsx(_components.code,{children:`RoomEvent.Reconnecting`}),` and `,_jsx(_components.code,{children:`RoomEvent.Reconnected`}),` from LiveKit`]}),`\n`,_jsx(_components.li,{children:`Show a “Reconnecting…” banner to the host — don’t silently drop to ended`}),`\n`,_jsxs(_components.li,{children:[`Configure LiveKit’s `,_jsx(_components.code,{children:`autoSubscribe`}),` and `,_jsx(_components.code,{children:`reconnectPolicy`}),` for aggressive retry`]}),`\n`]})}),_jsx(Accordion,{title:`Broadcasting UX`,icon:`video`,id:`broadcasting-ux`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Show a 3-second countdown before going live so the broadcaster can prepare`}),`\n`,_jsx(_components.li,{children:`Display a “LIVE” badge with a pulsing animation on the post card in the feed`}),`\n`,_jsx(_components.li,{children:`Show concurrent viewer count in real-time using the room’s participant data`}),`\n`,_jsx(_components.li,{children:`Provide camera flip, mute, and end-stream controls in a floating overlay`}),`\n`]})}),_jsx(Accordion,{title:`Viewer experience`,icon:`eye`,id:`viewer-experience`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Auto-play the livestream on mute when the post enters the viewport — require a tap for audio`}),`\n`,_jsx(_components.li,{children:`Show the live chat alongside the video in a split-screen layout`}),`\n`,_jsx(_components.li,{children:`Allow viewers to send reactions (emoji) that float across the video`}),`\n`,_jsx(_components.li,{children:`When the stream ends, show a “Stream ended” card with a link to the recording when available`}),`\n`]})}),_jsx(Accordion,{title:`Recordings`,icon:`circle-play`,id:`recordings`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The livestream post stays in the feed after the stream ends — update it to show the recording thumbnail`}),`\n`,_jsx(_components.li,{children:`Store recording URLs in your backend; platform URLs may have retention policies`}),`\n`,_jsxs(_components.li,{children:[`Offer a “Watch replay” CTA on the post once `,_jsx(_components.code,{children:`status === 'recorded'`})]}),`\n`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsx(Card,{title:`Your next step → Short-Form Video Clips`,icon:`arrow-right`,href:`/use-cases/social/short-form-video-clips`,children:_jsx(_components.p,{children:`Livestreams are running — now add TikTok-style clip posts for shorter, snackable video content.`})}),`\n`,_jsx(_components.p,{children:`Or explore related guides:`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Co-Hosting`,href:`/use-cases/social/livestream/co-hosting`,icon:`users-viewfinder`,children:_jsx(_components.p,{children:`Invite co-hosts to share the stage during a broadcast.`})}),_jsx(Card,{title:`Live Chat \u0026 Engagement`,href:`/use-cases/social/livestream/live-chat-and-engagement`,icon:`comments`,children:_jsx(_components.p,{children:`Wire up chat, reactions, and viewer count alongside the video.`})}),_jsx(Card,{title:`Product Tagging`,href:`/use-cases/social/livestream/product-tagging`,icon:`tags`,children:_jsx(_components.p,{children:`Pin products to the stream for live commerce.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Go Live \u0026 Room Management","description":"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.","href":"/use-cases/social/livestream/go-live-and-room-management"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quick Start: Create a Room and Go Live","slug":"quick-start-create-a-room-and-go-live","depth":2,"children":[]},{"title":"Step-by-Step Implementation","slug":"step-by-step-implementation","depth":2,"children":[]},{"title":"Admin Console: Manage \u0026 Monitor Streams","slug":"admin-console-manage-\u0026-monitor-streams","depth":2,"children":[]},{"title":"Connect to Moderation \u0026 Analytics","slug":"connect-to-moderation-\u0026-analytics","depth":2,"children":[]},{"title":"Common Mistakes","slug":"common-mistakes","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/social-b97141fb-auto-generate-llmstxt/1df53d02ad88749c/scrollbar.js"],"subdomain":"social-b97141fb-auto-generate-llmstxt","siteName":"social.plus","title":"Go Live \u0026 Room Management - social.plus","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T05:25:57.646Z","originalFileLocation":"use-cases/social/livestream/go-live-and-room-management.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.\">\u003cmeta data-mint-head name=\"application-name\" content=\"social.plus\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=HK8-O4u_NqMeCf6h\u0026amp;q=85\u0026amp;s=999025267802abd23424eecffd7059d4\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=HK8-O4u_NqMeCf6h\u0026amp;q=85\u0026amp;s=999025267802abd23424eecffd7059d4\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=HK8-O4u_NqMeCf6h\u0026amp;q=85\u0026amp;s=999025267802abd23424eecffd7059d4\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/social-b97141fb-auto-generate-llmstxt/HK8-O4u_NqMeCf6h/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=HK8-O4u_NqMeCf6h\u0026amp;q=85\u0026amp;s=999025267802abd23424eecffd7059d4\">\u003cmeta data-mint-head property=\"og:title\" content=\"Go Live \u0026amp; Room Management - social.plus\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"social.plus\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://social-b97141fb-auto-generate-llmstxt.mintlify.app/use-cases/social/livestream/go-live-and-room-management\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://social-b97141fb-auto-generate-llmstxt.mintlify.site/_mintlify/api/og/v2?division=Livestream\u0026amp;title=Go+Live+%26+Room+Management\u0026amp;description=Create+broadcast+rooms%2C+connect+to+LiveKit%2C+monitor+room+lifecycle%2C+query+live+rooms%2C+and+access+recordings.\u0026amp;theme=f879ce7140df425734e04872\u0026amp;signature=d672644480a8471877e7429af6cd9f3807647d3dcfd55f71a6b57dfb2b5fd4e4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Go Live \u0026amp; Room Management - social.plus\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create broadcast rooms, connect to LiveKit, monitor room lifecycle, query live rooms, and access recordings.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://social-b97141fb-auto-generate-llmstxt.mintlify.site/_mintlify/api/og/v2?division=Livestream\u0026amp;title=Go+Live+%26+Room+Management\u0026amp;description=Create+broadcast+rooms%2C+connect+to+LiveKit%2C+monitor+room+lifecycle%2C+query+live+rooms%2C+and+access+recordings.\u0026amp;theme=f879ce7140df425734e04872\u0026amp;signature=d672644480a8471877e7429af6cd9f3807647d3dcfd55f71a6b57dfb2b5fd4e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/social-b97141fb-auto-generate-llmstxt/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"social.plus\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b41ec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://social-b97141fb-auto-generate-llmstxt.mintlify.app/use-cases/social/livestream/go-live-and-room-management\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/use-cases/social/livestream/go-live-and-room-management.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"social.plus\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"social.plus\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/use-cases/social/livestream/go-live-and-room-management.md","siteName":"social.plus","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/social-plus-sdk/overview"}]},{"tab":"UIKit","pages":[{"title":"UIKit","href":"/uikit/overview"}]},{"tab":"Analytics \u0026 Moderation","pages":[{"title":"Analytics \u0026 Moderation","href":"/analytics-and-moderation/overview"}]},{"tab":"API","pages":[{"title":"API","href":"/analytics-and-moderation/social+-apis-and-services/README"}]},{"tab":"Guides","groups":[{"group":"Overview","pages":[{"title":"Guides","href":"/use-cases/overview"},{"title":"Choose Your Path","href":"/use-cases/choose-your-path"}]},{"group":"Build Your Community","pages":[{"title":"User Onboarding \u0026 Visitor Mode","href":"/use-cases/social/user-onboarding-and-visitor-mode"},{"title":"User Profiles \u0026 Social Graph","href":"/use-cases/social/user-profiles-and-social-graph"},{"title":"Community Platform","href":"/use-cases/social/community-platform"},{"title":"Roles, Permissions \u0026 Governance","href":"/use-cases/social/roles-permissions-and-governance"},{"title":"Build a Social Feed","href":"/use-cases/social/build-a-social-feed"}]},{"group":"Create \u0026 Share Content","pages":[{"title":"Rich Content Creation","href":"/use-cases/social/rich-content-creation"},{"title":"Comments \u0026 Reactions","href":"/use-cases/social/comments-and-reactions"},{"title":"Polls \u0026 Interactive Content","href":"/use-cases/social/polls-and-interactive-content"},{"title":"Stories \u0026 Ephemeral Content","href":"/use-cases/social/stories-and-ephemeral-content"},{"title":"Short-Form Video Clips","href":"/use-cases/social/short-form-video-clips"}]},{"group":"Communication","pages":[{"title":"Channels \u0026 Conversations","href":"/use-cases/chat/channels-and-conversations"},{"title":"Sending Messages","href":"/use-cases/chat/sending-messages"},{"title":"Message Reactions \u0026 Replies","href":"/use-cases/chat/message-reactions-and-replies"},{"title":"Unread Counts \u0026 Read Receipts","href":"/use-cases/chat/unread-counts-and-read-receipts"},{"title":"Rich Media Messages","href":"/use-cases/chat/rich-media-messages"},{"title":"Channel Roles \u0026 Permissions","href":"/use-cases/chat/channel-roles-and-permissions"},{"title":"Chat Moderation","href":"/use-cases/chat/chat-moderation"}]},{"group":"Engage \u0026 Grow","pages":[{"title":"Notifications \u0026 Engagement","href":"/use-cases/social/notifications-and-engagement"},{"title":"Real-time Presence \u0026 Activity","href":"/use-cases/social/realtime-presence-and-activity"},{"title":"Search \u0026 Discovery","href":"/use-cases/social/search-and-discovery"},{"title":"User Search \u0026 People Discovery","href":"/use-cases/social/user-search-and-people-discovery"},{"title":"Content Sharing \u0026 Deep Links","href":"/use-cases/social/content-sharing-and-deep-links"},{"title":"Post Impressions \u0026 Creator Analytics","href":"/use-cases/social/post-impressions-and-creator-analytics"},{"title":"Events \u0026 Activities","href":"/use-cases/social/events-and-activities"},{"title":"Content Moderation Pipeline","href":"/use-cases/social/content-moderation-pipeline"},{"title":"Comment Review Workflow","href":"/use-cases/social/comment-review-workflow"},{"title":"User Profile Moderation","href":"/use-cases/social/user-profile-moderation"}]},{"group":"Livestream","pages":[{"title":"Livestream","description":"Go live with co-hosting, room management, live chat, product tagging, and viewer analytics.","href":"/use-cases/social/livestream/overview"},{"title":"Go Live \u0026 Room Management","href":"/use-cases/social/livestream/go-live-and-room-management"},{"title":"Co-Hosting","description":"Invite co-hosts, accept or decline invitations, join the broadcast together, and manage co-host permissions.","href":"/use-cases/social/livestream/co-hosting"},{"title":"Live Chat \u0026 Engagement","href":"/use-cases/social/livestream/live-chat-and-engagement"},{"title":"Product Tagging","href":"/use-cases/social/livestream/product-tagging"}]},{"group":"Monetize","pages":[{"title":"Product Tagging \u0026 Social Commerce","href":"/use-cases/social/product-tagging-and-social-commerce"},{"title":"Advertising \u0026 Monetization","href":"/use-cases/social/advertising-and-monetization"}]}]},{"tab":"AI","pages":[{"title":"AI","href":"/ai/overview"}]}]},"basePath":"","title":"Go Live \u0026 Room Management - social.plus","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":["07c022d89b","a74be98ba7","6d89261695"],"chunks":["Frame-B90Qhg8r.js","DynamicMarkdown-DpAS3GCb.js","zoom-image-lightbox-9bQKnClW.js","lightbox-handle-r17bVUz3.js","preview-widget-ClYzjNlU.js"]}