Remove fluent-ffmpeg dep. TODO: Merge puyo's PR

This commit is contained in:
Madeline
2022-12-17 19:33:51 +11:00
parent b25fa163ae
commit 5ededaf289
5 changed files with 2145 additions and 2997 deletions
+2 -4
View File
@@ -16,10 +16,8 @@ export async function Message(this: WebSocket, buffer: WS.Data) {
// TODO: compression
var data: Payload;
if (
(buffer instanceof Buffer && buffer[0] === 123) ||
(typeof buffer === "string")
) {
if ((buffer instanceof Buffer && buffer[0] === 123) ||
(typeof buffer === "string")) {
data = bigIntJson.parse(buffer.toString());
}
else if (this.encoding === "json" && buffer instanceof Buffer) {