PeerTube · Schema
VideoStreamingPlaylists-HLS
VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming
Properties
| Name | Type | Description |
|---|---|---|
| playlistUrl | string | |
| segmentsSha256Url | string | |
| files | array | Video files associated to this playlist. The difference with the root `files` property is that these files are fragmented, so they can be used in this streaming playlist (HLS, etc.) |
| redundancies | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/VideoStreamingPlaylists-HLS.json",
"title": "VideoStreamingPlaylists-HLS",
"properties": {
"playlistUrl": {
"type": "string",
"format": "url"
},
"segmentsSha256Url": {
"type": "string",
"format": "url"
},
"files": {
"type": "array",
"description": "Video files associated to this playlist.\n\nThe difference with the root `files` property is that these files are fragmented, so they can be used in this streaming playlist (HLS, etc.)\n",
"items": {
"$ref": "#/components/schemas/VideoFile"
}
},
"redundancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"baseUrl": {
"type": "string",
"format": "url"
}
}
}
}
}
}