minor fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-12-06 11:06:10 +01:00
parent 24d5200bdf
commit 258e0154fa
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class Kubectl:
data={"TYPE": self.streamtype, "STREAM_KEY": self.stream_key,
"PUSH_URLS": self.push_urls, "FFMPEG_ARGS": self.ffmpeg_args,
"ENCODE_PUSH_URL": self.encode_push_url})
client.CoreV1Api().create_namespaced_config_map(namespace="videon", name=self.name, body=configmap)
client.CoreV1Api().create_namespaced_config_map(namespace="videon", body=configmap)
def __update_configmap(self):
configmap = client.V1ConfigMap(api_version="v1", kind="ConfigMap",

View File

@ -49,8 +49,8 @@ class IngestInputSchema(ma.Schema):
class EncodeInputSchema(ma.Schema):
inputNeighbour = fields.UUID(required=True)
outputNeighbours = fields.List(fields.UUID(), required=True)
inputNeighbour = fields.UUID(required=False)
outputNeighbours = fields.List(fields.UUID(), required=False)
bitrate = fields.Integer(required=False)
width = fields.Integer(required=False)
height = fields.Integer(required=False)