From 37416034cb0f3c33bd51d1c40b71f7015cf50767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 24 Nov 2020 21:51:24 +0100 Subject: [PATCH] single input neighbour allowed --- backend.yml | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/backend.yml b/backend.yml index c0f7735..3e9bb45 100644 --- a/backend.yml +++ b/backend.yml @@ -394,7 +394,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EncodeObjectParameters' + $ref: '#/components/schemas/RestreamObjectParameters' required: true parameters: - name: id @@ -410,7 +410,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StreamerObjectData' + $ref: '#/components/schemas/EncodeObjectParameters' 404: description: ID not found content: @@ -454,12 +454,8 @@ components: items: type: string format: url - bitrate: - type: integer - width: - type: integer - height: - type: integer + ffmpeg_args: + type: string IngestObjectNeighbors: required: - outputNeighbours @@ -483,11 +479,9 @@ components: - outputURLs type: object properties: - inputNeighbours: - type: array - items: - type: string - format: uuid + inputNeighbour: + type: string + format: uuid outputURLs: type: array items: @@ -497,27 +491,19 @@ components: required: - inputNeighbours - outputNeighbours - - bitrate - - width - - height + - ffmpeg_args type: object properties: - inputNeighbours: - type: array - items: - type: string - format: uuid + inputNeighbour: + type: string + format: uuid outputNeighbours: type: array items: type: string format: uuid - bitrate: - type: integer - width: - type: integer - height: - type: integer + ffmpeg_args: + type: string StreamerObjectArray: type: array items: