-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: high CPU on Chrome with low fps screen sharing (#1570)
* fix: high CPU on Chrome with low fps screen sharing It turns out that if 5 fps is set on the track constraints, Chrome will capture the original video in 30 fps and only further down the pipeline will downsample it to 5 fps. This results in very high CPU usage. Specify max FPS in getDisplayMedia to fix the problem. Getting rid of track.applyConstraints should also fix another issue on Firefox where it reports 0x0 screen size after this call. * ref(RTCUtils): remove trackOptions * remove extra &&
- Loading branch information
1 parent
0dc1540
commit ada0f5e
Showing
2 changed files
with
23 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters