The WebRTC API's RTCIceComponent
enumerated type contains DOMString
values that each identify a specific ICE component; these are "rtp"
and "rtcp"
. These strings are mapped to corresponding numeric values as they appear in the candidate
a-line in SDP.
"rtp"
RTCIceComponent
of this value corresponds to the component ID field in the candidate
a-line with the value 1."rtcp"
RTCIceComponent
corresponds to the component ID 2.The RTCIceComponent
type is used by the component
property of RTCIceCandidate
and RTCIceTransport
objects.
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCIceComponent' in that specification. | Candidate Recommendation | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | No | ? | No | No | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | No | No | ? | No | ? | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceComponent