place.stream.segment

Media file representing a segment of a livestream

Repository @moderation.stream.place did:plc:gqtagsooi75obldmytuow57q not from the namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritystream.place
Indexed
cid bafyreicl63iio5bncr5ijec3j5yppulmfvpvgezn6xjlqzdz5c5o6yzgmq

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "audio": {
      "properties": {
        "channels": {
          "type": "integer"
        },
        "codec": {
          "enum": [
            "opus",
            "aac"
          ],
          "type": "string"
        },
        "rate": {
          "type": "integer"
        }
      },
      "required": [
        "codec",
        "rate",
        "channels"
      ],
      "type": "object"
    },
    "framerate": {
      "properties": {
        "den": {
          "type": "integer"
        },
        "num": {
          "type": "integer"
        }
      },
      "required": [
        "num",
        "den"
      ],
      "type": "object"
    },
    "main": {
      "description": "Media file representing a segment of a livestream",
      "key": "tid",
      "record": {
        "properties": {
          "audio": {
            "items": {
              "ref": "#audio",
              "type": "ref"
            },
            "type": "array"
          },
          "contentRights": {
            "ref": "place.stream.metadata.contentRights",
            "type": "ref"
          },
          "contentWarnings": {
            "ref": "place.stream.metadata.contentWarnings",
            "type": "ref"
          },
          "creator": {
            "format": "did",
            "type": "string"
          },
          "distributionPolicy": {
            "ref": "place.stream.metadata.distributionPolicy",
            "type": "ref"
          },
          "duration": {
            "description": "The duration of the segment in nanoseconds",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the segment",
            "type": "string"
          },
          "signingKey": {
            "description": "The DID of the signing key used for this segment",
            "type": "string"
          },
          "size": {
            "description": "The size of the segment in bytes",
            "type": "integer"
          },
          "startTime": {
            "description": "When this segment started",
            "format": "datetime",
            "type": "string"
          },
          "video": {
            "items": {
              "ref": "#video",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "signingKey",
          "startTime",
          "creator"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "segmentView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "record": {
          "type": "unknown"
        }
      },
      "required": [
        "cid",
        "record"
      ],
      "type": "object"
    },
    "video": {
      "properties": {
        "bframes": {
          "type": "boolean"
        },
        "codec": {
          "enum": [
            "h264"
          ],
          "type": "string"
        },
        "framerate": {
          "ref": "#framerate",
          "type": "ref"
        },
        "height": {
          "type": "integer"
        },
        "width": {
          "type": "integer"
        }
      },
      "required": [
        "codec",
        "width",
        "height"
      ],
      "type": "object"
    }
  },
  "id": "place.stream.segment",
  "lexicon": 1
}