Added options to choose codec for streaming, show performance stats, enable vsync and frame pacing#130
Conversation
FrogTheFrog
left a comment
There was a problem hiding this comment.
Thanks for the PR!
I have finished the initial review. Please read all of the comments before doing anything since they still apply, but stuff will have to moved around (or removed) based on one of the later comments.
PS. My SteamDeck is on RMA, so even if we're "done done" with the PR, I will only merge it once I can test it live.
src/components/moonlightsettingsview/resolution/resolutionsection.tsx
Outdated
Show resolved
Hide resolved
src/components/moonlightsettingsview/resolution/resolutionsection.tsx
Outdated
Show resolved
Hide resolved
src/components/moonlightsettingsview/resolution/resolutionsection.tsx
Outdated
Show resolved
Hide resolved
…e stats dropdown menus. Minor refactoring
Just pushed the fixes. |
|
I've decided to finally get rid of some tech. debt with this PR (hope you don't mind). I've pushed some python changes. Could I ask you to test them out, just to see if it works at all, if not plz help me fix it :) EDIT: |
No problem! I'll test them in the next days and let you know. EDIT: While we are it, I would also add options for V-sync and frame pacing (that in my case helped with stuttering of the stream) and put also those in the general section. What do you think? |
Go for it. FYI, for stuttering what I did was changes the SteamDeck FPS to match that of the Moonlight. However, I have not added this to Moondeck yet (since I need to check if there would be any complications). EDIT: I will continue the review after I receive my SteamDeck. Which should hopefully come back to me next week. |
… for vsync and frame pacing in general section
|
I have implemented the options for vsync and frame pacing. I have created a generic dropdown component for boolean options aswell. |
|
I'm done with my refactoring. Please get yourself a fresh build and play a round a little. If you spot no problems, I will merge and start the release process. |
|
I've tested the changes on my deck they are working fine |
|
@AugustoPedron could I ask you to leave a review in SteamDeckHomebrew/decky-plugin-database#956 ? (please lookup the proper report template in https://wiki.deckbrew.xyz/en/user-guide/testing) |
Sorry for the late answer but I didn't check the emails until now and thought I had nothing left to do for the PR... |
I have added the possibility to choose which codec to use for streaming. The "Default" option corresponds to the current behaviour of using the codec configured in Moonlight's settings. Other options correspond to Moonlight available options: AV1, HEVC, H.264 and Auto.
I have also added a toggle to show or hide performance stats (the default value is false).