Web SDK: Is 1080p 30 FPS screen sharing supported?

We’re evaluating LiveKit’s Web SDK for screen sharing in a music livestreaming platform.

Our use case includes DAW demonstrations, music-production workflows, plugin interfaces, and other motion-sensitive screen content, where a higher frame rate is important.

We’d like to publish a screen-share track at 1920×1080 and 30 FPS.

A few questions:

  1. Does the LiveKit Web SDK support publishing screen share at 1080p/30 FPS?
  2. If so, what ScreenShareCaptureOptions, encoding settings, or other configuration would you recommend?
  3. What bitrate would you recommend for maintaining 1080p/30 FPS reliably?
  4. What minimum/recommended upload bandwidth and network conditions should the publisher have?
  5. Are there any browser, codec, device, or platform limitations we should account for?
  6. If 1080p/30 FPS isn’t currently supported, what is the practical maximum for Web SDK screen sharing?

We’re specifically asking about the actual WebRTC screen-share track being published at 30 FPS, rather than recording, egress, or downstream transcoding output.

Thanks!

@config, Yes, 1080p/30 is supported: ScreenSharePresets.h1080fps30 is 1920x1080 at 30 fps, 5 Mbps (options.ts#L540). It is not the default. The default screen-share encoding is h1080fps15 (1080p/15), so you get 15 fps unless you set 30 explicitly (defaults.ts#L17).

For motion content the frame-rate bias matters more than the preset. The screen-share default degradationPreference is maintain-resolution, which drops frames when bandwidth or CPU is tight (options.ts#L95). For DAW and plugin motion you want maintain-framerate plus contentHint: 'motion', so the encoder sheds resolution before frames:

import { ScreenSharePresets } from 'livekit-client';

await room.localParticipant.setScreenShareEnabled(true,
  { resolution: ScreenSharePresets.h1080fps30.resolution, contentHint: 'motion' },
  { screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
    degradationPreference: 'maintain-framerate' });

Bitrate: the preset targets 5 Mbps, so budget publisher upload above that with headroom (6 to 8 Mbps), because WebRTC backs off resolution or frame rate when the send rate cannot hold 5 Mbps. Browser limits: getDisplayMedia caps frame rate to the source and the browser, and on Safari 17 do not set a resolution, a bug there forces a low-resolution capture if you do (options.ts#L233-L238). The ceiling above 1080p/30 is ScreenSharePresets.original, full source resolution at 30 fps, 7 Mbps (options.ts#L542).