Spaces:
Paused
Paused
Commit
·
1893784
1
Parent(s):
2d916c0
fix
Browse files
video.py
CHANGED
@@ -25,7 +25,7 @@ def ffmpeg_stream(file_url, token, output_dir="tmp/cache/stream"):
|
|
25 |
output_path: f'-c:v libx264 -crf 23 -preset medium -c:a aac -b:a 192k -f hls '
|
26 |
f'-hls_time 10 -hls_list_size 0 -hls_segment_filename {segment_filename}'
|
27 |
},
|
28 |
-
global_options=f'-headers \"Authorization: Bearer {token}\r\n
|
29 |
)
|
30 |
|
31 |
try:
|
|
|
25 |
output_path: f'-c:v libx264 -crf 23 -preset medium -c:a aac -b:a 192k -f hls '
|
26 |
f'-hls_time 10 -hls_list_size 0 -hls_segment_filename {segment_filename}'
|
27 |
},
|
28 |
+
global_options=f'-headers \"Authorization: Bearer {token}\"\r\n'
|
29 |
)
|
30 |
|
31 |
try:
|