> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# About Livepeer Studio

> Developer platform for live streaming and video-on-demand on the Livepeer network.

> [!NOTE]
>
> This page is maintained by the Livepeer Studio Team. Help & support available via the [Livepeer Discord]('https://discord.gg/livepeer').

[External link](https://livepeer.studio/)

<video controls playsInline src="https://raw.githubusercontent.com/livepeer/docs/docs-v2-assets/snippets/assets/media/videos/studio-hero-video.mp4" title="Video" />

Livepeer Studio is a hosted API platform for building **live streaming** and **video-on-demand** applications. It provides a REST API, TypeScript, Go, and Python SDKs, a React player and Broadcast component, and a dashboard for managing streams, assets, and billing.

Studio operates as a gateway on the Livepeer network, routing transcoding and delivery workloads to the decentralised orchestrator pool.

## Key Features

* **Livestream** - Create streams, ingest via RTMP or WebRTC, play back with low-latency WebRTC or HLS, record sessions, and multistream to other platforms.
* **Video on demand** - Upload assets (TUS or PUT), transcode, and play back with the Livepeer Player or any HLS/MP4 player.
* **Access control** - Gate playback with webhooks or JWTs for subscriptions or token-gating.
* **Events and analytics** - Webhooks for stream and asset events, and a viewership API for engagement and performance metrics.
* **SDKs** - TypeScript, Go, and Python server SDKs, plus a React Player and Broadcast component.

[Livepeer Studio — developer platform for live and on-demand video](https://www.youtube.com/embed/Q4xIbubnqRI)

## Try Livepeer Studio

> [card] [Quickstart](/solutions/livepeer-studio/docs/quickstart)
>
> Create an account, get an API key, and stream or upload your first asset.

> [card] [Studio CLI](/solutions/livepeer-studio/docs/get-started/studio-cli)
>
> Scaffold a new Livepeer app with `npx @livepeer/create`.

> [card] [Studio dashboard](https://livepeer.studio/dashboard)
>
> Manage streams, assets, API keys, and billing.

> [card] [API reference](/solutions/livepeer-studio/docs/reference/api)
>
> REST API for streams, assets, playback, webhooks, and more.

## Get Started

Get started with Livepeer Studio by creating an account, an API key, and then using the SDK to play a video (e.g. An asset you uploaded in the dashboard).

### 1. Create an account and API key

1. Go to [Livepeer Studio](https://livepeer.studio) and create an account.
2. Open the **Developers** area and click **Create API Key**.
3. Store the API key securely (e.g. in environment variables). Use it from your **backend** when calling the Livepeer Studio API.

> [!WARNING]
>
> **CORS-enabled API keys** are not recommended and will be deprecated. Make requests to the Livepeer Studio API from your backend and never expose your secret API key in the browser.

> [!NOTE]
>
> Use separate accounts or [projects](/solutions/livepeer-studio/docs/reference/managing-projects) for development and production to keep environments isolated.

### 1. Install the SDK

This example uses the JavaScript SDK and the Livepeer React library:

```bash icon="terminal" theme={null}
npm install livepeer @livepeer/react
```

### 1. Set up the client

Add your API key to environment variables, then create the Livepeer client (e.g. in a backend or server context):

```tsx icon="terminal" theme={null}
import Livepeer from "livepeer";

const livepeer = new Livepeer({
  apiKey: process.env.LIVEPEER_API_KEY,
});
```

### 1. Get playback info

Use the client to fetch playback info for an asset (for example, one you uploaded in the dashboard). You need the asset’s **playback ID**:

```ts icon="terminal" theme={null}
import { getSrc } from "@livepeer/react/external";

const playbackId = "f5eese9wwl88k4g8"; // replace with your playback ID

export async function getPlaybackSource() {
  const playbackInfo = await livepeer.playback.get(playbackId);
  return getSrc(playbackInfo.playbackInfo);
}
```

### 1. Play the asset

Use the Livepeer Player to play the video. Fetch the source on the server (e.g. in a React Server Component or API route), then pass it to the Player:

```tsx icon="terminal" theme={null}
import { PauseIcon, PlayIcon } from "@livepeer/react/assets";
import { getSrc } from "@livepeer/react/external";
import * as Player from "@livepeer/react/player";

export function DemoPlayer({ src }: { src: Src[] | null }) {
  return (
    <Player.Root src={src}>
      <Player.Container>
        <Player.Video title="Video" />
        <Player.Controls className="flex items-center justify-center">
          <Player.PlayPauseTrigger className="w-10 h-10">
            <Player.PlayingIndicator asChild matcher={false}>
              <PlayIcon />
            </Player.PlayingIndicator>
            <Player.PlayingIndicator asChild>
              <PauseIcon />
            </Player.PlayingIndicator>
          </Player.PlayPauseTrigger>
        </Player.Controls>
      </Player.Container>
    </Player.Root>
  );
}
```

## Livepeer Studio Resources

> [card] [Studio docs](https://livepeer.studio/docs)
>
> Full documentation: API reference, SDKs, and product guides.

> [card] [GitHub](https://github.com/livepeer/studio)
>
> Open-source Studio platform and SDK code.

> [card] [Discord](https://discord.gg/livepeer)
>
> Livepeer community: builders, operators, and ecosystem contributors.

> [card] [Client use cases](/solutions/livepeer-studio/client-use-cases)
>
> Platforms and products built on Livepeer Studio.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.