Some Bugpatches
This commit is contained in:
parent
0d8890122b
commit
4d8c07a7e4
2 changed files with 6 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ pub fn create_token(user_id: i64, call_id: Uuid) -> Result<String, access_token:
|
|||
let token = access_token::AccessToken::with_api_key(&api_key, &api_secret)
|
||||
.with_identity(&user_id.to_string())
|
||||
.with_grants(access_token::VideoGrants {
|
||||
can_update_own_metadata: true,
|
||||
room_join: true,
|
||||
room: call_id.to_string(),
|
||||
..Default::default()
|
||||
|
|
|
|||
Loading…
Reference in a new issue