Create short clips from active livestreams using the Create Clip API.
You can create clips from active Livepeer Studio streams via the API. A clip is a segment of the stream (e.g. The last N seconds or a chosen range) and is stored as an asset that you can play back like any VOD asset.
Clipping is supported only for livestreams and livestream recordings. Other asset types are not supported for clipping.
How clipping works
Clips are created from the viewer’s perspective: e.g. “last 30 seconds” is the last 30 seconds that viewer saw (based on their playhead).
You send start and end timestamps (UNIX milliseconds). These typically come from the player (e.g. HLS.js playingDate or the Livepeer Player’s clip trigger).
Livepeer creates an asset for the clip. You can poll the asset or listen for the asset.ready webhook to know when the clip is playable.
startTime - Start of the clip (UNIX ms, from playhead).
endTime - End of the clip (UNIX ms).
name - (Optional) Name for the clip asset.
Ensure startTime is at or after the stream start and endTime is not in the future.
Example (Node.js)
const result = await livepeer.stream.createClip({ playbackId: process.env.PLAYBACK_ID_OF_RUNNING_STREAM, startTime: endTime - 30000, // 30 seconds before end endTime: Date.now(), name: "My clip",});// result.asset has the new clip asset; result.task has the task ID
With the Livepeer Player
The Player’s Clip trigger can provide playbackId, startTime, and endTime. Call the Create Clip API from your backend (with the same parameters) and validate input (e.g. Max clip length, rate limiting).
Monitor clip status
Polling - Call GET /asset/{assetId} until asset.status is ready.
Webhooks - Subscribe to asset.ready (and optionally asset.failed). Use the assetId from the create-clip response to match the event.
The clip asset has source.type === "clip" and a sessionId so you can tell it’s a clip.
Clips get source playback first (playable quickly); transcoded renditions are added when processing finishes. Use the clip’s playbackId with the Playback Info API or the Player to play it.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Livepeer Docs","colors":{"primary":"#3CB540","light":"#2b9a66","dark":"#3CB540"},"logo":{"light":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/light.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=0d906cdf330039e031b052442e85a2da","dark":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/dark.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=92bdf3bd6b00b01c25499d14ff93ec2b"},"favicon":"/snippets/assets/logos/favicon/favicon.png","api":{"openapi":"api/openapi.yaml","mdx":{"server":"https://livepeer.studio/api"}},"appearance":{"default":"dark"},"navbar":{"links":[{"icon":"x-twitter","href":"https://twitter.com/Livepeer","label":""},{"icon":"github","href":"https://github.com/livepeer","label":""},{"icon":"discord","href":"https://discord.gg/livepeer","label":""}]},"footer":{"socials":{"website":"https://forum.livepeer.org","github":"https://github.com/livepeer","twitter":"https://twitter.com/livepeer","discord":"https://discord.gg/livepeer","linkedin":"https://www.linkedin.com/company/livepeer"}},"search":{"prompt":"Need help? Ask our AI"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"dark-plus"}}},"integrations":{"ga4":{"measurementId":"G-P1Z15F6NX4"}},"errors":{"404":{"redirect":false,"title":"Ruh oh. This page doesn't exist.","description":"\u003cFrame>\u003cimg src=\"https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExN2FteDJ4bno5MHU5Y3QxdGx3eWR2emdhejRhc2c1Y2d3ejY5ajlxMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Ju7l5y9osyymQ/giphy.gif\" alt=\"Rick Roll\" />\u003c/Frame>\u003cbr/>\u003cbr/>Sorry About That."}},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"na-36-fix-simplify-ubuntu-deps","hasAudioNarration":false,"actualSubdomain":"na-36-fix-simplify-ubuntu-deps","customDomains":[],"gitSource":{"type":"github","owner":"livepeer","repo":"docs","deployBranch":"fix/simplify-ubuntu-deps","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"69d4ec28fb8ada5118d94017:success","clientVersion":"0.0.4410","preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"editorBaseUrl":"https://app.mintlify.com/na-36/na-36/editor/fix%2Fsimplify-ubuntu-deps/~","googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body{padding:0!important}:root{--lp-color-accent: #3cb540;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #6bbf59;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #a0f0a5;--lp-color-arbitrum: #3ea6f8;--lp-color-text-primary: #181c18;--lp-color-text-secondary: #717571;--lp-color-text-muted: #9ca3af;--lp-color-bg-page: #ffffff;--lp-color-bg-card: #f9fafb;--lp-color-bg-elevated: #f3f6f4;--lp-color-bg-subtle: rgba(24, 28, 24, 0.04);--lp-color-bg-overlay: rgba(12, 12, 12, 0.5);--lp-color-border-default: #e5e7eb;--lp-color-border-strong: rgba(24, 28, 24, 0.18);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #18794e;--lp-color-link-hover: #004225;--lp-color-brand-discord: #5865f2;--lp-color-brand-forum: #00aeef;--lp-color-brand-github: #181c18;--lp-color-brand-x: #181c18;--lp-color-brand-globe: #00c0ff;--lp-color-brand-twitch: #9048ff;--lp-color-brand-youtube: #ff0034;--lp-color-brand-instagram: #dc2275;--lp-color-brand-linkedin: #0189df;--lp-color-brand-preview: #b636dd;--lp-color-brand-coming-soon: #ef1a73;--lp-color-status-good: #22c55e;--lp-color-status-warn: #fbbf24;--lp-color-status-bad: #ef4444;--lp-spacing-1: 0.25rem;--lp-spacing-2: 0.5rem;--lp-spacing-3: 0.75rem;--lp-spacing-4: 1rem;--lp-spacing-6: 1.5rem;--lp-spacing-8: 2rem;--lp-font-sans: 'Inter', 'Segoe UI', sans-serif;--lp-font-mono: 'SFMono-Regular', 'SF Mono', 'Menlo', monospace;--lp-radius-sm: 0.25rem;--lp-radius-md: 0.5rem;--lp-radius-lg: 0.75rem;--lp-shadow-card: 0 8px 24px rgba(24, 28, 24, 0.08);--lp-z-base: 1;--lp-z-overlay: 10;--lp-z-modal: 50;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.dark{--lp-color-accent: #2b9a66;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #3cb540;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #7fe584;--lp-color-text-primary: #e0e4e0;--lp-color-text-secondary: #a0a4a0;--lp-color-text-muted: #6b7280;--lp-color-bg-page: #0d0d0d;--lp-color-bg-card: #1a1a1a;--lp-color-bg-elevated: #141a16;--lp-color-bg-subtle: rgba(255, 255, 255, 0.1);--lp-color-bg-overlay: rgba(0, 0, 0, 0.5);--lp-color-border-default: #333333;--lp-color-border-strong: rgba(255, 255, 255, 0.3);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #5dd662;--lp-color-link-hover: #a0f0a5;--lp-color-brand-github: #f0f0f0;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.nav-tabs{width:100%;justify-content:flex-start}@media (min-width: 1024px){#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container)){padding-left:3rem!important;padding-right:3rem!important}#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container))>.max-w-5xl{max-width:72rem!important}#content-container:has(.frame-mode-hero-full),#content-container:has(.frame-mode-container){padding-left:2rem!important;padding-right:2rem!important}#content-container:has(.frame-mode-hero-full)>.max-w-5xl,#content-container:has(.frame-mode-container)>.max-w-5xl{max-width:80rem!important}}#navbar>div.z-10.mx-auto.relative>div.hidden.lg\\:flex.px-12.h-12>div{column-gap:2rem!important}a.nav-tabs-item[href*=\"/internal/\"]{margin-left:1rem;margin-right:-1rem;padding-right:0;border-bottom-color:transparent!important}a.nav-tabs-item[href$=\"/resources/redirect\"],a.nav-tabs-item[href$=\"/resources/resources-portal\"],a.nav-tabs-item[href$=\"/07_resources/redirect\"],a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]{margin-left:auto;background-color:transparent;border:1px solid var(--accent)!important;padding:4px 8px;border-radius:4px;font-size:0.7rem;height:auto!important;align-self:center;margin-right:-2rem}a.nav-tabs-item[href$=\"/resources/redirect\"] svg,a.nav-tabs-item[href$=\"/resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/redirect\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"] svg{height:0.75rem;width:0.75rem}a.nav-tabs-item[href$=\"/resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"]>div:last-child{display:none}#footer .flex-col .flex.gap-4{flex-direction:column!important;gap:0rem!important}#footer>div{padding-top:2rem!important;padding-bottom:1rem!important}#chat-assistant-sheet[aria-hidden=\"true\"]{display:none!important}button.text-left.text-gray-600.text-sm.font-medium{min-height:24px;padding-top:4px;padding-bottom:4px}[data-component-part=\"card-content-container\"]{padding-right:2.5rem}.code-block>div>div>svg{background-color:#18794e!important}#error-description>span>div>div{border:1px solid #18794e!important}body>div.relative.antialiased.text-gray-500.dark\\:text-gray-400>div.peer-\\[\\.is-not-custom\\]\\:lg\\:flex.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:sm\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:md\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:lg\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:xl\\:\\!hidden>div.flex.flex-col.items-center.justify-center.w-full.max-w-lg.overflow-x-hidden.mx-auto.py-48.px-5.text-center.\\*\\:text-center.gap-y-8.not-found-container>div{margin-top:-5rem}#error-description>span>div>div>div.relative.rounded-xl.overflow-hidden.flex.justify-center>img{width:500px;aspect-ratio:4 / 3;object-fit:cover}#content>div.steps.ml-3\\.5.mt-10.mb-6>div>div.w-full.overflow-hidden.pl-8.pr-px>p{color:#2b9a66!important}.dark .bg-white\\/\\[0\\.95\\].multi-view-dropdown-trigger{background-color:transparent!important;background:none!important}#table-of-contents-layout:empty,#content-side-layout:has(#table-of-contents-layout:empty){display:none}[data-docs-dynamic-table]{table-layout:fixed!important}[data-docs-styled-table-shell]>div{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}[data-docs-bordered-box]>:first-child{margin-top:0!important}[data-docs-bordered-box]>:last-child{margin-bottom:0!important}[data-docs-bordered-box][data-accent-bar]::before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px;background-color:var(--accent-bar-color);border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}.frame-mode-container{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;margin-bottom:2rem;padding-left:15%;padding-right:15%;box-sizing:border-box}.frame-mode-hero-full .frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:0%;padding-right:0%}[data-page-mode=\"frame\"] #pagination{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;padding-left:calc((100% + 96px + 20px) * 0.1 + 96px);padding-right:calc((100% + 96px + 20px) * 0.1 + 20px);box-sizing:border-box}.frame-mode-hero-full{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;position:relative}@media (max-width: 1023px){.frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}[data-page-mode=\"frame\"] #pagination{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}.frame-mode-hero-full{width:100%;margin-left:0;margin-right:0}}#starfield{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.frame-mode-hero-full [data-component-part=\"card-content-container\"]{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:2.5rem}.frame-mode-hero-full #card-link-arrow-icon{top:0.75rem;right:0.75rem}"}]}
{"page":{"pagePath":"v2/solutions/livepeer-studio/docs/livestream/clip-livestream","slug":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream","pageMetadata":{"title":"Clip a livestream","description":"Create short clips from active livestreams using the Create Clip API.","pageType":"concept","keywords":["livepeer","solutions","livepeer studio","livestream","clip livestream","clip","create","short","clips","from"],"og:image":"/snippets/assets/media/og-images/fallback.png","og:image:alt":"Livepeer Docs social preview image","og:image:type":"image/png","og:image:width":1200,"og:image:height":630,"audience":"platform-builder","lastVerified":"2026-03-17T00:00:00.000Z","purpose":"concept","href":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream"},"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 short clips from active livestreams using the Create Clip API.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`You can create `,_jsx(_components.strong,{children:`clips`}),` from active Livepeer Studio streams via the API. A clip is a segment of the stream (e.g. The last N seconds or a chosen range) and is stored as an `,_jsx(_components.strong,{children:`asset`}),` that you can play back like any VOD asset.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Clipping is supported only for `,_jsx(_components.strong,{children:`livestreams`}),` and `,_jsx(_components.strong,{children:`livestream recordings`}),`. Other asset types are not supported for clipping.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-clipping-works`,children:`How clipping works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Clips are created from the `,_jsx(_components.strong,{children:`viewer’s perspective`}),`: e.g. “last 30 seconds” is the last 30 seconds that viewer saw (based on their playhead).`]}),`\n`,_jsxs(_components.li,{children:[`You send `,_jsx(_components.strong,{children:`start and end timestamps`}),` (UNIX milliseconds). These typically come from the player (e.g. HLS.js `,_jsx(_components.code,{children:`playingDate`}),` or the Livepeer Player’s clip trigger).`]}),`\n`,_jsxs(_components.li,{children:[`Livepeer creates an `,_jsx(_components.strong,{children:`asset`}),` for the clip. You can poll the asset or listen for the `,_jsx(_components.code,{children:`asset.ready`}),` webhook to know when the clip is playable.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-clip-via-api`,children:`Create a clip via API`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`https://livepeer.studio/docs/api-reference/stream/create-clip`,children:`Create Clip API`}),` with:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`playbackId`}),` - The `,_jsx(_components.strong,{children:`active stream’s`}),` playback ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`startTime`}),` - Start of the clip (UNIX ms, from playhead).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`endTime`}),` - End of the clip (UNIX ms).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),` - (Optional) Name for the clip asset.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Ensure `,_jsx(_components.code,{children:`startTime`}),` is at or after the stream start and `,_jsx(_components.code,{children:`endTime`}),` is not in the future.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-node-js`,children:`Example (Node.js)`}),`\n`,_jsx(CodeBlock,{filename:``,icon:`terminal`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light dark-plus`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#24292e`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` livepeer`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`stream`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`createClip`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` playbackId:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:`PLAYBACK_ID_OF_RUNNING_STREAM`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` startTime:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` endTime`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` -`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#B5CEA8`},children:` 30000`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A9955`},children:`// 30 seconds before end`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` endTime:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` Date`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"My clip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A9955`},children:`// result.asset has the new clip asset; result.task has the task ID`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`with-the-livepeer-player`,children:`With the Livepeer Player`}),`\n`,_jsxs(_components.p,{children:[`The Player’s `,_jsx(_components.a,{href:`https://www.npmjs.com/package/@livepeer/react#player`,children:`Clip trigger`}),` can provide `,_jsx(_components.code,{children:`playbackId`}),`, `,_jsx(_components.code,{children:`startTime`}),`, and `,_jsx(_components.code,{children:`endTime`}),`. Call the `,_jsx(_components.strong,{children:`Create Clip API from your backend`}),` (with the same parameters) and validate input (e.g. Max clip length, rate limiting).`]}),`\n`,_jsx(Heading,{level:`2`,id:`monitor-clip-status`,children:`Monitor clip status`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Polling`}),` - Call `,_jsx(_components.code,{children:`GET /asset/{assetId}`}),` until `,_jsx(_components.code,{children:`asset.status`}),` is `,_jsx(_components.code,{children:`ready`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Webhooks`}),` - Subscribe to `,_jsx(_components.code,{children:`asset.ready`}),` (and optionally `,_jsx(_components.code,{children:`asset.failed`}),`). Use the `,_jsx(_components.code,{children:`assetId`}),` from the create-clip response to match the event.`]}),`\n`,_jsxs(_components.li,{children:[`The clip asset has `,_jsx(_components.code,{children:`source.type === \"clip\"`}),` and a `,_jsx(_components.code,{children:`sessionId`}),` so you can tell it’s a clip.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Clips get `,_jsx(_components.strong,{children:`source playback`}),` first (playable quickly); transcoded renditions are added when processing finishes. Use the clip’s `,_jsx(_components.code,{children:`playbackId`}),` with the `,_jsx(_components.a,{href:`https://livepeer.studio/docs/api-reference/playback/get`,children:`Playback Info API`}),` or the `,_jsx(_components.a,{href:`/v2/solutions/livepeer-studio/docs/player`,children:`Player`}),` to play it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`list-clips-for-a-stream`,children:`List clips for a stream`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`https://livepeer.studio/docs/api-reference/stream/get-clip`,children:`Clips for livestream API`}),` (by stream or session) to list clips created from a stream.`]})]})}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":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"title":"Clip a livestream","description":"Create short clips from active livestreams using the Create Clip API.","pageType":"concept","keywords":["livepeer","solutions","livepeer studio","livestream","clip livestream","clip","create","short","clips","from"],"og:image":"/snippets/assets/media/og-images/fallback.png","og:image:alt":"Livepeer Docs social preview image","og:image:type":"image/png","og:image:width":1200,"og:image:height":630,"audience":"platform-builder","lastVerified":"2026-03-17T00:00:00.000Z","purpose":"concept","href":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How clipping works","slug":"how-clipping-works","depth":2,"children":[]},{"title":"Create a clip via API","slug":"create-a-clip-via-api","depth":2,"children":[{"title":"Example (Node.js)","slug":"example-node-js","depth":3,"children":[]},{"title":"With the Livepeer Player","slug":"with-the-livepeer-player","depth":3,"children":[]}]},{"title":"Monitor clip status","slug":"monitor-clip-status","depth":2,"children":[]},{"title":"List clips for a stream","slug":"list-clips-for-a-stream","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/86044cb4146efff0/snippets/components/integrators/feeds/contractVerifierData.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/943f25bb7ac7d121/snippets/data/contract-addresses/view-model.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/298086d7bf262a7f/snippets/data/gateways/configuration-flags.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/ce2de808f20bf288/snippets/data/social-feeds/transformers/filterVideos.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/cd0b73bc6b3814c0/v2/about/protocol/data/blockchain-contracts-addresses.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/15325830a8aed988/v2/about/protocol/data/blockchain-contracts-links.js"],"subdomain":"na-36-fix-simplify-ubuntu-deps","siteName":"Livepeer Docs","title":"Clip a livestream - Livepeer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1/developers/introduction","matchLevel":4},"v2":{"href":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream","matchLevel":0}},"firstHrefInLanguage":{"en":{"href":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream","matchLevel":0}}},"lastModified":"2026-04-07T11:40:41.281Z","originalFileLocation":"v2/solutions/livepeer-studio/docs/livestream/clip-livestream.mdx","locale":"en"},"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=\"dark\"}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 short clips from active livestreams using the Create Clip API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Clip a livestream - Livepeer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create short clips from active livestreams using the Create Clip API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v2/solutions/livepeer-studio/docs/livestream/clip-livestream\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/snippets/assets/media/og-images/fallback.png\">\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=\"Clip a livestream - Livepeer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create short clips from active livestreams using the Create Clip API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/snippets/assets/media/og-images/fallback.png\">\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=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3CB540\">\u003clink data-mint-head rel=\"canonical\" href=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v2/solutions/livepeer-studio/docs/livestream/clip-livestream\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Livepeer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Livepeer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream.md","siteName":"Livepeer Docs","nav":{"global":null,"versions":[{"version":"v1","default":true,"pages":[{"title":"v1","href":"/v1/developers/introduction"}]},{"version":"v2","default":false,"languages":[{"language":"en","tabs":[{"tab":"Home","icon":"house-heart","pages":[{"title":"Home","href":"/v2/home/mission-control"}]},{"tab":"About","icon":"camera-movie","pages":[{"title":"About","href":"/v2/about/portal"}]},{"tab":"Solutions","icon":"film-canister","anchors":[{"anchor":"Solutions","icon":"display-code","pages":[{"title":"Solutions","href":"/v2/solutions/portal"}]},{"anchor":"Livepeer Studio Docs","icon":"camera","groups":[{"group":"Get started","pages":[{"title":"Getting Started with Livepeer Studio","sidebarTitle":"Getting Started","href":"/v2/solutions/livepeer-studio/docs/get-started/overview"},{"title":"Quickstart","href":"/v2/solutions/livepeer-studio/docs/quickstart"},{"title":"Authentication","href":"/v2/solutions/livepeer-studio/docs/get-started/authentication"},{"title":"Studio CLI","href":"/v2/solutions/livepeer-studio/docs/get-started/studio-cli"}]},{"group":"Livestream","pages":[{"title":"Livestream overview","href":"/v2/solutions/livepeer-studio/docs/livestream/overview"},{"title":"Create a livestream","href":"/v2/solutions/livepeer-studio/docs/livestream/create-livestream"},{"title":"Play a livestream","href":"/v2/solutions/livepeer-studio/docs/livestream/playback-livestream"},{"title":"Stream via OBS","href":"/v2/solutions/livepeer-studio/docs/livestream/stream-via-obs"},{"title":"Livestream from browser","href":"/v2/solutions/livepeer-studio/docs/livestream/livestream-from-browser"},{"title":"Multistream","description":"Send one livestream to multiple RTMP/RTMPS destinations (e.g. Twitch, YouTube).","href":"/v2/solutions/livepeer-studio/docs/livestream/multistream"},{"title":"Clip a livestream","href":"/v2/solutions/livepeer-studio/docs/livestream/clip-livestream"},{"title":"Stream health","description":"Monitor livestream health: transcoding, real-time status, multistream targets, ingest rate, and logs.","href":"/v2/solutions/livepeer-studio/docs/livestream/stream-health"},{"title":"Optimize latency","href":"/v2/solutions/livepeer-studio/docs/livestream/optimize-latency"}]},{"group":"Video on demand","pages":[{"title":"Video on demand overview","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/overview"},{"title":"Upload an asset","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/upload-asset"},{"title":"Play an asset","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/playback-asset"},{"title":"Encrypted assets","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/encrypted-assets"},{"title":"Thumbnails (VOD)","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/thumbnails-vod"},{"title":"Transcode video","href":"/v2/solutions/livepeer-studio/docs/video-on-demand/transcode-video"}]},{"group":"Access control \u0026 security","pages":[{"title":"Access control overview","href":"/v2/solutions/livepeer-studio/docs/access-control/overview"},{"title":"Access control with webhooks","href":"/v2/solutions/livepeer-studio/docs/access-control/webhooks"},{"title":"Access control with JWTs","href":"/v2/solutions/livepeer-studio/docs/access-control/jwt"}]},{"group":"Events \u0026 analytics","pages":[{"title":"Webhooks","href":"/v2/solutions/livepeer-studio/docs/analytics/webhooks"},{"title":"Listen to events","href":"/v2/solutions/livepeer-studio/docs/analytics/listen-to-events"},{"title":"Analytics","href":"/v2/solutions/livepeer-studio/docs/analytics/overview"}]},{"group":"Player \u0026 embed","pages":[{"title":"Player and embed","href":"/v2/solutions/livepeer-studio/docs/player"}]},{"group":"Reference","pages":[{"title":"API overview","href":"/v2/solutions/livepeer-studio/docs/reference/api"},{"title":"API Reference","href":"/v2/solutions/livepeer-studio/docs/reference/overview"},{"title":"SDKs overview","href":"/v2/solutions/livepeer-studio/docs/reference/sdks"},{"title":"Managing projects","href":"/v2/solutions/livepeer-studio/docs/reference/managing-projects"}]},{"group":"API Reference","pages":[{"group":"Assets","pages":[{"title":"Assets API","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/overview"},{"title":"Upload an asset","openapi":"POST /asset/request-upload","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/upload"},{"title":"Upload Asset via URL","openapi":"POST /asset/upload/url","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/upload-via-url"},{"title":"Retrieve an asset","openapi":"GET /asset/{assetId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/get"},{"title":"Update Asset","openapi":"PATCH /asset/{assetId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/update"},{"title":"Delete Asset","openapi":"DELETE /asset/{assetId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/delete"},{"title":"Get All Assets","openapi":"GET /asset","href":"/v2/solutions/livepeer-studio/docs/api-reference/assets/get-all"}]},{"group":"Streams","pages":[{"title":"Streams API","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/overview"},{"title":"Create a livestream","openapi":"POST /stream","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/create"},{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/get"},{"title":"Get All Streams","openapi":"GET /stream","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/get-all"},{"title":"Update Stream","openapi":"PATCH /stream/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/update"},{"title":"Terminate Stream","openapi":"DELETE /stream/{id}/terminate","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/terminate"},{"title":"Create Clip","openapi":"POST /clip","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/create-clip"},{"title":"Get Clip","openapi":"GET /stream/{id}/clips","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/get-clip"},{"title":"Add Multistream Target","openapi":"POST /stream/{id}/create-multistream-target","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/add-multistream-target"},{"title":"Delete Multistream Target","openapi":"DELETE /stream/{id}/multistream/{targetId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/delete-multistream-target"},{"title":"Delete Stream","openapi":"DELETE /stream/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/streams/delete"}]},{"group":"Multistream","pages":[{"title":"Multistream API","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/overview"},{"title":"Create Multistream Target","openapi":"POST /multistream/target","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/create"},{"title":"Get Multistream Target","openapi":"GET /multistream/target/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/get"},{"title":"Get All Multistream Targets","openapi":"GET /multistream/target","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/get-all"},{"title":"Update Multistream Target","openapi":"PATCH /multistream/target/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/update"},{"title":"Delete Multistream Target","openapi":"DELETE /multistream/target/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/multistream/delete"}]},{"group":"Playback","pages":[{"title":"Playback API","href":"/v2/solutions/livepeer-studio/docs/api-reference/playback/overview"},{"title":"Retrieve Playback Info","openapi":"GET /playback/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/playback/get"}]},{"group":"Sessions","pages":[{"title":"Sessions API","href":"/v2/solutions/livepeer-studio/docs/api-reference/sessions/overview"},{"title":"Get Session","openapi":"GET /session/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/sessions/get"},{"title":"Get All Sessions","openapi":"GET /session","href":"/v2/solutions/livepeer-studio/docs/api-reference/sessions/get-all"},{"title":"Get Session Clip","openapi":"GET /session/{id}/clips","href":"/v2/solutions/livepeer-studio/docs/api-reference/sessions/get-clip"}]},{"group":"Tasks","pages":[{"title":"Tasks API","href":"/v2/solutions/livepeer-studio/docs/api-reference/tasks/overview"},{"title":"Get Task","openapi":"GET /task/{taskId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/tasks/get"},{"title":"Get All Tasks","openapi":"GET /task","href":"/v2/solutions/livepeer-studio/docs/api-reference/tasks/get-all"}]},{"group":"Transcode","pages":[{"title":"Transcode API","href":"/v2/solutions/livepeer-studio/docs/api-reference/transcode/overview"},{"title":"Create Transcode Job","openapi":"POST /transcode","href":"/v2/solutions/livepeer-studio/docs/api-reference/transcode/create"}]},{"group":"Signing Keys","pages":[{"title":"Signing Keys API","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/overview"},{"title":"Create Signing Key","openapi":"POST /access-control/signing-key","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/create"},{"title":"Get Signing Key","openapi":"GET /access-control/signing-key/{keyId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/get"},{"title":"Get All Signing Keys","openapi":"GET /access-control/signing-key","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/get-all"},{"title":"Update Signing Key","openapi":"PATCH /access-control/signing-key/{keyId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/update"},{"title":"Delete Signing Key","openapi":"DELETE /access-control/signing-key/{keyId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/signing-keys/delete"}]},{"group":"Webhooks","pages":[{"title":"Webhooks API","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/overview"},{"title":"Create Webhook","openapi":"POST /webhook","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/create"},{"title":"Get Webhook","openapi":"GET /webhook/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/get"},{"title":"Get All Webhooks","openapi":"GET /webhook","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/get-all"},{"title":"Update Webhook","openapi":"PUT /webhook/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/update"},{"title":"Delete Webhook","openapi":"DELETE /webhook/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/webhooks/delete"}]},{"group":"Rooms","pages":[{"title":"Rooms API","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/overview"},{"title":"Create Room","openapi":"POST /room","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/create"},{"title":"Get Room","openapi":"GET /room/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/get"},{"title":"Delete Room","openapi":"DELETE /room/{id}","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/delete"},{"title":"Create Room User","openapi":"POST /room/{id}/user","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/create-user"},{"title":"Get Room User","openapi":"GET /room/{id}/user/{userId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/get-user"},{"title":"Update Room User","openapi":"PUT /room/{id}/user/{userId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/update-user"},{"title":"Remove Room User","openapi":"DELETE /room/{id}/user/{userId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/remove-user"},{"title":"Start Room Egress","openapi":"POST /room/{id}/egress","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/start-egress"},{"title":"Stop Room Egress","openapi":"DELETE /room/{id}/egress","href":"/v2/solutions/livepeer-studio/docs/api-reference/rooms/stop-egress"}]},{"group":"Viewership","pages":[{"title":"Viewership API","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/overview"},{"title":"Get Usage Metrics","openapi":"GET /data/usage/query","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/get-usage-metrics"},{"title":"Get Viewership Metrics","openapi":"GET /data/views/query","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/get-viewership-metrics"},{"title":"Get Creators Metrics","openapi":"GET /data/views/query/creator","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/get-creators-metrics"},{"title":"Get Public Total Views","openapi":"GET /data/views/query/total/{playbackId}","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/get-public-total-views"},{"title":"Get Realtime Viewership","openapi":"GET /data/views/now","href":"/v2/solutions/livepeer-studio/docs/api-reference/viewership/get-realtime-viewership"}]}]}]}]},{"tab":"Developers","icon":"display-code","pages":[{"title":"Developers","href":"/v2/developers/portal"}]},{"tab":"Gateways","icon":"torii-gate","pages":[{"title":"Gateways","href":"/v2/gateways/portal"}]},{"tab":"Orchestrators","icon":"microchip","pages":[{"title":"Orchestrators","href":"/v2/orchestrators/portal"}]},{"tab":"Delegators","icon":"hand-holding-dollar","pages":[{"title":"Delegators","href":"/v2/delegators/portal"}]},{"tab":"Community","icon":"people-group","pages":[{"title":"Community","href":"/v2/community/community-portal"}]},{"tab":"Resource HUB","icon":"books","hidden":false,"pages":[{"title":"Resource HUB","href":"/v2/resources/documentation-guide/documentation-overview"}]},{"tab":"Internal Hub","icon":"info-circle","hidden":true,"pages":[{"title":"Internal Hub","href":"/v2/internal/overview/about"}]}]}]}]},"basePath":"","title":"Clip a livestream - Livepeer Docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["6d89261695"],"chunks":["preview-widget-OgaTV5RT.js"]}