Skip to content
Snippets Groups Projects
Commit 49c81f52 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed live source thumbnails

parent dbbfcbe2
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ def streamdrop(id):
def live_source_thumbnail():
sources = query('SELECT * FROM live_sources WHERE clientid IS NOT NULL')
for source in sources:
schedule_job('thumbnail', {'src': 'rtmp://%s/src/%i'%(source['server'], source['id']), 'filename': 's_%i.jpg'%source['id']})
schedule_job('thumbnail', {'srcurl': 'rtmp://%s/src/%i'%(source['server'], source['id']), 'filename': 's_%i.jpg'%source['id']})
@app.route('/internal/streaming/auth/<server>', methods=['GET', 'POST'])
def streamauth(server):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment