RTCIceCredentialType #222

Closed
aboba opened this Issue Jun 29, 2015 · 1 comment

Projects

None yet

1 participant

@aboba
Contributor
aboba commented Jun 29, 2015

WebRTC 1.0 has added support for RTCIceCredentialType to RTCIceServer:

dictionary RTCIceServer {
required (DOMString or sequence) urls;
DOMString username;
DOMString credential;
RTCIceCredentialType credentialType = "password";
};

enum RTCIceCredentialType {
"password",
"token"
};

Proposal is to add support into ORTC API as well.

@aboba aboba added the 1.0 label Jun 30, 2015
@aboba
Contributor
aboba commented Jun 30, 2015

Here is the proposed text additions:

2.12 enum RTCIceCredentialType

RTCIceCredentialType represents the type of credential used by a TURN server.

enum RTCIceCredentialType {
"password",
"token"
};

Enumeration description

password
The credential is a long-term authentication password, as described in [RFC5389], Section 10.2.

token
The credential is an access token, as described in [TRAM-TURN-THIRD-PARTY-AUTHZ], Section 6.2.

2.13 The RTCIceServer Object

The RTCIceServer is used to provide STUN or TURN server configuration. In network topologies with multiple layers of NATs, it is desirable to have a STUN server between every layer of NATs in addition to the TURN servers to minimize the peer to peer network latency.

An example of an array of RTCIceServer objects:

Example 2
[ { urls: "stun:stun1.example.net" } , { urls:"turn:turn.example.org", username: "user", credential:"myPassword"} ]

dictionary RTCIceServer {
(DOMString or sequence) urls;
DOMString username;
DOMString credential;
RTCIceCredentialType credentialType = "password";
};

Dictionary RTCIceServer Members
credential of type DOMString,
If this RTCIceServer represents a TURN server, then this attribute specifies the credential to use with that TURN server.

credentialType of type RTCIceCredentialType, , defaulting to "password"
If this RTCIceServer object represents a TURN Server, then this attribute specifies how credential should be used when that TURN server requests authorization.

urls of type (DOMString or sequence),
STUN or TURN URI(s) as defined in [RFC7064] and [RFC7065] or other URI types.

username of type DOMString,
If this RTCIceServer object represents a TURN server, then this attribute specifies the username to use with that TURN server.

@robin-raymond robin-raymond pushed a commit that referenced this issue Sep 8, 2015
Robin Raymond - Added the "failed" state to RTCDtlsTransportState, as noted in:
#219

- Added support for WebRTC 1.0 RTCIceCredentialType, as noted in:
#222

- Clarified behavior of createAssociatedGatherer(), as noted in:
#223

- Fixed SCTP port numbers, as noted in:
#227
2e5238d
@robin-raymond robin-raymond pushed a commit that referenced this issue Sep 21, 2015
Robin Raymond Added support for the WebRTC 1.0 certificate management API, as noted…
… in: Issue #195

Added certificate argument to the RTCDtlsTransport constructor, as noted in: Issue #218
Added the "failed" state to RTCDtlsTransportState, as noted in: Issue #219
Changed getNominatedCandidatePair to getSelectedCandidatePair, as noted in: Issue #220
Added support for WebRTC 1.0 RTCIceCredentialType, as noted in: Issue #222
Clarified behavior of createAssociatedGatherer(), as noted in: Issue #223
Changed spelling from "iceservers" to "iceServers" for consistency with WebRTC 1.0, as noted in: Issue #225
Added support for SCTP port numbers, as noted in: Issue #227
Changed "outbound-rtp" to "outboundrtp" within the Statistics API, as noted in: Issue #229
Changed maxPacketLifetime and maxRetransmits from unsigned short to unsigned long, as noted in: Issue #231
Clarified DataChannel negotiation, as noted in: Issue #233
Added getContributingSources() method, as noted in: Issue #236
Fixes to Examples 5 and 6, as noted in: Issue 237 and Issue #239
Fixed cut and paste errors in Example 11, as noted in: Issue #241
674f156
@aboba aboba closed this Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment