place.stream.media.finalizeLivestream

moderation.stream.place

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Turn a finished livestream into a VOD. The server concatenates the MUXL segments it recorded for the livestream into a single content blob, derives the playback sidecars, and publishes the place.stream.media.track records. Processing completes server-side and creates a draft VOD; the client does not need to poll or publish — the user publishes the draft later via place.stream.vod.publishDraft. Returns the draft's ats:// URI so the client can navigate to it, alongside an uploadId for backwards compatibility.",
      "errors": [
        {
          "description": "No livestream with the given URI is known, or it does not belong to the authenticated user.",
          "name": "LivestreamNotFound"
        },
        {
          "description": "The livestream has no recorded MUXL segments to finalize (recording was not enabled, or none completed).",
          "name": "NoRecording"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "livestream": {
              "description": "AT-URI of the place.stream.livestream record to finalize into a VOD. Must belong to the authenticated user.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "livestream"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "draftUri": {
              "description": "The ats:// URI of the draft VOD created for this finalize. The draft reaches status 'ready' when processing completes; the user publishes it from the Drafts tab via place.stream.vod.publishDraft.",
              "type": "string"
            },
            "uploadId": {
              "description": "Identifier for the finalize job. Retained for backwards compatibility; the draft flow no longer requires the client to poll getUploadStatus.",
              "type": "string"
            }
          },
          "required": [
            "uploadId",
            "draftUri"
          ],
          "type": "object"
        }
      },
      "parameters": null,
      "type": "procedure"
    }
  },
  "id": "place.stream.media.finalizeLivestream",
  "lexicon": 1
}

Validate Record

Validate a record against place.stream.media.finalizeLivestream

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:gqtagsooi75obldmytuow57q
CID
bafyreid7oqrjuv2wwuyffqaaxax6sov7wv4g6lrf3m7gfaqwplltyd644u
Indexed At
2026-08-20 16:29 UTC
AT-URI
at://did:plc:gqtagsooi75obldmytuow57q/com.atproto.lexicon.schema/place.stream.media.finalizeLivestream

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.vod.publishDraft procedurenot from the namespace authority

    Promote a ready draft VOD to a public place.stream.video record. The server carries over source and durationMs from the draft, backfills a generated thumbnail if the draft has none, writes the video record via putRecord…

  • place.stream.vod.createDraft procedurenot from the namespace authority

    Create an empty draft VOD in the 'processing' state. The draft is the durable anchor for an upload: the client creates it first, then passes its URI to place.stream.media.createUpload so the upload's processing fills th…

  • place.stream.media.publishVideo procedurenot from the namespace authority

    Publish a place.stream.video record for a finished upload, server-side. The caller supplies the record it would otherwise putRecord itself; the server overrides the fields it is authoritative about (source tracks and du…

  • place.stream.vod.deleteDraft procedurenot from the namespace authority

    Discard a draft VOD. The processed content blob is not deleted (it may be referenced elsewhere). Only the draft record is removed.

  • place.stream.vod.draftVideo recordnot from the namespace authority

    A draft VOD: pre-publication video metadata and processing state. Modeled as a permissioned-data-style record (CBOR-serialized, addressed by an ats:// URI) stored in statedb until the permissioned-data spec ships (blues…

Lexicon Garden

@