Add stream mapping to process state, adjust addresses and indexes for HLS outputs

This commit is contained in:
Ingo Oppermann
2023-09-26 14:52:54 +02:00
parent ab7c9e448b
commit a416beea08
13 changed files with 507 additions and 150 deletions

View File

@@ -5656,6 +5656,75 @@ const docTemplate = `{
}
}
},
"api.GraphElement": {
"type": "object",
"properties": {
"dst_filter": {
"type": "string"
},
"dst_name": {
"type": "string"
},
"format": {
"type": "string"
},
"height": {
"type": "integer"
},
"index": {
"type": "integer"
},
"inpad": {
"type": "string"
},
"layout": {
"type": "string"
},
"outpad": {
"type": "string"
},
"sampling": {
"description": "Hz",
"type": "integer"
},
"src_filter": {
"type": "string"
},
"src_name": {
"type": "string"
},
"timebase": {
"type": "string"
},
"type": {
"description": "audio or video",
"type": "string"
},
"width": {
"type": "integer"
}
}
},
"api.GraphMapping": {
"type": "object",
"properties": {
"copy": {
"type": "boolean"
},
"index": {
"type": "integer"
},
"input": {
"type": "integer"
},
"name": {
"type": "string"
},
"output": {
"type": "integer"
}
}
},
"api.GraphQuery": {
"type": "object",
"properties": {
@@ -6510,6 +6579,9 @@ const docTemplate = `{
"$ref": "#/definitions/api.ProgressIO"
}
},
"mapping": {
"$ref": "#/definitions/api.StreamMapping"
},
"outputs": {
"type": "array",
"items": {
@@ -8009,6 +8081,23 @@ const docTemplate = `{
}
}
},
"api.StreamMapping": {
"type": "object",
"properties": {
"graphs": {
"type": "array",
"items": {
"$ref": "#/definitions/api.GraphElement"
}
},
"mapping": {
"type": "array",
"items": {
"$ref": "#/definitions/api.GraphMapping"
}
}
}
},
"api.Version": {
"type": "object",
"properties": {