Commit f7a3dcd3 authored by Julian Rother's avatar Julian Rother

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):
restart_job(id)
@app.route('/internal/streaming/start', methods=['POST'])
@mod_required
def start_stream():
......
Markdown is supported
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