Skip to content

Commit

Permalink
fix: distory flv
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 24, 2024
1 parent 8e76333 commit a702689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a702689

Please sign in to comment.