Update ffm3u8_open.js

main
catvod 2 years ago committed by GitHub
parent 1c305bbcc5
commit e5e20a98ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      open/ffm3u8_open.js

@ -410,7 +410,7 @@ async function startTsTask(hlsKey, task, headers) {
stream: file,
timeout: [5000, 10000],
});
if (resp.error) {
if (resp.error || resp.code >= 300) {
await file.close();
if (!task.read) {
await file.delete();

Loading…
Cancel
Save