[downloader/hls] immediately delegate downloading to ffmpeg in case live stream
This commit is contained in:
parent
51ef4919df
commit
fb4fc44928
7 changed files with 27 additions and 25 deletions
|
@ -432,8 +432,7 @@ class VKIE(VKBaseIE):
|
|||
})
|
||||
elif format_id == 'hls':
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
format_url, video_id, 'mp4',
|
||||
entry_protocol='m3u8' if is_live else 'm3u8_native',
|
||||
format_url, video_id, 'mp4', 'm3u8_native',
|
||||
m3u8_id=format_id, fatal=False, live=is_live))
|
||||
elif format_id == 'rtmp':
|
||||
formats.append({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue