peers / peerjs

Simple peer-to-peer with WebRTC.
https://peerjs.com
MIT License
12.48k stars 1.43k forks source link

Is there a way to use googCpuOveruseDetection option #732

Open Nodalailama opened 4 years ago

Nodalailama commented 4 years ago

Hi,

I need to force a connection to not adjust the resolution of a stream, it seem that "googCpuOveruseDetection" option could do the trick.

Is they a way to add peerConnection constraints ... like those:

googIPv6 - enables support of IPv6 for Chrome (should also work in latest Firefox) googImprovedWifiBwe - Chrome has bandwidth estimation algorithm, and this flag enables improved (but experimental) version of the algorithm. In the latest version of Chrome this flag is on by default, - the experiment was successful. googDscp - enables DSCP googScreencastMinBitrate - Used by Hangouts application. Sets the minimum bitrate for screensharing. googCpuOveruseDetection - if enabled, Chrome will lower outgoing video quality and video resolution googCpuUnderuseThreshold - the min CPU load (percents), used in pair with googCpuOveruseDetection googCpuOverUseThreshold - the max CPU (percents), used in pair with googCpuOveruseDetection googCpuOveruseEncodeUsage - don't know googSuspendBelowMinBitrate - the minimal bitrate for considering session is alive (not sure) googCombinedAudioVideoBwe - don't know

Cordialement,

wilywork commented 4 years ago

+1