This commit is contained in:
parent
24d5200bdf
commit
258e0154fa
@ -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",
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user