RTCRtpContributingSource dictionary of the the WebRTC API 用于 getContributingSources() to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out.

The information provided is based on the last ten seconds of media received.

特性

audioLevel 可选

A double-precision floating-point value between 0 and 1 specifying the audio level contained in the last RTP packet played from this source.

rtpTimestamp 可选
The RTP timestamp of the media played out at the time indicated by timestamp . This value is a source-generated time value which can be used to help with sequencing and synchronization.
source 可选

A 32-bit unsigned integer value specifying the CSRC identifier of the contributing source.

timestamp 可选
DOMHighResTimeStamp indicating the most recent time at which a frame originating from this source was delivered to the receiver's MediaStreamTrack

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCRtpContributingSource' in that specification.
候选推荐 初始定义。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
RTCRtpContributingSource Chrome 59 Edge ≤79 Firefox 59 IE 不支持 No Opera 不支持 No Safari ? WebView Android 59 Chrome Android 59 Firefox Android 59 Opera Android 不支持 No Safari iOS ? Samsung Internet Android 7.0
audioLevel Chrome 不支持 No Edge 不支持 No Firefox 59 IE 不支持 No Opera 不支持 No Safari ? WebView Android 不支持 No Chrome Android 不支持 No Firefox Android 59 Opera Android 不支持 No Safari iOS ? Samsung Internet Android 不支持 No
source Chrome 59 Edge ≤79 Firefox 59 IE 不支持 No Opera 不支持 No Safari ? WebView Android 59 Chrome Android 59 Firefox Android 59 Opera Android 不支持 No Safari iOS ? Samsung Internet Android 7.0
timestamp Chrome 59 Edge ≤79 Firefox 59 注意事项 Disabled
59 注意事项 Disabled
Starting in version 60, the timestamp is correctly computed based on the window's 性能 time, rather than Date.getTime() .
Disabled ). To change preferences in Firefox, visit about:config.
IE 不支持 No Opera 不支持 No Safari ? WebView Android 59 Chrome Android 59 Firefox Android 59 注意事项 Disabled
59 注意事项 Disabled
Starting in version 60, the timestamp is correctly computed based on the window's 性能 time, rather than Date.getTime() .
Disabled ). To change preferences in Firefox, visit about:config.
Opera Android 不支持 No Safari iOS ? Samsung Internet Android 7.0

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

见实现注意事项。

用户必须明确启用此特征。

用户必须明确启用此特征。

元数据

  • 最后修改: