Skip to content

Commit

Permalink
fix saving signed_tokens field when room is permanent
Browse files Browse the repository at this point in the history
  • Loading branch information
Timofey S committed Jan 4, 2022
1 parent f2cd392 commit 8c015cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -3445,6 +3445,8 @@ static json_t *janus_videoroom_process_synchronous_request(janus_videoroom_sessi
janus_config_add(config, c, janus_config_item_create("is_private", "yes"));
if(videoroom->require_pvtid)
janus_config_add(config, c, janus_config_item_create("require_pvtid", "yes"));
if(videoroom->signed_tokens)
janus_config_add(config, c, janus_config_item_create("signed_tokens", "yes"));
if(videoroom->require_e2ee)
janus_config_add(config, c, janus_config_item_create("require_e2ee", "yes"));
g_snprintf(value, BUFSIZ, "%"SCNu32, videoroom->bitrate);
Expand Down

0 comments on commit 8c015cd

Please sign in to comment.