From a70268927a4337e1b6d3d28854ef80ce0c598178 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Sun, 24 Nov 2024 14:27:21 +0800 Subject: [PATCH] fix: distory flv --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 6aa6993..2273cd4 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -71,7 +71,7 @@ export const formatTime = (date: Date) => { }; export const destroyOldCustomPlayLib = (art: any) => { - for (const key of ["dash", "m3u8", "hls", "ts", "mpd", "torrent"]) { + for (const key of ["dash", "m3u8", "hls", "ts", "mpd", "torrent", "flv"]) { if (art[key]) { art[key].destroy(); art[key] = undefined;