How to set constraints to prioritize resolution over fps on mobile?

Hi, my use-case requires the mobile client to prioritize sharpness over fps when sending video.

I.e. when the signal starts degrading, I want the resolution to stay as high as possible by sacrificing fps instead, allowing it to drop to as low as 13.

  1. Where should I set up the constraints to make this possible?
  2. Is there a way to set the RtpEncodingParameter degradationPreference to maintain-resolution? Would it be useful in my case?

P.S. I am aware of previous topics on this, but since then there was a change implementing “modern constraints” in react-native-webrtc plugin, which might’ve changed things.

1 Like

We also have this issue. Does somebody have a hint here how to adapt the constraints in this direction?

We too are looking for a way to sacrifice fps in order to maintain the best resolution.