aiko-chan-ai / Discord-video-selfbot

for djs-selfbot-v13
https://github.com/dank074/Discord-video-stream
33 stars 8 forks source link

[Feature request]: A method to limit the fps "setFps" #21

Closed Majoramari closed 11 months ago

Majoramari commented 11 months ago

I think it is good to have a method to limit the fps like player.setResolution("1440p");

aiko-chan-ai commented 11 months ago
player.play({fps: 15})
Majoramari commented 11 months ago
player.play({fps: 15})

Working like a charm!

<Player>.play({
    volume: 1,
    kbpsAudio: 384,
    kbpsVideo: 3072,
    fps: 15 // <-- fps here
  });

I'm closing this feature request because it has been implemented here: https://github.com/aiko-chan-ai/Discord-video-selfbot/commit/f9522c48445857e1f68c83590dedec70b5bc8b54 !