Allow bounded playback to buffer ahead of the browser
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ def command(source, authorization, duration):
|
||||
'-tune', 'zerolatency', '-profile:v', 'baseline', '-pix_fmt', 'yuv420p',
|
||||
'-crf', '26', '-g', '20', '-bf', '0']
|
||||
input_options = (['-rw_timeout', '15000000', '-headers', 'Authorization: ' + authorization + '\r\n']
|
||||
if authorization else ['-readrate', '1'])
|
||||
if authorization else [])
|
||||
return [executable, '-hide_banner', '-loglevel', 'error', '-nostdin',
|
||||
'-threads', '1', '-filter_threads', '1'] + acceleration + input_options + [
|
||||
'-analyzeduration', '1000000', '-probesize', '1000000',
|
||||
|
||||
Reference in New Issue
Block a user