Skip to content

Commit

Permalink
[Player] Implements prism-media library
Browse files Browse the repository at this point in the history
Uses prism-media instead of fluent-ffmpeg
* Removes unused ytdl-core since the library is abandoned and non-functional
* Adds prism-media dependency
* Removes fluent-ffmpeg and ytdl-core dependencies
* Fixes memory leak (closes #73)
  by manually destroying ffmpeg process and yt-dlp process after resource 'close' event
* Prevents youtube-dl-exec from force crashing the server
  • Loading branch information
mikeyaworski committed Jun 18, 2024
1 parent 2c33a19 commit 4495ea2
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 248 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:18.20-alpine

WORKDIR /code

RUN apk add --no-cache python3 ffmpeg alpine-sdk
RUN apk add --no-cache python3 ffmpeg alpine-sdk autoconf automake g++ libtool

COPY package*.json ./

Expand Down
Loading

0 comments on commit 4495ea2

Please sign in to comment.