Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix screenshare issues #2304

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Fix screenshare issues #2304

merged 2 commits into from
Jun 28, 2023

Conversation

jallamsetty1
Copy link
Member

  • fix(JingleSession) Reconfigure the stream encodings after p2p->jvb switch.

Fixes blurry screenshare in some cases. There is a higher probability of the higher layers getting suspended when all the stream encodings are enabled for low fps SS. Make sure only the highest spatial layer is sent for low fps SS after p2p->jvb switch. Make sure all the stream encodings are enabled for high fps SS after p2p->jvb switch.

  • fix(ScreenObtainer): Apply contentHint on captured desktop track correctly.

contentHint needs to be set to 'motion' for high fps SS and 'detail' otherwise. Fixes #2298.

…itch.

Fixes blurry screenshare in some cases. There is a higher probability of the higher layers getting suspended when all the stream encodings are enabled for low fps SS. Make sure only the highest spatial layer is sent for low fps SS after p2p->jvb switch. Make sure all the stream encodings are enabled for high fps SS after p2p->jvb switch.
…ectly.

contentHint needs to be set to 'motion' for high fps SS and 'detail' otherwise. Fixes jitsi#2298.
Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but I think we should retain the public API function and turn it into a noop and log a warning.

* @param {MediaStreamTrack} track - the track that is transmitted
* @param {String} hint - contentHint value that needs to be set on the track
*/
setVideoTrackContentHints(track, hint) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this break the public API?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this is not documented as a public API, this should have been a private function when it was added.

@jallamsetty1 jallamsetty1 merged commit 6232772 into jitsi:master Jun 28, 2023
2 checks passed
@jallamsetty1 jallamsetty1 deleted the fix-ss branch June 28, 2023 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Screening Sharing Not Getting Above 5 FPS
2 participants