RTCIceProtocol

The WebRTC API's RTCIceProtocol enumerated type provides a set of DOMString values representing the names of the transport protocols ICE candidates can use. These strings are taken directly from the candidate a-line in SDP.

Values

tcp
The candidate, if selected, would use TCP as the transport protocol for its data. The tcpType property provides additional information about the kind of TCP candidate represented by the object.
udp
The candidate will use the UDP transport protocol for its data. This is the preferred protocol for media interactions because of its better performance profile.

Usage notes

The RTCIceProtocol type is used by the protocol property of RTCIceCandidate objects.

Specifications

No specification found

No specification data found for api.RTCIceProtocol.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

No compatibility data found for api.RTCIceProtocol.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.