Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
f7a3dcd3
Commit
f7a3dcd3
authored
Jul 27, 2018
by
Julian Rother
Browse files
Restart complex live transcoder on failure
parent
7f880726
Changes
1
Hide whitespace changes
Inline
Side-by-side
livestreams.py
View file @
f7a3dcd3
...
...
@@ -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
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment