-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] custom FPS does not work on servers without Server Boost or in DM without Nitro #21
Comments
Works fine for me. You just have to open the menu and press apply again. |
I was able to replicate it. it only happens specifically in servers with no boosts for me. |
nevermind. it doesn't work for me at all in any server. |
yep, then discord immediately crashes for me. it only started occurring to me after I restarted my PC recently. Discord's console throws an error, "Invalid Framerate: 144" |
I've tried reinstalling stable discord, and also using the development branch. I'll try canary in a bit |
I made a patch to fix it, it no longer crashes. I'll make a pull request in a second here. All you have to do is return e on the default case, as it is a clientsided check |
holy fuck the issue is bigger than I thought. if you even view a stream that is at a non-standard framerate, it crashes everyone else's discord basically, what I mean is, the client throws that error if you send or receive a stream of an invalid framerate. If you remove the clientsided check, you can still stream at 144FPS, but it will crash everyone else's client if they view it. |
I also fixed it myself and I tried lmao. Yep it was crashing for everyone else who tries to enter the stream. |
I managed to bypass it and avoid the crashes. I'll make a pull request. |
well actually no, that doesn't work. I tried spoofing MaxFrameRate, and keeping EncodingVideoFrameRate at what you set it to, but it turns out that MaxFrameRate is the max speed at which the client can play back the video stream. I have to rethink this. |
Discord Account
kosmoxapka
What happens when the bug or crash occurs?
custom FPS does not work on servers without Server Boost or in DM without Nitro
What is the expected behaviour?
custom FPS will work again
for example, the CustomScreenShare plugin allows you to do this without any problems
How do you recreate this bug or crash?
opened betterscreenshare settings, disabled simple, set framerate to 75.
Errors
Request Agreement
The text was updated successfully, but these errors were encountered: