这些实验goog-RTCPeerConnectionConstraints的作用是什么?

时间:2015-06-23 13:19:37

标签: google-chrome webrtc

从各种示例,网站,论坛,讨论和源代码中,我编制了此实验性Google RTCPeerConnection约束列表。他们每个人在WebRTC RTCPeerConnection的上下文中做了什么?

peerConnectionConstraints:
    optional: [
        #goog experimental
        { googIPv6: true }
        { googImprovedWifiBwe: true }
        { googDscp: true }
        { googSuspendBelowMinBitrate: true }
        { googScreencastMinBitrate:400 }
        { googCombinedAudioVideoBwe: true }
        { googCpuOveruseDetection: true }
        { googCpuOveruseEncodeUsage: true }
        { googCpuUnderuseThreshold: 55 }
        { googCpuOverUseThreshold: 85 }
    ]

1 个答案:

答案 0 :(得分:3)

大多数这些选项都没有记录。其中一些用于Google的产品,例如环聊。

googIPv6 - 支持Chrome for Chrome(也应该在最新的Firefox中使用)

googImprovedWifiBwe - Chrome具有带宽估算算法,此标志可以改进(但是实验性的)算法版本。在最新版本的Chrome中,默认情况下此标志处于启用状态 实验成功了。

googDscp - 启用DSCP

googScreencastMinBitrate - 由环聊应用使用。设置屏幕共享的最小比特率。

googCpuOveruseDetection - 如果启用,Chrome会降低传出视频质量和视频分辨率

googCpuUnderuseThreshold - 最小CPU负载(百分比),与googCpuOveruseDetection配对使用

googCpuOverUseThreshold - 与googCpuOveruseDetection配对使用的最大CPU(百分比)

googCpuOveruseEncodeUsage - 不知道

googSuspendBelowMinBitrate - 考虑会话的最小比特率是否存在(不确定)

googCombinedAudioVideoBwe - 不知道