mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server,openvidu-node-client: Typos and missing parameter in openvidu-node-client for IceServerProperties
parent
ead3252ce7
commit
d32aefb900
|
@ -129,9 +129,12 @@ public class IceServerProperties {
|
|||
|
||||
/**
|
||||
* Secret for TURN authentication based on:
|
||||
* - https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00
|
||||
* - https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf
|
||||
* This will generate credentials valid for 24 hours which is the recommended value
|
||||
* <ul>
|
||||
* <li><a href="https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00" target="_blank">https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00</a></li>
|
||||
* <li><a href="https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf" target="_blank">https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf</a></li>
|
||||
* </ul>
|
||||
* This will generate credentials valid for 24 hours which is the recommended value. You need to setup in your TURN service this same secret value
|
||||
* which uses HMAC SHA1 as encryption algorithm. A TURN implementation which by default uses this is COTURN with static-auth-secret parameter.
|
||||
*/
|
||||
public IceServerProperties.Builder staticAuthSecret(String staticAuthSecret) {
|
||||
this.staticAuthSecret = staticAuthSecret;
|
||||
|
|
|
@ -27,6 +27,14 @@ export interface IceServerProperties {
|
|||
*/
|
||||
url: string;
|
||||
|
||||
/**
|
||||
* Secret for TURN authentication based on:
|
||||
* - [https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00](https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00)
|
||||
* - [https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf](https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf)
|
||||
* This will generate credentials valid for 24 hours which is the recommended value
|
||||
*/
|
||||
staticAuthSecret?: string;
|
||||
|
||||
/**
|
||||
* Set a username for the ICE Server you want to use.
|
||||
* This parameter should be defined only for TURN, not for STUN ICE Servers.
|
||||
|
|
Loading…
Reference in New Issue