只读
source
特性为
RTCRtpContributingSource
interface returns the source identifier of a particular stream of RTP packets.
The value is the contributing source (CSRC) or synchronization source (SSRC) identifier, depending on whether the object is an
RTCRtpContributingSource
or
RTCRtpSynchronizationSource
, which is based on the former.
var sourceID = RTCRtpContributingSource.source
An unsigned, 32-bit integer value which uniquely identifies the source of RTP packets described by this
RTCRtpContributingSource
(in which case the value is a CSRC identifier) or
RTCRtpSynchronizationSource
(the value is an SSRC identifier).
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'source' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
完整支持
不支持
兼容性未知
用户必须明确启用此特征。