Issue #47: ICE candidate gathering policy

ORTC API has no equivalent of WebRTC 1.0's RTCIceTransports attribute that indicates what kind of local candidates are gathered (see Section 4.2.3). 

Proposed fix: 

partial interface RTCIceTransport {
                attribute RTCIceGatherPolicy        gatherPolicy;
}

enum RTCIceGatherPolicy {
    "all",
    "nohost",
    "relayonly"
};


"all": Gather all ICE candidate types.
"nohost":  Gather all ICE candidate types except for host candidates.
"relayonly":  Only gather media relay candidates such as candidates passing through a TURN server. This can be used to reduce leakage of IP addresses in certain use cases.

Received on Thursday, 10 April 2014 20:04:46 UTC