{
"id": "place.stream.media.track",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"track"
],
"properties": {
"track": {
"refs": [
"place.stream.media.defs#muxlTrack"
],
"type": "union"
},
"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?"
},
"metadata": {
"refs": [
"place.stream.media.track#commonMetadata"
],
"type": "union"
},
"parentTrack": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "If this is a derived track like a transcode or a transcript, what was the parent track?"
}
}
},
"description": "A track for a video stream, either part of the source or a custom additional track. One of: video, audio, subtitles."
},
"trackView": {
"type": "object",
"required": [
"uri",
"cid",
"author",
"record"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"author": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"record": {
"type": "unknown"
}
}
},
"commonMetadata": {
"type": "object",
"properties": {
"audio": {
"ref": "place.stream.segment#audio",
"type": "ref"
},
"video": {
"ref": "place.stream.segment#video",
"type": "ref"
},
"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"
}
},
"description": "Metadata common to all media types. Contains subobjects for other media types."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}