Skip to content

Commit

Permalink
Fix typos in ice server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 authored Oct 21, 2021
1 parent d4bea08 commit 0ac19cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions draft-ietf-wish-whip.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ The WHIP endpoint MAY return ICE server configuration urls and credentials usabl

Each ICE server will be returned on a Link header with a "rel" attribribute value of "ice-server" where the Link target URI is the ICE server URL and the credentials are encoded in the Link target attributes as follows:

- username: If this the Link header represents a TURN server, and creadential-type is "password", then this attribute specifies the username to use with that TURN server.
- credential: If credentialType is "password", credential represents a long-term authentication password, as described in {{!RFC8489}}, Section 10.2.
- creadential-type: If this RTCIceServer object represents a TURN server, then this attribute specifies how credential should be used when that TURN server requests authorization. The default value if the attribute is not present is "password".
- username: If the Link header represents a TURN server, and creadential-type is "password", then this attribute specifies the username to use with that TURN server.
- credential: If credential-type attribute is misson or has a "password" value, the credential attribute represents a long-term authentication password, as described in {{!RFC8489}}, Section 10.2.
- credential-type: If the Link header represents represents a TURN server, then this attribute specifies how the credential attribute value should be used when that TURN server requests authorization. The default value if the attribute is not present is "password".

~~~~~
Link: stun:stun.example.net;
Link: stun:stun.example.net; rel="ice-server";
Link: turn:turn.example.net?transport=udp; rel="ice-server"; username="user"; credential: "myPassword"; credential-type: "password";
Link: turn:turn.example.net?transport=tcp; rel="ice-server"; username="user"; credential: "myPassword"; credential-type: "password";
Link: turns:turn.example.net?transport=tcp; rel="ice-server"; username="user"; credential: "myPassword"; credential-type: "password";
Expand Down

0 comments on commit 0ac19cc

Please sign in to comment.