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