Skip to content

place.stream.media.track

Lexicon Version: 1

Type: record

A track for a video stream, either part of the source or a custom additional track. One of: video, audio, subtitles.

Record Key: tid

Record Properties:

NameTypeReq’dDescriptionConstraints
trackUnion of:
  place.stream.media.defs#muxlTrack
videostringIf this is a derived track like a transcode or a transcript, what was the source place.stream.video?Format: at-uri
parentTrackcom.atproto.repo.strongRefIf this is a derived track like a transcode or a transcript, what was the parent track?
metadataUnion of:
  place.stream.media.track#commonMetadata

Type: object

Metadata common to all media types. Contains subobjects for other media types.

Properties:

NameTypeReq’dDescriptionConstraints
languagestringIETF BCP 47 language tag corresponding to the content of this track
durationMsintegerduration of this track in milliseconds
videoplace.stream.segment#video
audioplace.stream.segment#audio

{
"lexicon": 1,
"id": "place.stream.media.track",
"defs": {
"main": {
"type": "record",
"description": "A track for a video stream, either part of the source or a custom additional track. One of: video, audio, subtitles.",
"key": "tid",
"record": {
"required": ["track"],
"type": "object",
"properties": {
"track": {
"type": "union",
"refs": ["place.stream.media.defs#muxlTrack"]
},
"video": {
"type": "string",
"format": "at-uri",
"description": "If this is a derived track like a transcode or a transcript, what was the source place.stream.video?"
},
"parentTrack": {
"type": "ref",
"ref": "com.atproto.repo.strongRef",
"description": "If this is a derived track like a transcode or a transcript, what was the parent track?"
},
"metadata": {
"type": "union",
"refs": ["place.stream.media.track#commonMetadata"]
}
}
}
},
"commonMetadata": {
"type": "object",
"description": "Metadata common to all media types. Contains subobjects for other media types.",
"required": [],
"properties": {
"language": {
"type": "string",
"description": "IETF BCP 47 language tag corresponding to the content of this track"
},
"durationMs": {
"type": "integer",
"description": "duration of this track in milliseconds"
},
"video": {
"type": "ref",
"ref": "place.stream.segment#video"
},
"audio": {
"type": "ref",
"ref": "place.stream.segment#audio"
}
}
}
}
}