Implement TURN server authentication with hmac
This is a prefered method to allow limited access to the TURN server
This commit is contained in:
parent
109892b4b7
commit
9fccbb014a
5 changed files with 88 additions and 7 deletions
|
@ -80,6 +80,8 @@ pub struct Config {
|
|||
turn_password: String,
|
||||
#[serde(default = "Vec::new")]
|
||||
turn_uris: Vec<String>,
|
||||
#[serde(default)]
|
||||
turn_secret: String,
|
||||
#[serde(default = "default_turn_ttl")]
|
||||
turn_ttl: u64,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue