我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The RTCRtpContributingSource
interface of the the WebRTC API provides contains information about a given contributing source (CSRC) including the most recent time a packet that the source contributed was played out.
Properties
RTCRtpContributingSource.timestamp
Read only- Returns a
DOMHighResTimeStamp
indicating the most recent time of playout of an RTP packet from the source. RTCRtpContributingSource.source
Read only- Returns the CSRC identifier of the contributing source.
RTCRtpContributingSource.audioLevel
Read only- Indicates the audio level contained in the last RTP packet played from this source. audioLevel will be the level value defined in [RFC6465] if the RFC 6465 header extension is present, and otherwise null.
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCRtpContributingSource' in that specification. |
Working Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 59 | ? | ? | ? | ? |
audioLevel property |
No support | ? | ? | ? | ? |
source property |
59 | ? | ? | ? | ? |
timestamp property |
59 | ? | ? | ? | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 59 | 59 | ? | ? | ? | ? | ? |
audioLevel property |
No support | No support | ? | ? | ? | ? | ? |
source property |
59 | 59 | ? | ? | ? | ? | ? |
timestamp property |
59 | 59 | ? | ? | ? | ? | ? |