Low video quality when sharing screen with audio

This is really a Web API question. Try using other constraints when initializing your screenStream object like this:

video: {
    width: { ideal: 1920, max: 1920 },
    height: { ideal: 1080, max: 1080 }
}

Try playing with the constraints options until you are satisfied with the result for your specifc use case: MediaTrackConstraints - Web APIs | MDN