Comments (3)
Looks like this issue is known since 2021:
https://stackoverflow.com/questions/68741890/webrtc-screen-sharing-with-vp9-low-fps
https://bugs.chromium.org/p/webrtc/issues/detail?id=13016
PS: Leaving this here, no warranties express or implied, as a workaround:
--- a/modules/RTC/ScreenObtainer.js
+++ b/modules/RTC/ScreenObtainer.js
@@ -322,7 +322,7 @@ const ScreenObtainer = {
// Set contentHint on the desktop track based on the fps requested.
if ('contentHint' in desktopTrack) {
- desktopTrack.contentHint = desktopSharingFrameRate?.max > SS_DEFAULT_FRAME_RATE ? 'motion' : 'detail';
+ desktopTrack.contentHint = (browser.supportsVP9() || desktopSharingFrameRate?.max > SS_DEFAULT_FRAME_RATE) ? 'motion' : 'detail';
} else {
logger.warn('MediaStreamTrack contentHint attribute not supported');
}
Adding here the following:
We never go beyond 1080p screensharing in our application, and the quality is okay with this hack in non-e2ee sessions (vp9) and e2ee sessions (vp8). The contentHint motion would be applied in both cases as chrome supports vp9.
As the workaround seems okay for our usage, I will leave the issue here for maintainer review.
from lib-jitsi-meet.
Ping @jallamsetty1
from lib-jitsi-meet.
This is because of https://bugs.chromium.org/p/webrtc/issues/detail?id=13016. If you want higher fps, you can set the desktopSharingFrameRate.max
to > 5 and this is configurable via config.js, settings menu and through JitsiConference:setDesktopSharingFrameRate()
API.
from lib-jitsi-meet.
Related Issues (20)
- Any participant can affect availableOutgoingBitrate for all other participants when using VP9 HOT 2
- Race condition may cause JitsiConference.prototype._doReplaceTrack to hang forever HOT 1
- crashes on iOS 14 / 15 with d.getHeight is not a function. 'd.getHeight' is undefined HOT 3
- Please remove not used layers fields HOT 3
- Unlocked meetings vs "waiting for moderator" - Can we get open meetings back? HOT 2
- CI/Build Issue HOT 10
- Simulcast remains active despite configuration attempts to disable it. HOT 4
- Websocket connection error colibri-ws connection failed HOT 5
- Documentation on disableAudioLevels HOT 2
- Documentation: Not documented statisticsId field HOT 4
- Avoid require cycle: RTC.js -> TraceablePeerConnection.js -> RTC.js HOT 1
- _lastVideoSenderUpdatePromise.finally is not a function
- Jitsi-JWT authentication - issue HOT 3
- lib-jitsi-meet/doc/example /index.html HOT 11
- API: Set user to Moderator | Set user to Guest HOT 3
- TypeError: _this.isCollectingLocalStats is not a function (it is undefined) HOT 18
- addRemoteStream failed: DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. Duplicate a=msid lines detected HOT 8
- MaxListenersExeededWarning: Possible EventEmitter memory leak detected NETWORK_INFO_CHANGED
- Start recording option not visible when the app is embedded HOT 3
- [rnsdk] External api module not added for SDK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib-jitsi-meet.