Cast 2.0

Get streamer token

post
/cast/streamer-token

Generates LiveKit credentials for a streamer to broadcast in a scene. This endpoint validates a streaming token and provides the necessary credentials for a streamer to connect to the LiveKit room and start streaming. No authentication required - uses streaming token for validation.

Body
tokenstringRequired

Streaming token for authentication

identitystringRequired

Display name for the streamer

Responses
chevron-right
200

Streamer token generated successfully

application/json
post
/cast/streamer-token

Get watcher token

post
/cast/watcher-token

Generates LiveKit credentials for a watcher to view streams in a location. This endpoint allows users to join as viewers in a specific location (parcel or world) and watch active streams. No authentication required.

Body
locationstringRequired

Location (parcel coordinates or world name)

Example: 20,-4
identitystringRequired

Display name for the watcher

Responses
chevron-right
200

Watcher token generated successfully

application/json
post
/cast/watcher-token
get
/cast/generate-stream-link

Generates a unique stream link for a scene that allows streamers to broadcast and watchers to view the stream. Only scene administrators can generate stream links. The generated link expires after 4 days. Requires Signed Fetch authentication from decentraland-kernel-scene. Must include the complete identity header chain: x-identity-auth-chain-0, x-identity-auth-chain-1, x-identity-auth-chain-2, x-identity-timestamp, and x-identity-metadata.

Authorizations
x-identitystringRequired

Signed Fetch authentication for scene-based requests. Requires a chain of identity headers:

  • x-identity-auth-chain-0: Signer information
  • x-identity-auth-chain-1: Ephemeral key information
  • x-identity-auth-chain-2: Signed entity information
  • x-identity-timestamp: Request timestamp
  • x-identity-metadata: Request metadata Used for authentication from decentraland-kernel-scene.
Responses
chevron-right
200

Stream link generated successfully

application/json
get
/cast/generate-stream-link

Get stream information

get
/cast/stream-info/{streamingKey}

Retrieves information about a stream using its streaming key. This endpoint provides details about the place, location, and stream status. No authentication required.

Path parameters
streamingKeystringRequired

Streaming key for the stream

Responses
chevron-right
200

Stream information retrieved successfully

application/json
get
/cast/stream-info/{streamingKey}

Last updated