updated patch to reference new discord API

This commit is contained in:
kaitlynkittyy 2024-04-09 17:27:00 -04:00
parent c9b1c6592c
commit 5d3cf70722

View file

@ -88,12 +88,14 @@ addPatch({
bitrateMax: 8000000,
bitrateTarget: 600000
});
// I DONT KNOW WHY THIS HAS TO BE HERE BUT WITHOUT IT NOTHING WORKS RIGHT ( BITRATE GETS SET TO 4000KBPS )
Object.assign(opts.encode, {
framerate,
pixelCount: height * width
});
Object.assign(opts.capture, {
framerate,
width,
height,
pixelCount: height * width
height
});
}
});