I’m using the unity livekit client sdk and publish...
# ask-ai
a
I’m using the unity livekit client sdk and publishing a screen share track, the quality looks really bad, is there any way to make it better?
t
Thanks for reaching out, Yahli. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Could you share a bit more about how your screen sharing is set up right now? For example: • Are you using any particular video encoding settings or presets? • What resolution and frame rate are you aiming for during the screen share? • Have you noticed any problems with bandwidth or your network connection? Knowing these details will really help us figure out how to make your screen sharing experience better.
a
I’m using the following encoding options: 30 fps 512,000 max bitrate Simulcast = true The Texture2D resolution is 327x180, I’m aiming for somewhere along the lines of 720p / 1080p
t
To help you get the best quality for your screen share, the Unity LiveKit client SDK offers a handy
ScreenSharePresets
class with some ready-to-go settings. If you're aiming for 720p or 1080p, here are a few presets you might find useful: • `H720_FPS15`: 1280x720 resolution, 1,000,000 bitrate, 15 fps • `H1080_FPS15`: 1920x1080 resolution, 1,500,000 bitrate, 15 fps • `H1080_FPS30`: 1920x1080 resolution, 3,000,000 bitrate, 30 fps These presets are tailored to give you a higher quality screen sharing experience. You might need to tweak your current settings a bit to match these. If you want, I’m here to help guide you through the setup or answer any questions you have! Sources: Runtime/Scripts/Room/Track/Options.cs
a
This class does not in fact exist…
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
a
You have searched through the web sdk, I’m looking for the general unity sdk
Bro
Getting ghosted by an ai agent damn