This message was deleted.
# helpdesk
s
This message was deleted.
e
is this on swift?
b
Livekit react client
e
livekit-react-native or just the web js client?
b
web js client
e
cc: @polite-kilobyte-67570, probably capping scaleResolutionDownBy to 1 is in order?
๐Ÿ‘ 1
@bright-tiger-35509 would you happen to know the width/height of the screenshare source?
b
using , Livekit cloud on server side
p
thanks for the mention @eager-raincoat-52616 @bright-tiger-35509 can you post your room options settings here?
b
Copy code
connectOptions={{
        autoSubscribe: false,
      }}
      roomOptions={{
        adaptiveStream: false,
        dynacast: true,
        publishDefaults: {
          videoEncoding: {
            maxBitrate: 1_500_000,
            maxFramerate: 20,
          },
          screenShareEncoding: {
            maxBitrate: 6_000_000,
            maxFramerate: 30,
          },
          audioBitrate: 20_000,
          dtx: true,
          simulcast: true,
          videoSimulcastLayers: [VideoPresets43.h480, VideoPresets43.h240],
          screenShareSimulcastLayers: [ScreenSharePresets.h1080fps30, ScreenSharePresets.h720fps15]
        },
      }}
@eager-raincoat-52616 3024 ร— 1964
p
thanks! itโ€™s possible for this error to get triggered if the original resolution is smaller than the one specified in the preset. we have a fix for it that will be released with the next client-sdk-js release! https://github.com/livekit/client-sdk-js/pull/513
b
Thanks !! ๐Ÿ™‚