Partager via


getNominatedCandidatePair method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Retrieves the selected candidate pair on which media is flowing.

If there is no selected pair yet, or consent is lost on the selected pair, NULL is returned.

Syntax

var retval = RTCIceTransport.getNominatedCandidatePair();

Parameters

This method has no parameters.

Return value

Type: RTCIceCandidatePair

If there is no nominated pair yet, or consent is lost on the nominated pair, NULL is returned.

Standards information

RTCIceCandidatePair Dictionary

The RTCIceCandidatePair contains the currently selected ICE candidate pair.

dictionary RTCIceCandidatePair {
             RTCIceCandidate local;
             RTCIceCandidate remote;
};
Dictionary Member Type Description
local RTCIceCandidate The local ICE candidate.
remote RTCIceCandidate The remote ICE candidate.

 

See also

RTCIceTransport