Commit f7a3dcd3 authored by Julian Rother's avatar Julian Rother
Browse files

Restart complex live transcoder on failure

parent 7f880726
......@@ -207,6 +207,10 @@ def schedule_livestream(lecture_id):
job_id = schedule_job('complex_live_transcode', data, priority=10)
return job_id
@job_handler('complex_live_transcode', state='failed')
def restart_failed_complex_live_transcode(id, type, data, state, status):
@app.route('/internal/streaming/start', methods=['POST'])
def start_stream():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment