This commit is contained in:
Torma Kristóf 2020-11-24 21:05:27 +01:00
parent 38a54a6a44
commit af3bc84fac
1 changed files with 17 additions and 7 deletions

View File

@ -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: