PeerTube · Schema
VideoSource
VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming
Properties
| Name | Type | Description |
|---|---|---|
| inputFilename | string | Uploaded/imported filename |
| fileDownloadUrl | string | **PeerTube >= 6.1** If enabled by the admin, the video source file is kept on the server and can be downloaded by the owner |
| resolution | object | **PeerTube >= 6.1** |
| size | integer | **PeerTube >= 6.1** Video file size in bytes |
| fps | number | **PeerTube >= 6.1** Frames per second of the video file |
| width | integer | **PeerTube >= 6.1** Video stream width |
| height | integer | **PeerTube >= 6.1** Video stream height |
| createdAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/VideoSource.json",
"title": "VideoSource",
"properties": {
"inputFilename": {
"type": "string",
"description": "Uploaded/imported filename"
},
"fileDownloadUrl": {
"type": "string",
"description": "**PeerTube >= 6.1** If enabled by the admin, the video source file is kept on the server and can be downloaded by the owner"
},
"resolution": {
"description": "**PeerTube >= 6.1**",
"allOf": [
{
"$ref": "#/components/schemas/VideoResolutionConstant"
}
]
},
"size": {
"type": "integer",
"description": "**PeerTube >= 6.1** Video file size in bytes"
},
"fps": {
"type": "number",
"description": "**PeerTube >= 6.1** Frames per second of the video file"
},
"width": {
"type": "integer",
"description": "**PeerTube >= 6.1** Video stream width"
},
"height": {
"type": "integer",
"description": "**PeerTube >= 6.1** Video stream height"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}